Package com.openai.models
Class FineTuningJobCreateParams.Hyperparameters.NEpochs
-
- All Implemented Interfaces:
public final class FineTuningJobCreateParams.Hyperparameters.NEpochs
The number of epochs to train the model for. An epoch refers to one full cycle through the training dataset.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interface
FineTuningJobCreateParams.Hyperparameters.NEpochs.Visitor
An interface that defines how to map each variant of NEpochs to a value of type T.
-
Method Summary
Modifier and Type Method Description final Optional<JsonValue>
auto()
final Optional<Long>
integer()
final Boolean
isAuto()
final Boolean
isInteger()
final JsonValue
asAuto()
final Long
asInteger()
final Optional<JsonValue>
_json()
final <T extends Any> T
accept(FineTuningJobCreateParams.Hyperparameters.NEpochs.Visitor<T> visitor)
final FineTuningJobCreateParams.Hyperparameters.NEpochs
validate()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static FineTuningJobCreateParams.Hyperparameters.NEpochs
ofAuto()
final static FineTuningJobCreateParams.Hyperparameters.NEpochs
ofInteger(Long integer)
-
-
Method Detail
-
accept
final <T extends Any> T accept(FineTuningJobCreateParams.Hyperparameters.NEpochs.Visitor<T> visitor)
-
validate
final FineTuningJobCreateParams.Hyperparameters.NEpochs validate()
-
ofAuto
final static FineTuningJobCreateParams.Hyperparameters.NEpochs ofAuto()
-
ofInteger
final static FineTuningJobCreateParams.Hyperparameters.NEpochs ofInteger(Long integer)
-
-
-
-