Class JobCreateParams.Method.Dpo
-
- All Implemented Interfaces:
public final class JobCreateParams.Method.Dpo
Configuration for the DPO fine-tuning method.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
JobCreateParams.Method.Dpo.Builder
A builder for Dpo.
public final class
JobCreateParams.Method.Dpo.Hyperparameters
The hyperparameters used for the fine-tuning job.
-
Method Summary
Modifier and Type Method Description final Optional<JobCreateParams.Method.Dpo.Hyperparameters>
hyperparameters()
The hyperparameters used for the fine-tuning job. final JsonField<JobCreateParams.Method.Dpo.Hyperparameters>
_hyperparameters()
Returns the raw JSON value of hyperparameters. final Map<String, JsonValue>
_additionalProperties()
final JobCreateParams.Method.Dpo.Builder
toBuilder()
final JobCreateParams.Method.Dpo
validate()
final Boolean
isValid()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static JobCreateParams.Method.Dpo.Builder
builder()
Returns a mutable builder for constructing an instance of Dpo. -
-
Method Detail
-
hyperparameters
final Optional<JobCreateParams.Method.Dpo.Hyperparameters> hyperparameters()
The hyperparameters used for the fine-tuning job.
-
_hyperparameters
final JsonField<JobCreateParams.Method.Dpo.Hyperparameters> _hyperparameters()
Returns the raw JSON value of hyperparameters.
Unlike hyperparameters, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final JobCreateParams.Method.Dpo.Builder toBuilder()
-
validate
final JobCreateParams.Method.Dpo validate()
-
builder
final static JobCreateParams.Method.Dpo.Builder builder()
Returns a mutable builder for constructing an instance of Dpo.
-
-
-
-