Back to Glossary
Concept

Fine-Tuning

Training an existing AI model on your specific data to specialize its behavior.

Share

Definition

Fine-tuning is the process of taking a pre-trained AI model and training it further on a specific dataset to specialize its behavior for a particular task or domain. It's like hiring a general contractor and then training them specifically on your company's building standards. The base model already knows how to "build" (generate text), but fine-tuning teaches it the specific style, terminology, and patterns relevant to your use case.

Fine-tuning is more involved than prompt engineering — it requires training data, compute resources, and technical expertise. It's typically used when prompt engineering alone can't achieve the desired level of specialization, consistency, or performance.

Examples

1

Fine-tuning GPT-4 on thousands of your company's customer support conversations so it matches your brand voice perfectly

2

Training a model on medical literature so it understands clinical terminology and can assist healthcare professionals

Related Terms

Frequently Asked Questions

Should I fine-tune or use prompt engineering?
Start with prompt engineering — it's faster, cheaper, and easier to iterate. Only fine-tune if you need very specific behavior that prompts can't achieve, like matching a highly specific writing style or understanding domain-specific terminology.
How much data do I need for fine-tuning?
It depends on the task. For basic style matching, a few hundred examples may work. For complex domain specialization, you might need thousands of high-quality examples. Quality matters more than quantity.

Build prompts using this concept

Explore our prompt library and put fine-tuning into practice with ready-to-use templates.

Build prompts using this concept