openai · OpenAI Platform Docs
Fine-tuning best practices
A guide on improving fine-tuned model performance through iterative adjustments to data quality, data quantity, hyperparameter tuning, and dataset structure.
Derived skill
Files assembled from official documentation
Viewing SKILL.md
Fine-tuning best practices
A guide on improving fine-tuned model performance through iterative adjustments to data quality, data quantity, hyperparameter tuning, and dataset structure.
When To Use
Use when you need to diagnose poor fine-tuning results or optimize a model's accuracy, style, and consistency through data and hyperparameter iterations.
Reference Files
| File | Contains | Use For |
|---|---|---|
SKILL.md | Entry point: scope, routing table, and workflow. | Start here. |
docs/fine-tuning-best-practices-workflow-guide.md | A guide detailing strategies for iterating on data quality, quantity, and hyperparameters to improve fine-tuned model performance. | Questions about a guide detailing strategies for iterating on data quality, quantity, and hyperparameters to improve fine-tuned model... |
examples/fine-tuning-best-practices-openai-fine-tuning-jobs-create.javascript | A JavaScript code example demonstrating how to create a fine-tuning job using the OpenAI Node.js library. | Exact payloads, commands, or snippets shown in A JavaScript code example demonstrating how to create a fine-tuning job using the OpenAI Node.js library. |
examples/fine-tuning-best-practices-openai-finetuning-job-creation.python | A Python script demonstrating how to create a supervised fine-tuning job using the OpenAI client library. | Exact payloads, commands, or snippets shown in A Python script demonstrating how to create a supervised fine-tuning job using the OpenAI client library. |
examples/fine-tuning-best-practices-openai-fine-tuning-best-practices-training-da.jsonl | A JSONL formatted dataset containing system, user, and assistant message pairs used to demonstrate fine-tuning training data structure. | Exact payloads, commands, or snippets shown in A JSONL formatted dataset containing system, user, and assistant message pairs used to demonstrate fine-tuning traini... |
What This Skill Covers
- If you're not getting strong results with a fine-tuned model, consider the following iterations on your process.
- Main sections:
Iterating on data quality,Iterating on data quantity,Iterating on hyperparameters,Adjust your dataset,Training vs. testing datasets.
Workflow
- Open the most relevant file under
docs/for the exact documented workflow and wording. - Open
schemas/files for exact structured contracts. - Open
examples/files for concrete requests, commands, snippets, and manifests. - Do not add behavior or configuration that is not present in the attached source files.
Canonical source: https://developers.openai.com/api/docs/guides/fine-tuning-best-practices.md
