The training shows through
Prompt advice looks like folklore — roles, examples, magic phrasings, review steps. It isn't. Every practice that survives contact with real work is a patch for a specific property of how the model was made. Learn the making, and you can derive the practices instead of memorizing them.
There is a reason prompt advice feels arbitrary: most of it is handed down as tips, stripped of the mechanism that makes each tip work. So people collect incantations, the incantations age, and the whole discipline gets dismissed as vibes. The fix is to start one layer down. A language model is a manufactured thing, built in a short sequence of steps — and each step leaves marks on its behavior that no later step removes. Once you can name the marks, the practices stop being folklore and start being obvious.
Step one: a machine that continues
The first and by far the largest step is pretraining. Take trillions of words — a filtered copy of much of the public web, books, code — and train one network on a single, monotonous exercise: given the text so far, guess the next small chunk (a token — roughly three-quarters of a word). Guess, get corrected, adjust, repeat — on the scale of trillions of guesses.
To get good at that game across law, poetry, Python, and shopping lists, the network is forced to compress real structure: grammar, facts, styles, arguments, the shape of a good proof and of a bad excuse. That's where the capability lives. But notice what the exercise actually rewards: continuation. The result of pretraining — the base model — doesn't answer questions, doesn't chat, and has no goals. It is an autocomplete with a worldview: hand it half a contract and it writes more contract; hand it half a conspiracy theory and it obliges with the other half.
A base model has no concept of “true,” only of “likely to come next.” Everything you will ever dislike about a chatbot's confidence starts here.
Step two: turning autocomplete into an assistant
The assistant character is installed afterwards, in tuning passes that are tiny compared to pretraining but decide the personality:
- Instruction tuning. The base model is shown many thousands of worked examples of the assistant pattern — a request, then a good response. It learns the form: when text looks like a question, continue it the way a helpful answer would.
- Preference tuning. The model produces multiple answers; humans (and increasingly, other models applying written rules) pick the better one; the model is adjusted toward what wins. Run at scale, this makes it helpful, polite, and safe — by training it toward approval.
- Reasoning training. The newest pass: on problems with checkable answers — math, code, logic — the model is rewarded for working step by step toward verifiably correct results. This is what “thinking” modes are made of.
Preference tuning is where the most consequential scars come from, and they're well documented. Train toward approval and you get sycophancy: models measurably agree with their user and soften criticism, because agreement wins votes. Grade models on having answers and a confident wrong answer outscores an honest “I don't know” — OpenAI's own analysis of hallucination makes exactly this argument: models guess because the way we score them rewards guessing. And because raters tend to prefer thorough-looking responses, length quietly wins too — which is why models pad.
What happens when you press send
One more fact completes the picture. At the moment you use a model, its weights are frozen. It learns nothing from your conversation. Everything it will consider — your instructions, your material, the chat so far — must fit in the context window, the model's entire world for this one run. It reads that world and produces the most plausible continuation, in the persona the tuning installed. That's the whole transaction.
The practices, traced
Now the folklore resolves. Here is the ledger — on the left, a fact about how the machine was made; on the right, the prompt practice that exists because of it:
Prompt engineering is not learning magic words. It is engineering against a machine whose manufacturing defects are documented.
This is also why practices age. “Take a deep breath” and its cousins were real, measurable tricks on earlier generations — artifacts of thinner tuning — and the better the tuning gets, the less such incantations matter, while everything in the ledger above keeps mattering, because it patches the architecture of the making, not a passing quirk. Advice tied to quirks expires. Advice tied to the pipeline compounds.
Sources & further reading: in-context learning — Brown et al., “Language Models are Few-Shot Learners” (2020) · the tuning recipe — Ouyang et al., “Training language models to follow instructions with human feedback” (2022) · position effects — Liu et al., “Lost in the Middle” (2023) · approval side effects — Sharma et al., “Towards Understanding Sycophancy in Language Models” (2023) · length bias in preference tuning — Singhal et al., “A Long Way to Go: Investigating Length Correlations in RLHF” (2023) · why grading rewards guessing — Kalai et al., “Why Language Models Hallucinate” (OpenAI, 2025). Simplifications are ours; the mechanisms are theirs.