Package com.google.genai.types
Class SupervisedHyperParameters
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.SupervisedHyperParameters
Hyperparameters for SFT.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder for SupervisedHyperParameters. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Optional<AdapterSize>Optional.builder()Instantiates a builder for SupervisedHyperParameters.Optional.static SupervisedHyperParametersDeserializes a JSON string to a SupervisedHyperParameters object.Optional.abstract SupervisedHyperParameters.BuilderCreates a builder with the same values as this instance.Methods inherited from class com.google.genai.JsonSerializable
toJson
-
Constructor Details
-
SupervisedHyperParameters
public SupervisedHyperParameters()
-
-
Method Details
-
adapterSize
Optional. Adapter size for 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. Mutually exclusive with `learning_rate`. -
builder
Instantiates a builder for SupervisedHyperParameters. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a SupervisedHyperParameters object.
-