openai · OpenAI Platform Docs
Supervised fine-tuning | OpenAI API
Explains the process of supervised fine-tuning to improve model performance on specific tasks using labeled datasets.
Derived skill
Files assembled from official documentation
Viewing SKILL.md
Supervised fine-tuning | OpenAI API
Explains the process of supervised fine-tuning to improve model performance on specific tasks using labeled datasets.
When To Use
Use when you need to train a custom model to follow specific instructions, adopt a particular tone, or perform specialized tasks more accurately than a base model.
Reference Files
| File | Contains | Use For |
|---|---|---|
SKILL.md | Entry point: scope, routing table, and workflow. | Start here. |
docs/supervised-fine-tuning-openai-api-workflow-guide.md | A guide explaining the principles of supervised fine-tuning, including dataset construction and example quality requirements for OpenAI models. | Questions about a guide explaining the principles of supervised fine-tuning, including dataset construction and example quality requi... |
examples/supervised-fine-tuning-openai-api-openai-supervised-fine-tuning-messages.text | A JSONL formatted dataset containing user and assistant message pairs for supervised fine-tuning of OpenAI models. | Exact payloads, commands, or snippets shown in A JSONL formatted dataset containing user and assistant message pairs for supervised fine-tuning of OpenAI models. |
examples/supervised-fine-tuning-openai-api-openai-api-supervised-fine-tuning-mess.text | A text representation of the message object structure used for supervised fine-tuning datasets, including user and assistant roles with tool calls. | Exact payloads, commands, or snippets shown in A text representation of the message object structure used for supervised fine-tuning datasets, including user and as... |
examples/supervised-fine-tuning-openai-api-openai-api-fine-tune-upload-curl.text | A curl command demonstrating how to upload a JSONL file to the OpenAI API with the purpose set to fine-tune. | Exact payloads, commands, or snippets shown in A curl command demonstrating how to upload a JSONL file to the OpenAI API with the purpose set to fine-tune. |
examples/supervised-fine-tuning-openai-api-openai-fine-tuning-upload-response-jso.text | A JSONL object representing the API response after uploading a file for supervised fine-tuning. | Exact payloads, commands, or snippets shown in A JSONL object representing the API response after uploading a file for supervised fine-tuning. |
examples/supervised-fine-tuning-openai-api-openai-api-create-fine-tuning-job-curl.text | A curl command demonstrating how to initiate a supervised fine-tuning job using the OpenAI API. | Exact payloads, commands, or snippets shown in A curl command demonstrating how to initiate a supervised fine-tuning job using the OpenAI API. |
examples/supervised-fine-tuning-openai-api-openai-api-finetuning-job-object-respo.text | A JSON representation of a completed fine-tuning job object containing status, model details, and result file IDs. | Exact payloads, commands, or snippets shown in A JSON representation of a completed fine-tuning job object containing status, model details, and result file IDs. |
examples/supervised-fine-tuning-openai-api-openai-api-distillation-curl-request.text | A curl command demonstrating a request to the OpenAI API using a fine-tuned model for distillation. | Exact payloads, commands, or snippets shown in A curl command demonstrating a request to the OpenAI API using a fine-tuned model for distillation. |
examples/supervised-fine-tuning-openai-api-openai-api-retrieve-fine-tuning-job-cu.text | A curl command used to retrieve the status and details of a specific fine-tuning job via the OpenAI API. | Exact payloads, commands, or snippets shown in A curl command used to retrieve the status and details of a specific fine-tuning job via the OpenAI API. |
examples/supervised-fine-tuning-openai-api-openai-api-supervised-fine-tuning-curl.text | A curl command demonstrating how to send a request to a fine-tuned model using the OpenAI API. | Exact payloads, commands, or snippets shown in A curl command demonstrating how to send a request to a fine-tuned model using the OpenAI API. |
examples/supervised-fine-tuning-openai-api-openai-finetuning-job-checkpoint-json.text | A JSON object representing a fine-tuning job checkpoint including model ID, step number, and validation metrics. | Exact payloads, commands, or snippets shown in A JSON object representing a fine-tuning job checkpoint including model ID, step number, and validation metrics. |
What This Skill Covers
- Supervised fine-tuning (SFT) lets you train an OpenAI model with examples for your specific use case. The result is a customized model that more reliably pro...
- Main sections:
Overview,Build your dataset,Right number of examples,What makes a good example,Formatting your data.
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/distillation
