Class SupervisedTuningDataStats.Builder
-
- All Implemented Interfaces:
public abstract class SupervisedTuningDataStats.BuilderBuilder for SupervisedTuningDataStats.
-
-
Constructor Summary
Constructors Constructor Description SupervisedTuningDataStats.Builder()
-
Method Summary
-
-
Method Detail
-
droppedExampleReasons
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() SupervisedTuningDataStats.Builder droppedExampleReasons(Array<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
@CanIgnoreReturnValue() SupervisedTuningDataStats.Builder clearDroppedExampleReasons()
Clears the value of droppedExampleReasons field.
-
totalBillableCharacterCount
abstract SupervisedTuningDataStats.Builder totalBillableCharacterCount(Long totalBillableCharacterCount)
Setter for totalBillableCharacterCount.
totalBillableCharacterCount: Output only. Number of billable characters in the tuning dataset.
-
clearTotalBillableCharacterCount
@CanIgnoreReturnValue() SupervisedTuningDataStats.Builder clearTotalBillableCharacterCount()
Clears the value of totalBillableCharacterCount field.
-
totalBillableTokenCount
abstract SupervisedTuningDataStats.Builder totalBillableTokenCount(Long totalBillableTokenCount)
Setter for totalBillableTokenCount.
totalBillableTokenCount: Output only. Number of billable tokens in the tuning dataset.
-
clearTotalBillableTokenCount
@CanIgnoreReturnValue() SupervisedTuningDataStats.Builder clearTotalBillableTokenCount()
Clears the value of totalBillableTokenCount field.
-
totalTruncatedExampleCount
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
@CanIgnoreReturnValue() SupervisedTuningDataStats.Builder clearTotalTruncatedExampleCount()
Clears the value of totalTruncatedExampleCount field.
-
totalTuningCharacterCount
abstract SupervisedTuningDataStats.Builder totalTuningCharacterCount(Long totalTuningCharacterCount)
Setter for totalTuningCharacterCount.
totalTuningCharacterCount: Output only. Number of tuning characters in the tuning dataset.
-
clearTotalTuningCharacterCount
@CanIgnoreReturnValue() SupervisedTuningDataStats.Builder clearTotalTuningCharacterCount()
Clears the value of totalTuningCharacterCount field.
-
truncatedExampleIndices
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() SupervisedTuningDataStats.Builder truncatedExampleIndices(Array<Long> truncatedExampleIndices)
Setter for truncatedExampleIndices.
truncatedExampleIndices: Output only. A partial sample of the indices (starting from 1) of the dropped examples.
-
clearTruncatedExampleIndices
@CanIgnoreReturnValue() SupervisedTuningDataStats.Builder clearTruncatedExampleIndices()
Clears the value of truncatedExampleIndices field.
-
tuningDatasetExampleCount
abstract SupervisedTuningDataStats.Builder tuningDatasetExampleCount(Long tuningDatasetExampleCount)
Setter for tuningDatasetExampleCount.
tuningDatasetExampleCount: Output only. Number of examples in the tuning dataset.
-
clearTuningDatasetExampleCount
@CanIgnoreReturnValue() SupervisedTuningDataStats.Builder clearTuningDatasetExampleCount()
Clears the value of tuningDatasetExampleCount field.
-
tuningStepCount
abstract SupervisedTuningDataStats.Builder tuningStepCount(Long tuningStepCount)
Setter for tuningStepCount.
tuningStepCount: Output only. Number of tuning steps for this Tuning Job.
-
clearTuningStepCount
@CanIgnoreReturnValue() SupervisedTuningDataStats.Builder clearTuningStepCount()
Clears the value of tuningStepCount field.
-
userDatasetExamples
abstract SupervisedTuningDataStats.Builder userDatasetExamples(List<Content> userDatasetExamples)
Setter for userDatasetExamples.
userDatasetExamples: Output only. Sample user messages in the training dataset uri.
-
userDatasetExamples
@CanIgnoreReturnValue() SupervisedTuningDataStats.Builder userDatasetExamples(Array<Content> userDatasetExamples)
Setter for userDatasetExamples.
userDatasetExamples: Output only. Sample user messages in the training dataset uri.
-
userDatasetExamples
@CanIgnoreReturnValue() SupervisedTuningDataStats.Builder userDatasetExamples(Array<Content.Builder> userDatasetExamplesBuilders)
Setter for userDatasetExamples builder.
userDatasetExamples: Output only. Sample user messages in the training dataset uri.
-
clearUserDatasetExamples
@CanIgnoreReturnValue() SupervisedTuningDataStats.Builder clearUserDatasetExamples()
Clears the value of userDatasetExamples field.
-
userInputTokenDistribution
abstract SupervisedTuningDataStats.Builder userInputTokenDistribution(SupervisedTuningDatasetDistribution userInputTokenDistribution)
Setter for userInputTokenDistribution.
userInputTokenDistribution: Output only. Dataset distributions for the user input tokens.
-
userInputTokenDistribution
@CanIgnoreReturnValue() SupervisedTuningDataStats.Builder userInputTokenDistribution(SupervisedTuningDatasetDistribution.Builder userInputTokenDistributionBuilder)
Setter for userInputTokenDistribution builder.
userInputTokenDistribution: Output only. Dataset distributions for the user input tokens.
-
clearUserInputTokenDistribution
@CanIgnoreReturnValue() SupervisedTuningDataStats.Builder clearUserInputTokenDistribution()
Clears the value of userInputTokenDistribution field.
-
userMessagePerExampleDistribution
abstract SupervisedTuningDataStats.Builder userMessagePerExampleDistribution(SupervisedTuningDatasetDistribution userMessagePerExampleDistribution)
Setter for userMessagePerExampleDistribution.
userMessagePerExampleDistribution: Output only. Dataset distributions for the messages per example.
-
userMessagePerExampleDistribution
@CanIgnoreReturnValue() SupervisedTuningDataStats.Builder userMessagePerExampleDistribution(SupervisedTuningDatasetDistribution.Builder userMessagePerExampleDistributionBuilder)
Setter for userMessagePerExampleDistribution builder.
userMessagePerExampleDistribution: Output only. Dataset distributions for the messages per example.
-
clearUserMessagePerExampleDistribution
@CanIgnoreReturnValue() SupervisedTuningDataStats.Builder clearUserMessagePerExampleDistribution()
Clears the value of userMessagePerExampleDistribution field.
-
userOutputTokenDistribution
abstract SupervisedTuningDataStats.Builder userOutputTokenDistribution(SupervisedTuningDatasetDistribution userOutputTokenDistribution)
Setter for userOutputTokenDistribution.
userOutputTokenDistribution: Output only. Dataset distributions for the user output tokens.
-
userOutputTokenDistribution
@CanIgnoreReturnValue() SupervisedTuningDataStats.Builder userOutputTokenDistribution(SupervisedTuningDatasetDistribution.Builder userOutputTokenDistributionBuilder)
Setter for userOutputTokenDistribution builder.
userOutputTokenDistribution: Output only. Dataset distributions for the user output tokens.
-
clearUserOutputTokenDistribution
@CanIgnoreReturnValue() SupervisedTuningDataStats.Builder clearUserOutputTokenDistribution()
Clears the value of userOutputTokenDistribution field.
-
build
abstract SupervisedTuningDataStats build()
-
-
-
-