Worth checking before choosing or changing a subscription. Handig om te checken voordat je een abonnement kiest of wijzigt.
GPT-3.5 Turbo fine-tuning and API updates GPT-3.5 Turbo fine-tuning and API updates
Title: GPT-3.5 Turbo fine-tuning and API updates Title: GPT-3.5 Turbo fine-tuning and API updates
Quick editorial signal Snelle redactionele duiding
- Track this as a OpenAI update, not just a standalone headline. Bekijk dit als OpenAI-update, niet alleen als losse headline.
- Check plan details before changing subscriptions or advising a team. Controleer plandetails voordat je abonnementen wijzigt of een team adviseert.
- Likely worth revisiting after people have used the release in practice. Waarschijnlijk de moeite waard om opnieuw te bekijken zodra mensen het in praktijk gebruiken.
GPT-3.5 Turbo fine-tuning and API updates | OpenAI
Skip to main content
[](https://openai.com/)
* Research
* Products
* Business
* Developers
* Company
* Foundation(opens in a new window)
Log inTry ChatGPT(opens in a new window)
Table of contents
* Products
* Business
* Developers
* Company
August 22, 2023
Product
GPT‑3.5 Turbo fine-tuning and API updates
Developers can now bring their own data to customize GPT‑3.5 Turbo for their use cases.
Listen to article
Fine-tuning for GPT‑3.5 Turbo is now available, with fine-tuning for GPT‑4 coming this fall. This update gives developers the ability to customize models that perform better for their use cases and run these custom models at scale. Early tests have shown a fine-tuned version of GPT‑3.5 Turbo can match, or even outperform, base GPT‑4‑level capabilities on certain narrow tasks. As with all our APIs, data sent in and out of the fine-tuning API is owned by the customer and is not used by OpenAI, or any other organization, to train other models.
Fine-tuning use cases
Since the release of GPT‑3.5 Turbo, developers and businesses have asked for the ability to customize the model to create unique and differentiated experiences for their users. With this launch, developers can now run supervised fine-tuning to make this model perform better for their use cases.
In our private beta, fine-tuning customers have been able to meaningfully improve model performance across common use cases, such as:
GPT‑3.5 Turbo fine-tuning and API updates
Developers can now bring their own data to customize GPT‑3.5 Turbo for their use cases.
Listen to article
In addition to increased performance, fine-tuning also enables businesses to shorten their prompts while ensuring similar performance. Fine-tuning with GPT‑3.5‑Turbo can also handle 4k tokens—double our previous fine-tuned models. Early testers have reduced prompt size by up to 90% by fine-tuning instructions into the model itself, speeding up each API call and cutting costs.
Fine-tuning is most powerful when combined with other techniques(opens in a new window) such as prompt engineering, information retrieval, and function calling. Check out our fine-tuning guide(opens in a new window) to learn more. Support for fine-tuning with function calling and gpt-3.5-turbo-16k will be coming later this fall.
Fine-tuning steps
Step 1
Prepare your data
{
"messages": [
{ "role": "system", "content": "You are an assistant that occasionally misspells words" },
{ "role": "user", "content": "Tell me a story." },
{ "role": "assistant", "content": "One day a student went to schoool." }
]
}
Step 2
Upload files
curl https://api.openai.com/v1/files \
-H "Authorization: Bearer $OPENAI_API_KEY" \
-F "purpose=fine-tune" \
-F "file=@path_to_your_file"
Step 3
Create a fine-tuning job
curl https://api.openai.com/v1/fine_tuning/jobs \
-H "Content-Type: application/json" \
-d '{
"training_file": "TRAINING_FILE_ID",
"model": "gpt-3.5-turbo-0613"
}'
Once a model finishes the fine-tuning process, it is available to be used in production right away and has the same shared rate limits as the underlying model.
Step 4
Use a fine-tuned model
curl https://api.openai.com/v1/chat/completions \
"model": "ft:gpt-3.5-turbo:org_id",
"role": "system",
"content": "You are an assistant that occasionally misspells words"
},
"role": "user",
"content": "Hello! What is fine-tuning?"
We will also be debuting a fine-tuning UI in the near future, which will give developers easier access to information about ongoing fine-tuning jobs, completed model snapshots, and more.
curl https://api.openai.com/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $OPENAI_API_KEY" \
-d '{
"model": "ft:gpt-3.5-turbo:org_id",
"messages": [
{
"role": "system",
"content": "You are an assistant that occasionally misspells words"
},
{
"role": "user",
"content": "Hello! What is fine-tuning?"
}
]
}'
We will also be debuting a fine-tuning UI in the near future, which will give developers easier access to information about ongoing fine-tuning jobs, completed model snapshots, and more.
Help shape what we cover next Help bepalen wat we hierna volgen
Anonymous feedback, no frontend account needed. Anonieme feedback, zonder front-end account.
Watch related videos Bekijk gerelateerde video's
Open videos → Open video's →
Build Hour: Reinforcement Fine-Tuning Build Hour: Reinforcement Fine-Tuning
Reinforcement fine-tuning (RFT) lets you improve how models reason by training with graders instead of large labeled datasets. This Build Hour shows you how to set up tasks, design grading functions, and run efficient training loops with ju... Reinforcement fine-tuning (RFT) helpt je om het redeneervermogen van modellen te verbeteren door te trainen met graders in plaats van grote gelabelde datasets. Deze Build Hour laat zien hoe je taken opzet, beoordelingsfuncties ontwerpt en efficiënte trainingsloops draait met ju...
Introducing gpt-realtime in the API gpt-realtime in de API geïntroduceerd
Join Brad Lightcap, Peter Bakkum, Beichen Li, Liyu Chen, Julianne Roberson, and Srini Gopalan as they introduce and demo our most advanced speech-to-speech model and new API features like MCP, SIP, image input, and more. Sluit je aan bij Brad Lightcap, Peter Bakkum, Beichen Li, Liyu Chen, Julianne Roberson en Srini Gopalan terwijl zij ons meest geavanceerde speech-to-speech-model en nieuwe API-functies zoals MCP, SIP, image input en meer introduceren en demonstreren.
More from OpenAI Meer van OpenAI
All updates Alle updatesThe next phase of the Microsoft OpenAI partnership The next phase of the Microsoft OpenAI partnership
Amended agreement provides long-term clarity. Amended agreement provides long-term clarity.
Our principles Our principles
By Sam Altman By Sam Altman
GPT-5.5 Bio Bug Bounty GPT-5.5 Bio Bug Bounty
Title: GPT-5.5 Bio Bug Bounty Titel: GPT-5.5 Bio Bug Bounty
How to get started with Codex Zo begin je met Codex
Tips to set up Codex, create your first project, and start completing real tasks. Tips om Codex in te stellen, je eerste project te maken en echte taken af te ronden.