Skip to content
Primary navigation

Checkpoints

List fine-tuning checkpoints
fine_tuning.jobs.checkpoints.list(strfine_tuning_job_id, CheckpointListParams**kwargs) -> SyncCursorPage[FineTuningJobCheckpoint]
GET/fine_tuning/jobs/{fine_tuning_job_id}/checkpoints
ModelsExpand Collapse
class FineTuningJobCheckpoint:

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

id: str

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

created_at: int

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

fine_tuned_model_checkpoint: str

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

fine_tuning_job_id: str

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

metrics: Metrics

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

full_valid_loss: Optional[float]
full_valid_mean_token_accuracy: Optional[float]
step: Optional[float]
train_loss: Optional[float]
train_mean_token_accuracy: Optional[float]
valid_loss: Optional[float]
valid_mean_token_accuracy: Optional[float]
object: Literal["fine_tuning.job.checkpoint"]

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

step_number: int

The step number that the checkpoint was created at.