Class JobCreateParams.Hyperparameters
-
- All Implemented Interfaces:
@Deprecated(message = "deprecated") public final class JobCreateParams.Hyperparameters
The hyperparameters used for the fine-tuning job. This value is now deprecated in favor of
method
, and should be passed in under themethod
parameter.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
JobCreateParams.Hyperparameters.Builder
A builder for Hyperparameters.
public final class
JobCreateParams.Hyperparameters.BatchSize
Number of examples in each batch. A larger batch size means that model parameters are updated less frequently, but with lower variance.
public final class
JobCreateParams.Hyperparameters.LearningRateMultiplier
Scaling factor for the learning rate. A smaller learning rate may be useful to avoid overfitting.
public final class
JobCreateParams.Hyperparameters.NEpochs
The number of epochs to train the model for. An epoch refers to one full cycle through the training dataset.
-
Method Summary
-
-
Method Detail
-
batchSize
final Optional<JobCreateParams.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.
-
learningRateMultiplier
final Optional<JobCreateParams.Hyperparameters.LearningRateMultiplier> learningRateMultiplier()
Scaling factor for the learning rate. A smaller learning rate may be useful to avoid overfitting.
-
nEpochs
final Optional<JobCreateParams.Hyperparameters.NEpochs> nEpochs()
The number of epochs to train the model for. An epoch refers to one full cycle through the training dataset.
-
_batchSize
final JsonField<JobCreateParams.Hyperparameters.BatchSize> _batchSize()
Returns the raw JSON value of batchSize.
Unlike batchSize, this method doesn't throw if the JSON field has an unexpected type.
-
_learningRateMultiplier
final JsonField<JobCreateParams.Hyperparameters.LearningRateMultiplier> _learningRateMultiplier()
Returns the raw JSON value of learningRateMultiplier.
Unlike learningRateMultiplier, this method doesn't throw if the JSON field has an unexpected type.
-
_nEpochs
final JsonField<JobCreateParams.Hyperparameters.NEpochs> _nEpochs()
Returns the raw JSON value of nEpochs.
Unlike nEpochs, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final JobCreateParams.Hyperparameters.Builder toBuilder()
-
validate
final JobCreateParams.Hyperparameters validate()
-
builder
final static JobCreateParams.Hyperparameters.Builder builder()
Returns a mutable builder for constructing an instance of Hyperparameters.
-
-
-
-