Fine-Tuning, and When Not ToLesson 33 of 84

Module 4 · Building the dataset

Generating a dataset from a teacher

In this lesson

  • 10 min read
  • 7 reading sections
  • Knowledge check
  • Lesson 6 of 11 in this chapter

This chapter’s goalAssemble a training set from named sources with checked licences, convert it to one chat format, filter and deduplicate it, mix in replay data at a stated ratio, and publish a data card that lets a stranger reproduce the set.

This chapter’s media

The film explains chapter ideas. The audiobook narrates the complete teaching text.

FormatEnglishहिंदी
Chapter filmNot availableNot available
Full audiobookNot availableNot available

A little at a time

Explore an idea, try it, then check what stays.

Step 1 of 8Free · no account needed
Lesson steps

Start from real inputs

The most common mistake in synthetic data generation is synthesising the inputs as well as the outputs. Ask a model for “200 customer support questions” and you get 200 well-formed, grammatical, politely-phrased questions that resemble nothing your users type. Train on those and you have a model tuned for a population that does not exist.

Inputs from traffic, outputs from the teacher. That is the shape. If you have no traffic, use adjacent real text (forum posts, search queries, tickets) before you resort to invented inputs. If you must invent, invent from a taxonomy you derived from real examples, and include the ugly ones: the two-word question, the paragraph with no question mark, the one in the other language.

Your place and first choices stay on this browser. Classroom credit is recorded separately.

Every lesson here is open. Your progress is recorded once you pass the Running Models Yourself exam.

Stuck on something?Ask Rafael, your AI tutor

How to cite: Addaly (2026) ‘Generating a dataset from a teacher’, in Fine-Tuning, and When Not To. Edited by M. Mun. Addaly. Available at: https://addaly.com/learn/fine-tuning/distillation-datasets-in-practice (Accessed: 29 November 2026).