Package com.google.genai.types
Class OmniLoraTuningSpec
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.OmniLoraTuningSpec
Tuning Spec for Omni LoRA Model Tuning. This data type is not supported in Gemini API.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder for OmniLoraTuningSpec. -
Field Summary
Fields inherited from class com.google.genai.JsonSerializable
MAX_READ_LENGTH_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic OmniLoraTuningSpec.Builderbuilder()Instantiates a builder for OmniLoraTuningSpec.static OmniLoraTuningSpecDeserializes a JSON string to a OmniLoraTuningSpec object.abstract Optional<OmniHyperParameters>Optional.abstract OmniLoraTuningSpec.BuilderCreates a builder with the same values as this instance.Required.Methods inherited from class com.google.genai.JsonSerializable
fromJsonNode, fromJsonString, objectMapper, setMaxReadLength, stringToJsonNode, toJson, toJsonNode, toJsonString
-
Constructor Details
-
OmniLoraTuningSpec
public OmniLoraTuningSpec()
-
-
Method Details
-
hyperParameters
Optional. Hyperparameters for Omni LoRA tuning. -
trainingDatasetUri
Required. Cloud Storage path to the file containing training dataset for Omni LoRA tuning. The dataset must be formatted as a JSONL file. -
builder
Instantiates a builder for OmniLoraTuningSpec. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a OmniLoraTuningSpec object.
-