Package com.google.genai.types
Class CreateTuningJobParametersPrivate
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.CreateTuningJobParametersPrivate
Supervised fine-tuning job creation parameters - optional fields.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Builder for CreateTuningJobParametersPrivate. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe base model that is being tuned, e.g., "gemini-2.5-flash".builder()
Instantiates a builder for CreateTuningJobParametersPrivate.abstract Optional<CreateTuningJobConfig>
config()
Configuration for the tuning job.Deserializes a JSON string to a CreateTuningJobParametersPrivate object.abstract Optional<PreTunedModel>
The PreTunedModel that is being tuned.Creates a builder with the same values as this instance.abstract Optional<TuningDataset>
Cloud Storage path to file containing training dataset for tuning.Methods inherited from class com.google.genai.JsonSerializable
stringToJsonNode, toJson
-
Constructor Details
-
CreateTuningJobParametersPrivate
public CreateTuningJobParametersPrivate()
-
-
Method Details
-
baseModel
The base model that is being tuned, e.g., "gemini-2.5-flash". -
preTunedModel
The PreTunedModel that is being tuned. -
trainingDataset
Cloud Storage path to file containing training dataset for tuning. The dataset must be formatted as a JSONL file. -
config
Configuration for the tuning job. -
builder
Instantiates a builder for CreateTuningJobParametersPrivate. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a CreateTuningJobParametersPrivate object.
-