Package com.openai.models
Class FineTuningJobCreateParams.Method
-
- All Implemented Interfaces:
public final class FineTuningJobCreateParams.Method
The method used for fine-tuning.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
FineTuningJobCreateParams.Method.Builder
A builder for Method.
public final class
FineTuningJobCreateParams.Method.Dpo
Configuration for the DPO fine-tuning method.
public final class
FineTuningJobCreateParams.Method.Supervised
Configuration for the supervised fine-tuning method.
public final class
FineTuningJobCreateParams.Method.Type
The type of method. Is either
supervised
ordpo
.
-
Method Summary
-
-
Method Detail
-
dpo
final Optional<FineTuningJobCreateParams.Method.Dpo> dpo()
Configuration for the DPO fine-tuning method.
-
supervised
final Optional<FineTuningJobCreateParams.Method.Supervised> supervised()
Configuration for the supervised fine-tuning method.
-
type
final Optional<FineTuningJobCreateParams.Method.Type> type()
The type of method. Is either
supervised
ordpo
.
-
_dpo
final JsonField<FineTuningJobCreateParams.Method.Dpo> _dpo()
Configuration for the DPO fine-tuning method.
-
_supervised
final JsonField<FineTuningJobCreateParams.Method.Supervised> _supervised()
Configuration for the supervised fine-tuning method.
-
_type
final JsonField<FineTuningJobCreateParams.Method.Type> _type()
The type of method. Is either
supervised
ordpo
.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final FineTuningJobCreateParams.Method validate()
-
toBuilder
final FineTuningJobCreateParams.Method.Builder toBuilder()
-
builder
final static FineTuningJobCreateParams.Method.Builder builder()
Returns a mutable builder for constructing an instance of Method.
-
-
-
-