Package com.google.genai.types
Class VeoHyperParameters
-
- All Implemented Interfaces:
@InternalApi() public abstract class VeoHyperParameters extends JsonSerializable
Hyperparameters for Veo. This data type is not supported in Gemini API.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public abstract classVeoHyperParameters.BuilderBuilder for VeoHyperParameters.
-
Field Summary
Fields Modifier and Type Field Description public final static StringMAX_READ_LENGTH_PROPERTY
-
Constructor Summary
Constructors Constructor Description VeoHyperParameters()
-
Method Summary
Modifier and Type Method Description abstract Optional<Long>epochCount()Optional. abstract Optional<Double>learningRateMultiplier()Optional. abstract Optional<TuningTask>tuningTask()Optional. abstract Optional<Double>veoDataMixtureRatio()Optional. static VeoHyperParameters.Builderbuilder()Instantiates a builder for VeoHyperParameters. abstract VeoHyperParameters.BuildertoBuilder()Creates a builder with the same values as this instance. static VeoHyperParametersfromJson(String jsonString)Deserializes a JSON string to a VeoHyperParameters object. -
Methods inherited from class com.google.genai.JsonSerializable
fromJsonNode, fromJsonString, objectMapper, setMaxReadLength, stringToJsonNode, toJson, toJsonNode, toJsonString -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
epochCount
abstract Optional<Long> epochCount()
Optional. Number of complete passes the model makes over the entire training dataset during training.
-
learningRateMultiplier
abstract Optional<Double> learningRateMultiplier()
Optional. Multiplier for adjusting the default learning rate.
-
tuningTask
abstract Optional<TuningTask> tuningTask()
Optional. The tuning task. Either I2V or T2V.
-
veoDataMixtureRatio
abstract Optional<Double> veoDataMixtureRatio()
Optional. The ratio of Google internal dataset to use in the training mixture, in range of `[0, 1)`. If `0.2`, it means 20% of Google internal dataset and 80% of user dataset will be used for training. If not set, the default value is 0.1.
-
builder
static VeoHyperParameters.Builder builder()
Instantiates a builder for VeoHyperParameters.
-
toBuilder
abstract VeoHyperParameters.Builder toBuilder()
Creates a builder with the same values as this instance.
-
fromJson
static VeoHyperParameters fromJson(String jsonString)
Deserializes a JSON string to a VeoHyperParameters object.
-
-
-
-