Package com.google.genai.types
Class PartnerModelTuningSpec
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.PartnerModelTuningSpec
Tuning spec for Partner models.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Builder for PartnerModelTuningSpec. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Instantiates a builder for PartnerModelTuningSpec.static PartnerModelTuningSpec
Deserializes a JSON string to a PartnerModelTuningSpec object.Hyperparameters for tuning.abstract PartnerModelTuningSpec.Builder
Creates a builder with the same values as this instance.Required.Optional.Methods inherited from class com.google.genai.JsonSerializable
stringToJsonNode, toJson
-
Constructor Details
-
PartnerModelTuningSpec
public PartnerModelTuningSpec()
-
-
Method Details
-
hyperParameters
Hyperparameters for tuning. The accepted hyper_parameters and their valid range of values will differ depending on the base model. -
trainingDatasetUri
Required. Cloud Storage path to file containing training dataset for tuning. The dataset must be formatted as a JSONL file. -
validationDatasetUri
Optional. Cloud Storage path to file containing validation dataset for tuning. The dataset must be formatted as a JSONL file. -
builder
Instantiates a builder for PartnerModelTuningSpec. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a PartnerModelTuningSpec object.
-