Package com.google.genai.types
Class FullFineTuningSpec
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.FullFineTuningSpec
Tuning Spec for Full Fine Tuning. This data type is not supported in Gemini API.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder for FullFineTuningSpec. -
Field Summary
Fields inherited from class com.google.genai.JsonSerializable
MAX_READ_LENGTH_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic FullFineTuningSpec.Builderbuilder()Instantiates a builder for FullFineTuningSpec.static FullFineTuningSpecDeserializes a JSON string to a FullFineTuningSpec object.abstract Optional<SupervisedHyperParameters>Optional.abstract FullFineTuningSpec.BuilderCreates a builder with the same values as this instance.Required.Optional.Methods inherited from class com.google.genai.JsonSerializable
fromJsonNode, fromJsonString, objectMapper, setMaxReadLength, stringToJsonNode, toJson, toJsonNode, toJsonString
-
Constructor Details
-
FullFineTuningSpec
public FullFineTuningSpec()
-
-
Method Details
-
hyperParameters
Optional. Hyperparameters for Full Fine Tuning. -
trainingDatasetUri
Required. Training dataset used for tuning. The dataset can be specified as either a Cloud Storage path to a JSONL file or as the resource name of a Vertex Multimodal Dataset. -
validationDatasetUri
Optional. Validation dataset used for tuning. The dataset can be specified as either a Cloud Storage path to a JSONL file or as the resource name of a Vertex Multimodal Dataset. -
builder
Instantiates a builder for FullFineTuningSpec. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a FullFineTuningSpec object.
-