Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates to fine-tuning spec #89

Merged
merged 2 commits into from
Sep 21, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 14 additions & 8 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ paths:
"finish_reason": null
}
],
"model": "text-davinci-003"
"model": "gpt-3.5-turbo-instruct"
}
/edits:
post:
Expand Down Expand Up @@ -1136,7 +1136,7 @@ paths:
"fine_tuned_model": null,
"organization_id": "org-123",
"result_files": [],
"status": "pending",
"status": "queued",
"validation_file": null,
"training_file": "file-abc123",
}
Expand Down Expand Up @@ -1183,7 +1183,7 @@ paths:
"fine_tuned_model": null,
"organization_id": "org-123",
"result_files": [],
"status": "pending",
"status": "queued",
"validation_file": null,
"training_file": "file-abc123",
"hyperparameters":{"n_epochs":2},
Expand Down Expand Up @@ -2270,6 +2270,7 @@ components:
[
"babbage-002",
"davinci-002",
"gpt-3.5-turbo-instruct",
"text-davinci-003",
"text-davinci-002",
"text-davinci-001",
Expand Down Expand Up @@ -3870,7 +3871,7 @@ components:
description: The organization that owns the fine-tuning job.
status:
type: string
description: The current status of the fine-tuning job, which can be either `created`, `pending`, `running`, `succeeded`, `failed`, or `cancelled`.
description: The current status of the fine-tuning job, which can be either `validating_files`, `queued`, `running`, `succeeded`, `failed`, or `cancelled`.
hyperparameters:
type: object
description: The hyperparameters used for the fine-tuning job. See the [fine-tuning guide](/docs/guides/fine-tuning) for more details.
Expand All @@ -3884,10 +3885,11 @@ components:
maximum: 50
default: auto
description:
The number of epochs to train the model for. An epoch refers to one
full cycle through the training dataset.
The number of epochs to train the model for. An epoch refers to one full cycle through the training dataset.

"Auto" decides the optimal number of epochs based on the size of the dataset. If setting the number manually, we support any number between 1 and 50 epochs.
"auto" decides the optimal number of epochs based on the size of the dataset. If setting the number manually, we support any number between 1 and 50 epochs.
required:
- n_epochs
training_file:
type: string
description: The file ID used for training. You can retrieve the training data with the [Files API](/docs/api-reference/files/retrieve-contents).
Expand Down Expand Up @@ -3920,11 +3922,15 @@ components:
type: string
description: The parameter that was invalid, usually `training_file` or `validation_file`. This field will be null if the failure was not parameter-specific.
nullable: true
required:
- message
- code
- param
required:
- id
- object
- created_at
- updated_at
- finished_at
- model
- fine_tuned_model
- organization_id
Expand Down
Loading