Skip to content

What is fine-tuning?

Teaching a model how to behave — not what is true.

By Fiqhro Dedhen3 min readEdited by Fiqhro Dedhen

Fine-tuning is taking a model that already exists and training it a bit further on examples you supply. You are not building a model from scratch — that costs millions. You are adjusting one that already speaks English to speak it the way you want.

What it is actually good at

Fine-tuning changes behaviour, reliably:

  • Format. Always return JSON in this exact shape. Always use this structure.
  • Tone. Sound like our support team, not like a press release.
  • A narrow task done consistently. Classify tickets into these nine categories.
  • Dropping the preamble. Stop saying "Certainly! Here's a…" every time.

The pattern: things you could explain in a prompt but would rather not repeat on every request, and which need to be consistent rather than approximately right.

What it is bad at

Teaching facts. This is the expensive mistake, and it's made constantly.

Fine-tuning on your product documentation does not install that documentation in the model. It teaches the model to produce text shaped like your documentation — the register, the vocabulary, the structure. Asked a specific question, it will now generate confident, on-brand, plausibly-formatted answers that may be entirely invented. You have made hallucinations harder to spot, not less frequent.

If the answer lives in a document, retrieve the document. That's RAG.

Choosing between the three options

Your problemReach for
It gets the facts wrongRAG
Facts change oftenRAG
You need to cite sourcesRAG
The format is inconsistentFine-tuning
The tone is wrongFine-tuning
Your prompt is enormous and repetitiveFine-tuning
You have fewer than ~100 good examplesPrompting
You aren't surePrompting, then RAG, then fine-tuning

Work down that list in order. Prompting costs nothing to try. Fine-tuning costs money, a dataset, and a retraining step every time you change your mind.

LoRA, and why fine-tuning got cheap

Full fine-tuning updates every weight in the model — expensive, and it produces a whole new copy. The 2021 LoRA technique took a different route: freeze the original model and train a small set of additional weights alongside it. The result is a small adapter file rather than a new model.

This is most of why fine-tuning became practical for ordinary teams. It's also why you can host one base model and swap between many fine-tunes cheaply.

Before you fine-tune

Your dataset is the whole job. A few hundred genuinely good examples beat tens of thousands of mediocre ones, and the model will faithfully learn any inconsistency you leave in. Most failed fine-tuning projects are dataset problems, discovered late.

What we addedA decision table for fine-tuning vs RAG vs prompting, and the specific reason fine-tuning fails at teaching facts.

This article was researched and drafted with AI assistance from the sources listed below, then checked and edited by Fiqhro Dedhen before publication. How we work.

Sources

3 cited · 3 primary

  1. 1
    PrimaryarXiv (Hu et al.)
    LoRA: Low-Rank Adaptation of Large Language Models

    The adapter technique that made fine-tuning affordable.

    arxiv.org · accessed 17 Jul 2026

  2. 2
    PrimaryHugging Face
    PEFT

    Reference docs for parameter-efficient fine-tuning methods including LoRA.

    huggingface.co · accessed 17 Jul 2026

  3. 3
    PrimaryarXiv (Ouyang et al.)
    Training language models to follow instructions with human feedback

    The InstructGPT paper — fine-tuning used to change behaviour rather than knowledge.

    arxiv.org · accessed 17 Jul 2026

Primary sources are the company, paper or repository itself. Reporting is established press, used to corroborate. Community is used to find stories, never to establish facts.