Package com.openai.models
Class FineTuningJobCreateParams.Method.Dpo.Hyperparameters.BatchSize
-
- All Implemented Interfaces:
public final class FineTuningJobCreateParams.Method.Dpo.Hyperparameters.BatchSize
Number of examples in each batch. A larger batch size means that model parameters are updated less frequently, but with lower variance.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interface
FineTuningJobCreateParams.Method.Dpo.Hyperparameters.BatchSize.Visitor
An interface that defines how to map each variant of BatchSize to a value of type T.
-
Method Summary
Modifier and Type Method Description final Optional<JsonValue>
auto()
final Optional<Long>
manual()
final Boolean
isAuto()
final Boolean
isManual()
final JsonValue
asAuto()
final Long
asManual()
final Optional<JsonValue>
_json()
final <T extends Any> T
accept(FineTuningJobCreateParams.Method.Dpo.Hyperparameters.BatchSize.Visitor<T> visitor)
final FineTuningJobCreateParams.Method.Dpo.Hyperparameters.BatchSize
validate()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static FineTuningJobCreateParams.Method.Dpo.Hyperparameters.BatchSize
ofAuto()
final static FineTuningJobCreateParams.Method.Dpo.Hyperparameters.BatchSize
ofManual(Long manual)
-
-
Method Detail
-
accept
final <T extends Any> T accept(FineTuningJobCreateParams.Method.Dpo.Hyperparameters.BatchSize.Visitor<T> visitor)
-
validate
final FineTuningJobCreateParams.Method.Dpo.Hyperparameters.BatchSize validate()
-
ofAuto
final static FineTuningJobCreateParams.Method.Dpo.Hyperparameters.BatchSize ofAuto()
-
ofManual
final static FineTuningJobCreateParams.Method.Dpo.Hyperparameters.BatchSize ofManual(Long manual)
-
-
-
-