Retrieve fine-tune
GET
https://api.openai.com/v1/fine-tunes/{fine_tune_id}Gets info about the fine-tune job.
Request
Path Params
fine_tune_id
string
required
The ID of the fine-tune job
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 {4}]
required
object
string
required
created_at
integer
required
level
string
required
message
string
required
fine_tuned_model
string
required
hyperparams
object
required
batch_size
integer
required
learning_rate_multiplier
number
required
n_epochs
integer
required
prompt_loss_weight
number
required
organization_id
string
required
result_files
array [object {6}]
required
id
string
optional
object
string
optional
bytes
integer
optional
created_at
integer
optional
filename
string
optional
purpose
string
optional
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-AF1WoRqd3aJAHsqc9NY7iL8F",
"object": "fine-tune",
"model": "curie",
"created_at": 1614807352,
"events": [
{
"object": "fine-tune-event",
"created_at": 1614807352,
"level": "info",
"message": "Job enqueued. Waiting for jobs ahead to complete. Queue number: 0."
},
{
"object": "fine-tune-event",
"created_at": 1614807356,
"level": "info",
"message": "Job started."
},
{
"object": "fine-tune-event",
"created_at": 1614807861,
"level": "info",
"message": "Uploaded snapshot: curie:ft-acmeco-2021-03-03-21-44-20."
},
{
"object": "fine-tune-event",
"created_at": 1614807864,
"level": "info",
"message": "Uploaded result files: file-QQm6ZpqdNwAaVC3aSz5sWwLT."
},
{
"object": "fine-tune-event",
"created_at": 1614807864,
"level": "info",
"message": "Job succeeded."
}
],
"fine_tuned_model": "curie:ft-acmeco-2021-03-03-21-44-20",
"hyperparams": {
"batch_size": 4,
"learning_rate_multiplier": 0.1,
"n_epochs": 4,
"prompt_loss_weight": 0.1
},
"organization_id": "org-...",
"result_files": [
{
"id": "file-QQm6ZpqdNwAaVC3aSz5sWwLT",
"object": "file",
"bytes": 81509,
"created_at": 1614807863,
"filename": "compiled_results.csv",
"purpose": "fine-tune-results"
}
],
"status": "succeeded",
"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": 1614807865
}
Last modified: a year ago