Class DpoMethod
-
- All Implemented Interfaces:
public final class DpoMethodConfiguration for the DPO fine-tuning method.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classDpoMethod.BuilderA 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.BuildertoBuilder()final DpoMethodvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static DpoMethod.Builderbuilder()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()
-
validate
final DpoMethod validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static DpoMethod.Builder builder()
Returns a mutable builder for constructing an instance of DpoMethod.
-
-
-
-