Fine-tuning Jobs

Cancel a fine-tuning job

Changed on
post/v1/fine-tuning/{job_name}/cancel

Request

Path parameters

job_namestring required

Response

Job cancelled successfully

idstring uuid
created_atstring date-time
updated_atstring date-time
status'NEW' | 'QUEUED' | 'RUNNING' | 'COMPLETED' | 'FAILED' | 'STOPPING' | 'STOPPED'
base_model_namestring
dataset_namestring
namestring
type'LORA' | 'QLORA'
current_stepinteger
total_stepsinteger
current_epochinteger
total_epochsinteger
num_tokensinteger

Number of tokens processed in the fine-tuning job

metricsobject

Example response

{
  "parameters": {
    "batch_size": 8,
    "num_epochs": 3,
    "shuffle": true,
    "lr": 0.0003,
    "seed": 42
  }
}

Changes

    • info

      removed the FULL enum value from the //// response property for the response status

    • warning

      removed the optional property // from the response with the status

    • warning

      added the new QUEUED enum value to the //// response property for the response status

    • info

      added the optional property //// to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      removed the PENDING enum value from the //// response property for the response status