Package com.google.genai.types
Class DistillationHyperParameters
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.DistillationHyperParameters
Hyperparameters for Distillation. This data type is not supported in Gemini API.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder for DistillationHyperParameters. -
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.builder()Instantiates a builder for DistillationHyperParameters.Optional.static DistillationHyperParametersDeserializes a JSON string to a DistillationHyperParameters object.Optional.abstract DistillationHyperParameters.BuilderCreates a builder with the same values as this instance.Methods inherited from class com.google.genai.JsonSerializable
fromJsonNode, fromJsonString, objectMapper, setMaxReadLength, stringToJsonNode, toJson, toJsonNode, toJsonString
-
Constructor Details
-
DistillationHyperParameters
public DistillationHyperParameters()
-
-
Method Details
-
adapterSize
Optional. Adapter size for distillation. -
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. -
builder
Instantiates a builder for DistillationHyperParameters. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a DistillationHyperParameters object.
-