Class FineTuningJob.Method
-
- All Implemented Interfaces:
public final class FineTuningJob.MethodThe method used for fine-tuning.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classFineTuningJob.Method.BuilderA builder for Method.
public final classFineTuningJob.Method.DpoConfiguration for the DPO fine-tuning method.
public final classFineTuningJob.Method.SupervisedConfiguration for the supervised fine-tuning method.
public final classFineTuningJob.Method.TypeThe type of method. Is either
supervisedordpo.
-
Method Summary
Modifier and Type Method Description final Optional<FineTuningJob.Method.Dpo>dpo()Configuration for the DPO fine-tuning method. final Optional<FineTuningJob.Method.Supervised>supervised()Configuration for the supervised fine-tuning method. final Optional<FineTuningJob.Method.Type>type()The type of method. final JsonField<FineTuningJob.Method.Dpo>_dpo()Returns the raw JSON value of dpo. final JsonField<FineTuningJob.Method.Supervised>_supervised()Returns the raw JSON value of supervised. final JsonField<FineTuningJob.Method.Type>_type()Returns the raw JSON value of type. final Map<String, JsonValue>_additionalProperties()final FineTuningJob.Method.BuildertoBuilder()final FineTuningJob.Methodvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static FineTuningJob.Method.Builderbuilder()Returns a mutable builder for constructing an instance of Method. -
-
Method Detail
-
dpo
final Optional<FineTuningJob.Method.Dpo> dpo()
Configuration for the DPO fine-tuning method.
-
supervised
final Optional<FineTuningJob.Method.Supervised> supervised()
Configuration for the supervised fine-tuning method.
-
type
final Optional<FineTuningJob.Method.Type> type()
The type of method. Is either
supervisedordpo.
-
_dpo
final JsonField<FineTuningJob.Method.Dpo> _dpo()
Returns the raw JSON value of dpo.
Unlike dpo, this method doesn't throw if the JSON field has an unexpected type.
-
_supervised
final JsonField<FineTuningJob.Method.Supervised> _supervised()
Returns the raw JSON value of supervised.
Unlike supervised, this method doesn't throw if the JSON field has an unexpected type.
-
_type
final JsonField<FineTuningJob.Method.Type> _type()
Returns the raw JSON value of type.
Unlike type, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final FineTuningJob.Method.Builder toBuilder()
-
validate
final FineTuningJob.Method validate()
-
builder
final static FineTuningJob.Method.Builder builder()
Returns a mutable builder for constructing an instance of Method.
-
-
-
-