DatasetStats

@Serializable
data class DatasetStats(val droppedExampleIndices: List<Long>? = null, val droppedExampleReasons: List<String>? = null, val totalBillableCharacterCount: Long? = null, val totalTuningCharacterCount: Long? = null, val tuningDatasetExampleCount: Long? = null, val tuningStepCount: Long? = null, val userDatasetExamples: List<Content>? = null, val userInputTokenDistribution: DatasetDistribution? = null, val userMessagePerExampleDistribution: DatasetDistribution? = null, val userOutputTokenDistribution: DatasetDistribution? = null, val contentsPerExampleDistribution: DatasetDistribution? = null, val reinforcementTuningUserDatasetExamples: ReinforcementTuningUserDatasetExamples? = null, val totalBillableTokenCount: Long? = null)

Statistics computed over a tuning dataset. This data type is not supported in Gemini API.

Constructors

Link copied to clipboard
constructor(droppedExampleIndices: List<Long>? = null, droppedExampleReasons: List<String>? = null, totalBillableCharacterCount: Long? = null, totalTuningCharacterCount: Long? = null, tuningDatasetExampleCount: Long? = null, tuningStepCount: Long? = null, userDatasetExamples: List<Content>? = null, userInputTokenDistribution: DatasetDistribution? = null, userMessagePerExampleDistribution: DatasetDistribution? = null, userOutputTokenDistribution: DatasetDistribution? = null, contentsPerExampleDistribution: DatasetDistribution? = null, reinforcementTuningUserDatasetExamples: ReinforcementTuningUserDatasetExamples? = null, totalBillableTokenCount: Long? = null)

Properties

Link copied to clipboard

Output only. Dataset distributions for the number of contents per example.

Link copied to clipboard

Output only. A partial sample of the indices (starting from 1) of the dropped examples.

Link copied to clipboard

Output only. For each index in dropped_example_indices, the user-facing reason why the example was dropped.

Link copied to clipboard

Output only. Sample user dataset examples in the training dataset uri for Reinforcement Tuning.

Link copied to clipboard

Output only. Number of billable characters in the tuning dataset.

Link copied to clipboard

Output only. Number of billable tokens in the tuning dataset.

Link copied to clipboard

Output only. Number of tuning characters in the tuning dataset.

Link copied to clipboard

Output only. Number of examples in the tuning dataset.

Link copied to clipboard
val tuningStepCount: Long? = null

Output only. Number of tuning steps for this Tuning Job.

Link copied to clipboard

Output only. Sample user messages in the training dataset uri.

Link copied to clipboard

Output only. Dataset distributions for the user input tokens.

Link copied to clipboard

Output only. Dataset distributions for the messages per example.

Link copied to clipboard

Output only. Dataset distributions for the user output tokens.