Package com.google.genai.types
Class PreferenceOptimizationDataStats
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.PreferenceOptimizationDataStats
Statistics computed for datasets used for preference optimization.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Builder for PreferenceOptimizationDataStats. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Instantiates a builder for PreferenceOptimizationDataStats.Deserializes a JSON string to a PreferenceOptimizationDataStats object.abstract Optional<DatasetDistribution>
Output only.abstract Optional<DatasetDistribution>
Output only.Creates a builder with the same values as this instance.Output only.Output only.Output only.abstract Optional<List<GeminiPreferenceExample>>
Output only.abstract Optional<DatasetDistribution>
Output only.abstract Optional<DatasetDistribution>
Output only.Methods inherited from class com.google.genai.JsonSerializable
stringToJsonNode, toJson
-
Constructor Details
-
PreferenceOptimizationDataStats
public PreferenceOptimizationDataStats()
-
-
Method Details
-
scoreVariancePerExampleDistribution
Output only. Dataset distributions for scores variance per example. -
scoresDistribution
Output only. Dataset distributions for scores. -
totalBillableTokenCount
Output only. Number of billable tokens in the tuning dataset. -
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 examples in the training dataset. -
userInputTokenDistribution
Output only. Dataset distributions for the user input tokens. -
userOutputTokenDistribution
Output only. Dataset distributions for the user output tokens. -
builder
Instantiates a builder for PreferenceOptimizationDataStats. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a PreferenceOptimizationDataStats object.
-