Cancel fine-tune
POST
https://api.openai.com/v1/fine-tunes/{fine_tune_id}/cancelImmediately cancel a fine-tune job.
Request
Path Params
fine_tune_id
string
required
The ID of the fine-tune job to cancel
Header Params
Authorization
string
optional
Example:
Bearer {{YOUR_API_KEY}}
Request samples
Responses
成功(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
id
string
required
object
string
required
model
string
required
created_at
integer
required
events
array [object]
required
fine_tuned_model
null
required
hyperparams
object
required
organization_id
string
required
result_files
array[string]
required
status
string
required
validation_files
array[string]
required
training_files
array [object {6}]
required
id
string
optional
object
string
optional
bytes
integer
optional
created_at
integer
optional
filename
string
optional
purpose
string
optional
updated_at
integer
required
Example成功示例
{
"id": "ft-xhrpBbvVUzYGo8oUO1FY4nI7",
"object": "fine-tune",
"model": "curie",
"created_at": 1614807770,
"events": [ { ... } ],
"fine_tuned_model": null,
"hyperparams": { ... },
"organization_id": "org-...",
"result_files": [],
"status": "cancelled",
"validation_files": [],
"training_files": [
{
"id": "file-XGinujblHPwGLSztz8cPS8XY",
"object": "file",
"bytes": 1547276,
"created_at": 1610062281,
"filename": "my-data-train.jsonl",
"purpose": "fine-tune-train"
}
],
"updated_at": 1614807789
}
Last modified: a year ago