Fine-tuning is the process of further training an already-trained AI model on a smaller, specific dataset so it becomes better at a particular task or adopts a particular style or behavior.
What is fine-tuning?
Fine-tuning takes a model that has already learned general language patterns during pretraining and continues training it on a narrower, task-specific dataset. Instead of starting from scratch, fine-tuning adjusts the model's existing weights, which is far cheaper and faster than training a new model from zero.
How fine-tuning works
A base model is exposed to a curated set of examples — question-and-answer pairs, labeled customer support tickets, or company-specific documents — and its parameters are nudged so it produces outputs more aligned with that data. A common variant, reinforcement learning from human feedback, fine-tunes a model using human ratings of its responses rather than fixed example answers.
What fine-tuning is used for
Companies fine-tune models to specialize in a domain, such as legal or medical text, to match a specific tone of voice, or to teach a model to follow instructions and refuse unsafe requests. Fine-tuning is also how a general-purpose foundation model becomes a product-specific assistant.
Fine-tuning vs prompt engineering
Fine-tuning changes the model itself; prompt engineering changes only the instructions given to an unmodified model at request time. Fine-tuning is more powerful for teaching a lasting behavior but requires training infrastructure and data, while prompt engineering is faster to iterate on and needs no retraining at all.