Prompt Buddy logoPrompt Buddy

openai · OpenAI Platform Docs

Fine-tuning best practices | OpenAI API

Provides strategic guidance on optimizing model performance through data preparation, training configuration, and evaluation techniques for fine-tuning.

Import to Prompt Buddy

Derived skill

Files assembled from official documentation

Viewing SKILL.md

Fine-tuning best practices | OpenAI API

Provides strategic guidance on optimizing model performance through data preparation, training configuration, and evaluation techniques for fine-tuning.

When To Use

Use when preparing datasets, selecting hyperparameters, or troubleshooting poor model performance during the fine-tuning process.

Reference Files

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/fine-tuning-best-practices-openai-api-workflow-guide.mdA 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-api-openai-fine-tuning-job-creation-no.textA JavaScript code snippet demonstrating how to create a fine-tuning job using the OpenAI Node.js SDK with specific hyperparameters.Exact payloads, commands, or snippets shown in A JavaScript code snippet demonstrating how to create a fine-tuning job using the OpenAI Node.js SDK with specific hy...
examples/fine-tuning-best-practices-openai-api-openai-finetuning-job-creation-pyt.textA Python code snippet demonstrating how to create a supervised fine-tuning job using the OpenAI client.Exact payloads, commands, or snippets shown in A Python code snippet demonstrating how to create a supervised fine-tuning job using the OpenAI client.
examples/fine-tuning-best-practices-openai-api-openai-fine-tuning-messages-datase.textA JSONL-formatted dataset example demonstrating the messages structure with system, user, and assistant roles for fine-tuning.Exact payloads, commands, or snippets shown in A JSONL-formatted dataset example demonstrating the messages structure with system, user, and assistant roles for fin...

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

  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/fine-tuning-best-practices