Interface EvaluationDataset.Builder

    • Method Detail

      • name

        EvaluationDataset.Builder name​(String name)

        Used to specify supported built-in prompt datasets. Valid values are Builtin.Bold, Builtin.BoolQ, Builtin.NaturalQuestions, Builtin.Gigaword, Builtin.RealToxicityPrompts, Builtin.TriviaQA, Builtin.T-Rex, Builtin.WomensEcommerceClothingReviews and Builtin.Wikitext2.

        Parameters:
        name - Used to specify supported built-in prompt datasets. Valid values are Builtin.Bold, Builtin.BoolQ, Builtin.NaturalQuestions, Builtin.Gigaword, Builtin.RealToxicityPrompts, Builtin.TriviaQA, Builtin.T-Rex, Builtin.WomensEcommerceClothingReviews and Builtin.Wikitext2.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • datasetLocation

        EvaluationDataset.Builder datasetLocation​(EvaluationDatasetLocation datasetLocation)

        For custom prompt datasets, you must specify the location in Amazon S3 where the prompt dataset is saved.

        Parameters:
        datasetLocation - For custom prompt datasets, you must specify the location in Amazon S3 where the prompt dataset is saved.
        Returns:
        Returns a reference to this object so that method calls can be chained together.