Prompt Buddy logoPrompt Buddy

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.

Import to Prompt Buddy

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

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/supervised-fine-tuning-openai-api-workflow-guide.mdA 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.textA 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.textA 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.textA 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.textA 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.textA 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.textA 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.textA 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.textA 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.textA 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.textA 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

  1. Open the most relevant file under docs/ for the exact documented workflow and wording.
  2. Open schemas/ files for exact structured contracts.
  3. Open examples/ files for concrete requests, commands, snippets, and manifests.
  4. 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