Package com.google.genai.types
Class SupervisedTuningDataStats
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.SupervisedTuningDataStats
Tuning data statistics for Supervised Tuning.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Builder for SupervisedTuningDataStats. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Instantiates a builder for SupervisedTuningDataStats.Output only.static SupervisedTuningDataStats
Deserializes a JSON string to a SupervisedTuningDataStats object.abstract SupervisedTuningDataStats.Builder
Creates a builder with the same values as this instance.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.abstract Optional<SupervisedTuningDatasetDistribution>
Output only.abstract Optional<SupervisedTuningDatasetDistribution>
Output only.abstract Optional<SupervisedTuningDatasetDistribution>
Output only.Methods inherited from class com.google.genai.JsonSerializable
stringToJsonNode, toJson
-
Constructor Details
-
SupervisedTuningDataStats
public SupervisedTuningDataStats()
-
-
Method Details
-
droppedExampleReasons
Output only. For each index in `truncated_example_indices`, the user-facing reason why the example was dropped. -
totalBillableCharacterCount
Output only. Number of billable characters in the tuning dataset. -
totalBillableTokenCount
Output only. Number of billable tokens in the tuning dataset. -
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. -
totalTuningCharacterCount
Output only. Number of tuning characters in the tuning dataset. -
truncatedExampleIndices
Output only. A partial sample of the indices (starting from 1) of the dropped examples. -
tuningDatasetExampleCount
Output only. Number of examples in the tuning dataset. -
tuningStepCount
Output only. Number of tuning steps for this Tuning Job. -
userDatasetExamples
Output only. Sample user messages in the training dataset uri. -
userInputTokenDistribution
Output only. Dataset distributions for the user input tokens. -
userMessagePerExampleDistribution
Output only. Dataset distributions for the messages per example. -
userOutputTokenDistribution
Output only. Dataset distributions for the user output tokens. -
builder
Instantiates a builder for SupervisedTuningDataStats. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a SupervisedTuningDataStats object.
-