curl --request POST \
--url https://api.together.xyz/v1/fine-tunes/{id}/cancel \
--header 'Authorization: <api-key>'
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"training_file": "<string>",
"validation_file": "<string>",
"model": "<string>",
"model_output_name": "<string>",
"model_output_path": "<string>",
"TrainingFileNumLines": 123,
"TrainingFileSize": 123,
"created_at": "<string>",
"updated_at": "<string>",
"n_epochs": 123,
"n_checkpoints": 123,
"batch_size": 123,
"learning_rate": 123,
"eval_steps": 123,
"lora": true,
"lora_r": 123,
"lora_alpha": 123,
"lora_dropout": 123,
"status": "pending",
"job_id": "<string>",
"events": [
{
"object": "FinetuneEvent",
"created_at": "<string>",
"level": "info",
"message": "<string>",
"type": "job_pending",
"param_count": 123,
"token_count": 123,
"wandb_url": "<string>",
"hash": "<string>"
}
],
"token_count": 123,
"param_count": 123,
"total_price": 123,
"epochs_completed": 123,
"queue_depth": 123,
"wandb_project_name": "<string>",
"wandb_url": "<string>"
}
Cancel a currently running fine-tuning job.
curl --request POST \
--url https://api.together.xyz/v1/fine-tunes/{id}/cancel \
--header 'Authorization: <api-key>'
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"training_file": "<string>",
"validation_file": "<string>",
"model": "<string>",
"model_output_name": "<string>",
"model_output_path": "<string>",
"TrainingFileNumLines": 123,
"TrainingFileSize": 123,
"created_at": "<string>",
"updated_at": "<string>",
"n_epochs": 123,
"n_checkpoints": 123,
"batch_size": 123,
"learning_rate": 123,
"eval_steps": 123,
"lora": true,
"lora_r": 123,
"lora_alpha": 123,
"lora_dropout": 123,
"status": "pending",
"job_id": "<string>",
"events": [
{
"object": "FinetuneEvent",
"created_at": "<string>",
"level": "info",
"message": "<string>",
"type": "job_pending",
"param_count": 123,
"token_count": 123,
"wandb_url": "<string>",
"hash": "<string>"
}
],
"token_count": 123,
"param_count": 123,
"total_price": 123,
"epochs_completed": 123,
"queue_depth": 123,
"wandb_project_name": "<string>",
"wandb_url": "<string>"
}
Fine-tune ID to cancel. A string that starts with ft-
.
Successfully cancelled the fine-tuning job.
The response is of type object
.