The Dataset Is the Lesson
Ask experienced fine-tuners where the work is and most will give the same answer: not the training run. The training run is an hour of computing. The dataset — the set of examples you show the model — is the lesson you are teaching, and the model will learn the lesson you actually wrote, not the one you meant to write. Every habit in the data, including the accidental ones, is a habit the model is being paid to copy.
That is why this guide spends two chapters on data and one on the run itself.
The rule, where it does its work
Chapter 1 stated the rule: train only on data you have the right to use. The dataset is the place the rule becomes practical:
- Your own writing — your answers, your documentation, your words: yours to train on.
- Your organisation's material — usable with the organisation's permission, and worth a moment's care: a support archive contains your customers' words too, and their names, addresses and order numbers are not training data just because they are in the file.
- Licensed data — public datasets carry licences; read them. "Free to download" and "free to train on" are different sentences.
- Other people's work — books, articles, another company's manuals, a competitor's support answers: not yours to spend, however easy to scrape.
Strip personal details out of real material before it goes anywhere near a training file, and keep the raw archive out of the repository. The lab in this guide avoided the whole question by inventing its data, which for learning the craft is not a compromise at all: invented data whose properties you chose teaches the mechanism better than real data whose properties you are guessing at.
Quality: the model copies the teacher
Three properties decide what a dataset teaches, in this order.
Consistency. If your 200 examples answer in five different voices, the model learns that voice is a coin flip. One voice, one structure, one set of habits, held steady across every example, is what turns data into behaviour. This is the cheapest quality there is: it costs attention, not money.
Correctness. Errors in the data are learned with the same loyalty as truths. A dataset of support answers with three wrong torque settings in it trains a model that gives wrong torque settings confidently, in a lovely consistent voice. Check facts in training data the way you would check them in a printed manual — because that is what you are printing, one generation removed.
Coverage. The model can only learn to handle situations it has seen handled. If every example is a happy customer with a simple question, the model has no lesson for the angry one or the strange one, and will improvise — fluently, in your house style, and wrong. List the kinds of case the model must handle, and make sure each kind is in the book.
Quantity: less than you fear
For teaching behaviour — style, format, routine — the numbers are smaller than the headlines suggest. Tens of excellent examples teach a visible habit to a small model (the lab uses 24, and chapter 8 shows what 24 bought). Hundreds to a few thousand is the working range for a serious style or format job. Facts are the hungry case: teaching knowledge takes far more data and works far worse, which is chapter 1's argument for RAG in another form.
Two warnings about size, in opposite directions. Too few examples of a kind, and that kind is a rumour. Too many passes over a small dataset, and the model stops learning the habit and starts memorising the pages — chapter 6 shows the fingerprint of that in the loss figures, and chapter 8 shows it in the answers.
The lab's dataset
The lab's dataset is 24 short support answers about the Kestrel K-2, a kettle that does not exist, sold by Harbour & Pine, a company that does not exist. Every answer obeys the same house style, chosen so its fingerprints are easy to see in the output:
- It opens with the same sentence: Thanks for asking about the Kestrel K-2.
- It answers in one to three plain sentences, with the numbers stated exactly (1.7 litres, two years, 75 centimetres).
- It closes with the same sign-off: Anything else, just ask.
The invented facts are consistent across examples, the way a real manual is consistent: the light ring that is red while heating in one answer is the ring that turns green at temperature in the test questions of chapter 8. That consistency is deliberate, and it is what makes the held-out test in chapter 8 a test of learning rather than of luck.