NAME

OpenAPI::Client::OpenAI::Path::fine_tuning-jobs-fine_tuning_job_id-checkpoints - Documentation for the /fine_tuning/jobs/{fine_tuning_job_id}/checkpoints path.

OPERATIONS

GET /fine_tuning/jobs/{fine_tuning_job_id}/checkpoints

listFineTuningJobCheckpoints

$client->list_fine_tuning_job_checkpoints({
    body => { ... },
});

List checkpoints for a fine-tuning job.

Path/query parameters

  • fine_tuning_job_id (in path, required, string) - The ID of the fine-tuning job to get checkpoints for.

  • after (in query, optional, string) - Identifier for the last checkpoint ID from the previous pagination request.

  • limit (in query, optional, integer) - Number of checkpoints to retrieve.

    Default: 10

Responses

200 - OK

Content-Type: application/json

Example:

{
   "data" : [
      "{\n  \"object\": \"fine_tuning.job.checkpoint\",\n  \"id\": \"ftckpt_qtZ5Gyk4BLq1SfLFWp3RtO3P\",\n  \"created_at\": 1712211699,\n  \"fine_tuned_model_checkpoint\": \"ft:gpt-4o-mini-2024-07-18:my-org:custom_suffix:9ABel2dg:ckpt-step-88\",\n  \"fine_tuning_job_id\": \"ftjob-fpbNQ3H1GrMehXRf8cO97xTN\",\n  \"metrics\": {\n    \"step\": 88,\n    \"train_loss\": 0.478,\n    \"train_mean_token_accuracy\": 0.924,\n    \"valid_loss\": 10.112,\n    \"valid_mean_token_accuracy\": 0.145,\n    \"full_valid_loss\": 0.567,\n    \"full_valid_mean_token_accuracy\": 0.944\n  },\n  \"step_number\": 88\n}\n"
   ],
   "first_id" : "string",
   "has_more" : false,
   "last_id" : "string",
   "object" : "list"
}

SCHEMAS

FineTuningJobCheckpoint

Properties:

  • created_at (integer, required) - The Unix timestamp (in seconds) for when the checkpoint was created.

  • fine_tuned_model_checkpoint (string, required) - The name of the fine-tuned checkpoint model that is created.

  • fine_tuning_job_id (string, required) - The name of the fine-tuning job that this checkpoint was created from.

  • id (string, required) - The checkpoint identifier, which can be referenced in the API endpoints.

  • metrics (object, required) - Metrics at the step number during the fine-tuning job.

  • object (string, required) - The object type, which is always "fine_tuning.job.checkpoint".

    Allowed values: fine_tuning.job.checkpoint

  • step_number (integer, required) - The step number that the checkpoint was created at.

ListFineTuningJobCheckpointsResponse

Properties:

  • data (array of FineTuningJobCheckpoint, required)

  • first_id (anyOf)

  • has_more (boolean, required)

  • last_id (anyOf)

  • object (string, required)

    Allowed values: list

SEE ALSO

OpenAPI::Client::OpenAI::Path

COPYRIGHT AND LICENSE

Copyright (C) 2023-2026 by Nelson Ferraz

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.14.0 or, at your option, any later version of Perl 5 you may have available.