v27

latestOpenAPI 3.0.02026-07-1347144237.4 KB
Fine-tuning:

Cancels the processing of the fine-tune job specified by the given fine-tune-id.

post/fine_tuning/jobs/{fine-tuning-job-id}/cancel

Path parameters

fine-tuning-job-idstring required

The identifier of the fine-tune job.

Query parameters

api-versionstring required

The requested API version.

Response

The fine tune has been successfully canceled

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.