v27

latestOpenAPI 3.0.02026-07-1347144237.4 KB
Fine-tuning:

Gets details for a single fine-tune job specified by the given fine-tune-id. The details contain the base model, training and validation files, hyper parameters, time stamps, status and events. Events are created when the job status changes, e.g. running or complete, and when results are uploaded.

get/fine_tuning/jobs/{fine-tuning-job-id}

Path parameters

fine-tuning-job-idstring required

The identifier of the fine-tune job.

Query parameters

api-versionstring required

The requested API version.

Response

Success

object'list' | 'fine_tuning.job' | 'file' | 'fine_tuning.job.event' | 'fine_tuning.job.checkpoint' | 'model' | 'upload' | 'upload.part' | 'batch' | 'wandb'

Defines the type of an object.

created_atinteger

A timestamp when this job or item was created (in unix epochs).

idstring

The identity of this item.

status'created' | 'pending' | 'running' | 'pausing' | 'paused' | 'resuming' | 'succeeded' | 'cancelled' | 'failed'

The state of a finetunes object or fine tuning job.

modelstring required

The identifier (model-id) of the base model used for the fine-tune.

fine_tuned_modelstring

The identifier (model-id) of the resulting fine tuned model. This property is only populated for successfully completed fine-tune runs. Use this identifier to create a deployment for inferencing.

training_filestring required

The file which is used for training.

validation_filestring

The file which is used to evaluate the fine tuned model during training.

result_filesstring[]

The result file identities (file-id) containing training and evaluation metrics in csv format. The file is only available for successfully completed fine-tune runs.

finished_atinteger

A timestamp when this job or item has finished successfully (in unix epochs).

organisation_idstring

The organisation id of this fine tune job. Unused on Azure OpenAI; compatibility for OpenAI only.

trained_tokensinteger

The total number of billable tokens processed by this fine tuning job.

estimated_finishinteger

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.

suffixstring

The suffix used to identify the fine-tuned model. The suffix can contain up to 40 characters (a-z, A-Z, 0-9,- and _) that will be added to your fine-tuned model name.

seedinteger

The seed used for the finetuning job.