# Supervised Fine-Tuning (SFT)

- **Canonical URL:** https://getaimath.com/dictionary/supervised-fine-tuning-sft/
- **Topics:** [Model Training & Optimization](https://getaimath.com/dictionary/category/model-training-and-optimization/)
- **Last updated:** 2026-11-25

## What is Supervised Fine-Tuning (SFT)?

**In one sentence:** Supervised fine-tuning trains a pre-trained model on example conversations with good answers, so it learns to respond the way we want.

After pre-training, a model knows a lot but does not yet behave like a helpful assistant. In SFT, people write high-quality prompt-and-answer pairs, and the model learns to copy that style. It is usually the first step in turning a raw model into a chatbot.

![How an AI Goes to School: 3 Steps from Bookworm to Assistant — Simple 3-step cartoon showing an AI 1. Reading the whole library (Pre-training) to become a Bookworm, 2. Practicing polite Q&A with a teacher (Fine-tuning), and 3. Getting thumbs-up and thumbs-down feedback from humans (RLHF).](https://getaimath.com/diagrams/model-training-and-optimization.png)
*Napkin Diagram (Model Training & Optimization): First the model reads the internet to learn facts; next it practices answering questions; finally humans coach its manners.*

## What is an example of Supervised Fine-Tuning (SFT)?

Showing a model thousands of examples like "Q: How do volcanoes work? A: [clear, friendly answer]" is SFT.

## Why does Supervised Fine-Tuning (SFT) matter?

SFT is how a text-predicting model becomes a question-answering assistant.

## Related Concepts

- [Fine-tuning](https://getaimath.com/dictionary/fine-tuning/): Fine-tuning is giving an already-trained AI model extra training on a smaller, focused set of examples so it gets good at a specific job.
- [Instruction Tuning](https://getaimath.com/dictionary/instruction-tuning/): Instruction tuning is fine-tuning a model on many examples of instructions and correct responses, so it learns to follow directions.
- [Pre-training](https://getaimath.com/dictionary/pre-training/): Pre-training is the first, giant training stage where a model learns general knowledge from enormous amounts of data.
- [Preference Tuning](https://getaimath.com/dictionary/preference-tuning/): Preference tuning trains a model to give answers that people prefer, using comparisons between better and worse responses.
- [Reinforcement Learning from Human Feedback (RLHF)](https://getaimath.com/dictionary/reinforcement-learning-from-human-feedback-rlhf/): RLHF is a way to improve a chatbot by having people rate its answers and then training it to give the kinds of answers people prefer.
- [Direct Preference Optimization (DPO)](https://getaimath.com/dictionary/direct-preference-optimization-dpo/): DPO is a simpler way to do preference tuning that trains directly on "better vs worse" answer pairs, without a separate reward model.

---
Source: The AI Math Dictionary (https://getaimath.com/dictionary/supervised-fine-tuning-sft/)
