Class SupervisedTuningDataStats
-
- All Implemented Interfaces:
public abstract class SupervisedTuningDataStats extends JsonSerializable
Tuning data statistics for Supervised Tuning. This data type is not supported in Gemini API.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public abstract classSupervisedTuningDataStats.BuilderBuilder for SupervisedTuningDataStats.
-
Field Summary
Fields Modifier and Type Field Description public final static StringMAX_READ_LENGTH_PROPERTY
-
Constructor Summary
Constructors Constructor Description SupervisedTuningDataStats()
-
Method Summary
-
Methods inherited from class com.google.genai.JsonSerializable
fromJsonNode, fromJsonString, objectMapper, setMaxReadLength, stringToJsonNode, toJson, toJsonNode, toJsonString -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
droppedExampleReasons
abstract Optional<List<String>> droppedExampleReasons()
Output only. For each index in `truncated_example_indices`, the user-facing reason why the example was dropped.
-
totalBillableCharacterCount
abstract Optional<Long> totalBillableCharacterCount()
Output only. Number of billable characters in the tuning dataset.
-
totalBillableTokenCount
abstract Optional<Long> totalBillableTokenCount()
Output only. Number of billable tokens in the tuning dataset.
-
totalTruncatedExampleCount
abstract Optional<Long> 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
abstract Optional<Long> totalTuningCharacterCount()
Output only. Number of tuning characters in the tuning dataset.
-
truncatedExampleIndices
abstract Optional<List<Long>> truncatedExampleIndices()
Output only. A partial sample of the indices (starting from 1) of the dropped examples.
-
tuningDatasetExampleCount
abstract Optional<Long> tuningDatasetExampleCount()
Output only. Number of examples in the tuning dataset.
-
tuningStepCount
abstract Optional<Long> tuningStepCount()
Output only. Number of tuning steps for this Tuning Job.
-
userDatasetExamples
abstract Optional<List<Content>> userDatasetExamples()
Output only. Sample user messages in the training dataset uri.
-
userInputTokenDistribution
abstract Optional<SupervisedTuningDatasetDistribution> userInputTokenDistribution()
Output only. Dataset distributions for the user input tokens.
-
userMessagePerExampleDistribution
abstract Optional<SupervisedTuningDatasetDistribution> userMessagePerExampleDistribution()
Output only. Dataset distributions for the messages per example.
-
userOutputTokenDistribution
abstract Optional<SupervisedTuningDatasetDistribution> userOutputTokenDistribution()
Output only. Dataset distributions for the user output tokens.
-
builder
static SupervisedTuningDataStats.Builder builder()
Instantiates a builder for SupervisedTuningDataStats.
-
toBuilder
abstract SupervisedTuningDataStats.Builder toBuilder()
Creates a builder with the same values as this instance.
-
fromJson
static SupervisedTuningDataStats fromJson(String jsonString)
Deserializes a JSON string to a SupervisedTuningDataStats object.
-
-
-
-