Skip to content
Primary navigation

Checkpoints

Manage fine-tuning jobs to tailor a model to your specific training data.

List fine-tuning checkpoints
fine_tuning.jobs.checkpoints.list(fine_tuning_job_id, **kwargs) -> CursorPage<FineTuningJobCheckpoint { id, created_at, fine_tuned_model_checkpoint, 4 more } >
GET/fine_tuning/jobs/{fine_tuning_job_id}/checkpoints
ModelsExpand Collapse
class FineTuningJobCheckpoint { id, created_at, fine_tuned_model_checkpoint, 4 more }

The fine_tuning.job.checkpoint object represents a model checkpoint for a fine-tuning job that is ready to use.

id: String

The checkpoint identifier, which can be referenced in the API endpoints.

created_at: Integer

The Unix timestamp (in seconds) for when the checkpoint was created.

fine_tuned_model_checkpoint: String

The name of the fine-tuned checkpoint model that is created.

fine_tuning_job_id: String

The name of the fine-tuning job that this checkpoint was created from.

metrics: { full_valid_loss, full_valid_mean_token_accuracy, step, 4 more}

Metrics at the step number during the fine-tuning job.

full_valid_loss: Float
full_valid_mean_token_accuracy: Float
step: Float
train_loss: Float
train_mean_token_accuracy: Float
valid_loss: Float
valid_mean_token_accuracy: Float
object: :"fine_tuning.job.checkpoint"

The object type, which is always "fine_tuning.job.checkpoint".

step_number: Integer

The step number that the checkpoint was created at.