Class FineTuningJob.Method.Supervised.Hyperparameters.Builder
-
- All Implemented Interfaces:
public final class FineTuningJob.Method.Supervised.Hyperparameters.Builder
A builder for Hyperparameters.
-
-
Method Summary
-
-
Method Detail
-
batchSize
final FineTuningJob.Method.Supervised.Hyperparameters.Builder batchSize(FineTuningJob.Method.Supervised.Hyperparameters.BatchSize batchSize)
Number of examples in each batch. A larger batch size means that model parameters are updated less frequently, but with lower variance.
-
batchSize
final FineTuningJob.Method.Supervised.Hyperparameters.Builder batchSize(JsonField<FineTuningJob.Method.Supervised.Hyperparameters.BatchSize> batchSize)
Number of examples in each batch. A larger batch size means that model parameters are updated less frequently, but with lower variance.
-
batchSize
final FineTuningJob.Method.Supervised.Hyperparameters.Builder batchSize(Long manual)
Number of examples in each batch. A larger batch size means that model parameters are updated less frequently, but with lower variance.
-
batchSizeAuto
final FineTuningJob.Method.Supervised.Hyperparameters.Builder batchSizeAuto()
Number of examples in each batch. A larger batch size means that model parameters are updated less frequently, but with lower variance.
-
learningRateMultiplier
final FineTuningJob.Method.Supervised.Hyperparameters.Builder learningRateMultiplier(FineTuningJob.Method.Supervised.Hyperparameters.LearningRateMultiplier learningRateMultiplier)
Scaling factor for the learning rate. A smaller learning rate may be useful to avoid overfitting.
-
learningRateMultiplier
final FineTuningJob.Method.Supervised.Hyperparameters.Builder learningRateMultiplier(JsonField<FineTuningJob.Method.Supervised.Hyperparameters.LearningRateMultiplier> learningRateMultiplier)
Scaling factor for the learning rate. A smaller learning rate may be useful to avoid overfitting.
-
learningRateMultiplier
final FineTuningJob.Method.Supervised.Hyperparameters.Builder learningRateMultiplier(Double manual)
Scaling factor for the learning rate. A smaller learning rate may be useful to avoid overfitting.
-
learningRateMultiplierAuto
final FineTuningJob.Method.Supervised.Hyperparameters.Builder learningRateMultiplierAuto()
Scaling factor for the learning rate. A smaller learning rate may be useful to avoid overfitting.
-
nEpochs
final FineTuningJob.Method.Supervised.Hyperparameters.Builder nEpochs(FineTuningJob.Method.Supervised.Hyperparameters.NEpochs nEpochs)
The number of epochs to train the model for. An epoch refers to one full cycle through the training dataset.
-
nEpochs
final FineTuningJob.Method.Supervised.Hyperparameters.Builder nEpochs(JsonField<FineTuningJob.Method.Supervised.Hyperparameters.NEpochs> nEpochs)
The number of epochs to train the model for. An epoch refers to one full cycle through the training dataset.
-
nEpochs
final FineTuningJob.Method.Supervised.Hyperparameters.Builder nEpochs(Long manual)
The number of epochs to train the model for. An epoch refers to one full cycle through the training dataset.
-
nEpochsAuto
final FineTuningJob.Method.Supervised.Hyperparameters.Builder nEpochsAuto()
The number of epochs to train the model for. An epoch refers to one full cycle through the training dataset.
-
additionalProperties
final FineTuningJob.Method.Supervised.Hyperparameters.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final FineTuningJob.Method.Supervised.Hyperparameters.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final FineTuningJob.Method.Supervised.Hyperparameters.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final FineTuningJob.Method.Supervised.Hyperparameters.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final FineTuningJob.Method.Supervised.Hyperparameters.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final FineTuningJob.Method.Supervised.Hyperparameters build()
-
-
-
-