I am trying to get a list of all fine_tuning jobs with the GET API https://api.openai.com/v1/fine_tuning/jobs/ and realized it works but is undocumented.
Is this API supported officially? I am hoping it’s just a missing documentation.
I am trying to get a list of all fine_tuning jobs with the GET API https://api.openai.com/v1/fine_tuning/jobs/ and realized it works but is undocumented.
Is this API supported officially? I am hoping it’s just a missing documentation.
In July, we announced that the original GPT-3 base models (
ada
,babbage
,curie
, anddavinci
) would be turned off on January 4th, 2024. Today, we are makingbabbage-002
anddavinci-002
available as replacements for these models, either as base or fine-tuned models. Customers can access those models by querying the Completions API.These models can be fine-tuned with our new API endpoint
/v1/fine_tuning/jobs
. This new endpoint offers pagination and more extensibility to support the future evolution of the fine-tuning API. Transitioning from/v1/fine-tunes
to the updated endpoint is straightforward and more details can be found in our new fine-tuning guide. This deprecates the old/v1/fine-tunes
endpoint, which will be turned off on January 4th, 2024.
This indicates the new endpoint is a replacement. Legacy completion models will be gone 2024. So the new API must support all expected functions.
The missing documentation is that only interactions through a module are demonstrated in new documents, not the actual endpoint calls:
# List 10 fine-tuning jobs
openai.FineTuningJob.list(limit=10)
# Retrieve the state of a fine-tune
openai.FineTuningJob.retrieve("ft-abc123")
# Cancel a job
openai.FineTuningJob.cancel("ft-abc123")
# List up to 10 events from a fine-tuning job
openai.FineTuningJob.list_events(id="ft-abc123", limit=10)
# Delete a fine-tuned model (must be an owner of the org the model was created in)
import openai
openai.Model.delete("ft-abc123")
Thank you for flagging, we do support this endpoint, just missed adding it to the docs, adding it now via a PR, should be live in the AM.
A post was split to a new topic: How can I set n_epochs here
A post was merged into an existing topic: How can I set n_epochs here