Package com.google.genai.types
Class OmniHyperParameters
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.OmniHyperParameters
Hyperparameters for Omni LoRA tuning. This data type is not supported in Gemini API.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder for OmniHyperParameters. -
Field Summary
Fields inherited from class com.google.genai.JsonSerializable
MAX_READ_LENGTH_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Optional<AdapterSize>Optional.static OmniHyperParameters.Builderbuilder()Instantiates a builder for OmniHyperParameters.Optional.static OmniHyperParametersDeserializes a JSON string to a OmniHyperParameters object.Optional.abstract OmniHyperParameters.BuilderCreates a builder with the same values as this instance.abstract Optional<TuningTask>Optional.Methods inherited from class com.google.genai.JsonSerializable
fromJsonNode, fromJsonString, objectMapper, setMaxReadLength, stringToJsonNode, toJson, toJsonNode, toJsonString
-
Constructor Details
-
OmniHyperParameters
public OmniHyperParameters()
-
-
Method Details
-
adapterSize
Optional. Adapter size for Omni LoRA tuning. -
epochCount
Optional. Number of complete passes the model makes over the entire training dataset during training. -
learningRateMultiplier
Optional. Multiplier for adjusting the default learning rate. -
tuningTask
Optional. The tuning task for Omni LoRA tuning. -
builder
Instantiates a builder for OmniHyperParameters. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a OmniHyperParameters object.
-