Class FineTuningJobCheckpoint
-
- All Implemented Interfaces:
public final class FineTuningJobCheckpointThe
fine_tuning.job.checkpointobject represents a model checkpoint for a fine-tuning job that is ready to use.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classFineTuningJobCheckpoint.BuilderA builder for FineTuningJobCheckpoint.
public final classFineTuningJobCheckpoint.MetricsMetrics at the step number during the fine-tuning job.
-
Method Summary
Modifier and Type Method Description final Stringid()The checkpoint identifier, which can be referenced in the API endpoints. final LongcreatedAt()The Unix timestamp (in seconds) for when the checkpoint was created. final StringfineTunedModelCheckpoint()The name of the fine-tuned checkpoint model that is created. final StringfineTuningJobId()The name of the fine-tuning job that this checkpoint was created from. final FineTuningJobCheckpoint.Metricsmetrics()Metrics at the step number during the fine-tuning job. final JsonValue_object_()The object type, which is always "fine_tuning.job.checkpoint". final LongstepNumber()The step number that the checkpoint was created at. final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<Long>_createdAt()Returns the raw JSON value of createdAt. final JsonField<String>_fineTunedModelCheckpoint()Returns the raw JSON value of fineTunedModelCheckpoint. final JsonField<String>_fineTuningJobId()Returns the raw JSON value of fineTuningJobId. final JsonField<FineTuningJobCheckpoint.Metrics>_metrics()Returns the raw JSON value of metrics. final JsonField<Long>_stepNumber()Returns the raw JSON value of stepNumber. final Map<String, JsonValue>_additionalProperties()final FineTuningJobCheckpoint.BuildertoBuilder()final FineTuningJobCheckpointvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static FineTuningJobCheckpoint.Builderbuilder()Returns a mutable builder for constructing an instance of FineTuningJobCheckpoint. -
-
Method Detail
-
createdAt
final Long createdAt()
The Unix timestamp (in seconds) for when the checkpoint was created.
-
fineTunedModelCheckpoint
final String fineTunedModelCheckpoint()
The name of the fine-tuned checkpoint model that is created.
-
fineTuningJobId
final String fineTuningJobId()
The name of the fine-tuning job that this checkpoint was created from.
-
metrics
final FineTuningJobCheckpoint.Metrics metrics()
Metrics at the step number during the fine-tuning job.
-
_object_
final JsonValue _object_()
The object type, which is always "fine_tuning.job.checkpoint".
Expected to always return the following:
JsonValue.from("fine_tuning.job.checkpoint")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
stepNumber
final Long stepNumber()
The step number that the checkpoint was created at.
-
_id
final JsonField<String> _id()
Returns the raw JSON value of id.
Unlike id, this method doesn't throw if the JSON field has an unexpected type.
-
_createdAt
final JsonField<Long> _createdAt()
Returns the raw JSON value of createdAt.
Unlike createdAt, this method doesn't throw if the JSON field has an unexpected type.
-
_fineTunedModelCheckpoint
final JsonField<String> _fineTunedModelCheckpoint()
Returns the raw JSON value of fineTunedModelCheckpoint.
Unlike fineTunedModelCheckpoint, this method doesn't throw if the JSON field has an unexpected type.
-
_fineTuningJobId
final JsonField<String> _fineTuningJobId()
Returns the raw JSON value of fineTuningJobId.
Unlike fineTuningJobId, this method doesn't throw if the JSON field has an unexpected type.
-
_metrics
final JsonField<FineTuningJobCheckpoint.Metrics> _metrics()
Returns the raw JSON value of metrics.
Unlike metrics, this method doesn't throw if the JSON field has an unexpected type.
-
_stepNumber
final JsonField<Long> _stepNumber()
Returns the raw JSON value of stepNumber.
Unlike stepNumber, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final FineTuningJobCheckpoint.Builder toBuilder()
-
validate
final FineTuningJobCheckpoint validate()
-
builder
final static FineTuningJobCheckpoint.Builder builder()
Returns a mutable builder for constructing an instance of FineTuningJobCheckpoint.
The following fields are required:
.id() .createdAt() .fineTunedModelCheckpoint() .fineTuningJobId() .metrics() .stepNumber()
-
-
-
-