Class SupervisedTuningDataStats.Builder
- Enclosing class:
- SupervisedTuningDataStats
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract SupervisedTuningDataStatsbuild()Clears the value of droppedExampleReasons field.Clears the value of totalBillableCharacterCount field.Clears the value of totalBillableTokenCount field.Clears the value of totalTruncatedExampleCount field.Clears the value of totalTuningCharacterCount field.Clears the value of truncatedExampleIndices field.Clears the value of tuningDatasetExampleCount field.Clears the value of tuningStepCount field.Clears the value of userDatasetExamples field.Clears the value of userInputTokenDistribution field.Clears the value of userMessagePerExampleDistribution field.Clears the value of userOutputTokenDistribution field.droppedExampleReasons(String... droppedExampleReasons) Setter for droppedExampleReasons.abstract SupervisedTuningDataStats.BuilderdroppedExampleReasons(List<String> droppedExampleReasons) Setter for droppedExampleReasons.abstract SupervisedTuningDataStats.BuildertotalBillableCharacterCount(Long totalBillableCharacterCount) Setter for totalBillableCharacterCount.abstract SupervisedTuningDataStats.BuildertotalBillableTokenCount(Long totalBillableTokenCount) Setter for totalBillableTokenCount.abstract SupervisedTuningDataStats.BuildertotalTruncatedExampleCount(Long totalTruncatedExampleCount) Setter for totalTruncatedExampleCount.abstract SupervisedTuningDataStats.BuildertotalTuningCharacterCount(Long totalTuningCharacterCount) Setter for totalTuningCharacterCount.truncatedExampleIndices(Long... truncatedExampleIndices) Setter for truncatedExampleIndices.abstract SupervisedTuningDataStats.BuildertruncatedExampleIndices(List<Long> truncatedExampleIndices) Setter for truncatedExampleIndices.abstract SupervisedTuningDataStats.BuildertuningDatasetExampleCount(Long tuningDatasetExampleCount) Setter for tuningDatasetExampleCount.abstract SupervisedTuningDataStats.BuildertuningStepCount(Long tuningStepCount) Setter for tuningStepCount.userDatasetExamples(Content... userDatasetExamples) Setter for userDatasetExamples.userDatasetExamples(Content.Builder... userDatasetExamplesBuilders) Setter for userDatasetExamples builder.abstract SupervisedTuningDataStats.BuilderuserDatasetExamples(List<Content> userDatasetExamples) Setter for userDatasetExamples.abstract SupervisedTuningDataStats.BuilderuserInputTokenDistribution(SupervisedTuningDatasetDistribution userInputTokenDistribution) Setter for userInputTokenDistribution.userInputTokenDistribution(SupervisedTuningDatasetDistribution.Builder userInputTokenDistributionBuilder) Setter for userInputTokenDistribution builder.abstract SupervisedTuningDataStats.BuilderuserMessagePerExampleDistribution(SupervisedTuningDatasetDistribution userMessagePerExampleDistribution) Setter for userMessagePerExampleDistribution.userMessagePerExampleDistribution(SupervisedTuningDatasetDistribution.Builder userMessagePerExampleDistributionBuilder) Setter for userMessagePerExampleDistribution builder.abstract SupervisedTuningDataStats.BuilderuserOutputTokenDistribution(SupervisedTuningDatasetDistribution userOutputTokenDistribution) Setter for userOutputTokenDistribution.userOutputTokenDistribution(SupervisedTuningDatasetDistribution.Builder userOutputTokenDistributionBuilder) Setter for userOutputTokenDistribution builder.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
droppedExampleReasons
public abstract SupervisedTuningDataStats.Builder droppedExampleReasons(List<String> droppedExampleReasons) Setter for droppedExampleReasons.droppedExampleReasons: Output only. For each index in `truncated_example_indices`, the user-facing reason why the example was dropped.
-
droppedExampleReasons
@CanIgnoreReturnValue public SupervisedTuningDataStats.Builder droppedExampleReasons(String... droppedExampleReasons) Setter for droppedExampleReasons.droppedExampleReasons: Output only. For each index in `truncated_example_indices`, the user-facing reason why the example was dropped.
-
clearDroppedExampleReasons
Clears the value of droppedExampleReasons field. -
totalBillableCharacterCount
public abstract SupervisedTuningDataStats.Builder totalBillableCharacterCount(Long totalBillableCharacterCount) Setter for totalBillableCharacterCount.totalBillableCharacterCount: Output only. Number of billable characters in the tuning dataset.
-
clearTotalBillableCharacterCount
Clears the value of totalBillableCharacterCount field. -
totalBillableTokenCount
public abstract SupervisedTuningDataStats.Builder totalBillableTokenCount(Long totalBillableTokenCount) Setter for totalBillableTokenCount.totalBillableTokenCount: Output only. Number of billable tokens in the tuning dataset.
-
clearTotalBillableTokenCount
Clears the value of totalBillableTokenCount field. -
totalTruncatedExampleCount
public abstract SupervisedTuningDataStats.Builder totalTruncatedExampleCount(Long totalTruncatedExampleCount) Setter for totalTruncatedExampleCount.totalTruncatedExampleCount: Output only. The number of examples in the dataset that have been dropped. An example can be dropped for reasons including: too many tokens, contains an invalid image, contains too many images, etc.
-
clearTotalTruncatedExampleCount
Clears the value of totalTruncatedExampleCount field. -
totalTuningCharacterCount
public abstract SupervisedTuningDataStats.Builder totalTuningCharacterCount(Long totalTuningCharacterCount) Setter for totalTuningCharacterCount.totalTuningCharacterCount: Output only. Number of tuning characters in the tuning dataset.
-
clearTotalTuningCharacterCount
Clears the value of totalTuningCharacterCount field. -
truncatedExampleIndices
public abstract SupervisedTuningDataStats.Builder truncatedExampleIndices(List<Long> truncatedExampleIndices) Setter for truncatedExampleIndices.truncatedExampleIndices: Output only. A partial sample of the indices (starting from 1) of the dropped examples.
-
truncatedExampleIndices
@CanIgnoreReturnValue public SupervisedTuningDataStats.Builder truncatedExampleIndices(Long... truncatedExampleIndices) Setter for truncatedExampleIndices.truncatedExampleIndices: Output only. A partial sample of the indices (starting from 1) of the dropped examples.
-
clearTruncatedExampleIndices
Clears the value of truncatedExampleIndices field. -
tuningDatasetExampleCount
public abstract SupervisedTuningDataStats.Builder tuningDatasetExampleCount(Long tuningDatasetExampleCount) Setter for tuningDatasetExampleCount.tuningDatasetExampleCount: Output only. Number of examples in the tuning dataset.
-
clearTuningDatasetExampleCount
Clears the value of tuningDatasetExampleCount field. -
tuningStepCount
Setter for tuningStepCount.tuningStepCount: Output only. Number of tuning steps for this Tuning Job.
-
clearTuningStepCount
Clears the value of tuningStepCount field. -
userDatasetExamples
public abstract SupervisedTuningDataStats.Builder userDatasetExamples(List<Content> userDatasetExamples) Setter for userDatasetExamples.userDatasetExamples: Output only. Sample user messages in the training dataset uri.
-
userDatasetExamples
@CanIgnoreReturnValue public SupervisedTuningDataStats.Builder userDatasetExamples(Content... userDatasetExamples) Setter for userDatasetExamples.userDatasetExamples: Output only. Sample user messages in the training dataset uri.
-
userDatasetExamples
@CanIgnoreReturnValue public SupervisedTuningDataStats.Builder userDatasetExamples(Content.Builder... userDatasetExamplesBuilders) Setter for userDatasetExamples builder.userDatasetExamples: Output only. Sample user messages in the training dataset uri.
-
clearUserDatasetExamples
Clears the value of userDatasetExamples field. -
userInputTokenDistribution
public abstract SupervisedTuningDataStats.Builder userInputTokenDistribution(SupervisedTuningDatasetDistribution userInputTokenDistribution) Setter for userInputTokenDistribution.userInputTokenDistribution: Output only. Dataset distributions for the user input tokens.
-
userInputTokenDistribution
@CanIgnoreReturnValue public SupervisedTuningDataStats.Builder userInputTokenDistribution(SupervisedTuningDatasetDistribution.Builder userInputTokenDistributionBuilder) Setter for userInputTokenDistribution builder.userInputTokenDistribution: Output only. Dataset distributions for the user input tokens.
-
clearUserInputTokenDistribution
Clears the value of userInputTokenDistribution field. -
userMessagePerExampleDistribution
public abstract SupervisedTuningDataStats.Builder userMessagePerExampleDistribution(SupervisedTuningDatasetDistribution userMessagePerExampleDistribution) Setter for userMessagePerExampleDistribution.userMessagePerExampleDistribution: Output only. Dataset distributions for the messages per example.
-
userMessagePerExampleDistribution
@CanIgnoreReturnValue public SupervisedTuningDataStats.Builder userMessagePerExampleDistribution(SupervisedTuningDatasetDistribution.Builder userMessagePerExampleDistributionBuilder) Setter for userMessagePerExampleDistribution builder.userMessagePerExampleDistribution: Output only. Dataset distributions for the messages per example.
-
clearUserMessagePerExampleDistribution
@CanIgnoreReturnValue public SupervisedTuningDataStats.Builder clearUserMessagePerExampleDistribution()Clears the value of userMessagePerExampleDistribution field. -
userOutputTokenDistribution
public abstract SupervisedTuningDataStats.Builder userOutputTokenDistribution(SupervisedTuningDatasetDistribution userOutputTokenDistribution) Setter for userOutputTokenDistribution.userOutputTokenDistribution: Output only. Dataset distributions for the user output tokens.
-
userOutputTokenDistribution
@CanIgnoreReturnValue public SupervisedTuningDataStats.Builder userOutputTokenDistribution(SupervisedTuningDatasetDistribution.Builder userOutputTokenDistributionBuilder) Setter for userOutputTokenDistribution builder.userOutputTokenDistribution: Output only. Dataset distributions for the user output tokens.
-
clearUserOutputTokenDistribution
Clears the value of userOutputTokenDistribution field. -
build
-