Class DpoMethod
-
- All Implemented Interfaces:
public final class DpoMethod
Configuration for the DPO fine-tuning method.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
DpoMethod.Builder
A builder for DpoMethod.
-
Method Summary
Modifier and Type Method Description final Optional<DpoHyperparameters>
hyperparameters()
The hyperparameters used for the DPO fine-tuning job. final JsonField<DpoHyperparameters>
_hyperparameters()
Returns the raw JSON value of hyperparameters. final Map<String, JsonValue>
_additionalProperties()
final DpoMethod.Builder
toBuilder()
final DpoMethod
validate()
final Boolean
isValid()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static DpoMethod.Builder
builder()
Returns a mutable builder for constructing an instance of DpoMethod. -
-
Method Detail
-
hyperparameters
final Optional<DpoHyperparameters> hyperparameters()
The hyperparameters used for the DPO fine-tuning job.
-
_hyperparameters
final JsonField<DpoHyperparameters> _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 DpoMethod.Builder toBuilder()
-
builder
final static DpoMethod.Builder builder()
Returns a mutable builder for constructing an instance of DpoMethod.
-
-
-
-