v44

latestOpenAPI 3.0.0MITraw.githubusercontent.com2024-11-0494279768.0 KB
Fine-tuning

Get info about a fine-tuning job. [Learn more about fine-tuning](https://platform.openai.com/docs/guides/fine-tuning)

get/fine_tuning/jobs/{fine_tuning_job_id}

Path parameters

fine_tuning_job_idstring required
Example:ft-AF1WoRqd3aJAHsqc9NY7iL8F

The ID of the fine-tuning job.

Response

OK

idstring required

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

created_atinteger required

The Unix timestamp (in seconds) for when the fine-tuning job was created.

fine_tuned_modelstring nullable required

The name of the fine-tuned model that is being created. The value will be null if the fine-tuning job is still running.

finished_atinteger nullable required

The Unix timestamp (in seconds) for when the fine-tuning job was finished. The value will be null if the fine-tuning job is still running.

modelstring required

The base model that is being fine-tuned.

object'fine_tuning.job' required

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

organization_idstring required

The organization that owns the fine-tuning job.

result_filesstring[] required

The compiled results file ID(s) for the fine-tuning job. You can retrieve the results with the Files API.

status'validating_files' | 'queued' | 'running' | 'succeeded' | 'failed' | 'cancelled' required

The current status of the fine-tuning job, which can be either validating_files, queued, running, succeeded, failed, or cancelled.

trained_tokensinteger nullable required

The total number of billable tokens processed by this fine-tuning job. The value will be null if the fine-tuning job is still running.

training_filestring required

The file ID used for training. You can retrieve the training data with the Files API.

validation_filestring nullable required

The file ID used for validation. You can retrieve the validation results with the Files API.

seedinteger required

The seed used for the fine-tuning job.

estimated_finishinteger nullable

The Unix timestamp (in seconds) for when the fine-tuning job is estimated to finish. The value will be null if the fine-tuning job is not running.

Example response

{
  "result_files": [
    "file-abc123"
  ],
  "integrations": [
    {
      "wandb": {
        "project": "my-wandb-project",
        "tags": [
          "custom-tag"
        ]
      }
    }
  ]
}