Where do millions of training examples come from? Increasingly, the model writes them itself — inventing harder questions, working out full solutions, and keeping only the answers that pass a check.
Fine-tuning needs millions of instruction→answer pairs, and humans can't write them all. So a strong model rewrites a plain seed prompt into harder, richer variants — a trick called Evol-Instruct.
A right answer isn't enough to train on — the model should learn how to get there. So the generator writes the full step-by-step solution, and that whole trace becomes the training target.
Generation is cheap and often wrong, so the model makes many attempts and a verifier throws out the bad ones. Only the samples that pass become training data — this filtering is called rejection sampling.
A verifier gives a clean yes/no, but most answers aren't right-or-wrong — one is just better than another. Next, the reward model: how a network learns human preference from A-vs-B choices, so it can score answers no rule could check.