
The entire machine drawn once, end to end: text becomes tokens, tokens become points on a map of meaning, the points climb a stack where every word studies every other word, and everything gets squeezed into one best guess that loops back in. The one idea everything rests on: a language model does exactly one thing.
Ask a model how many R's are in "strawberry" and there is a good chance it says two. Not because it is stupid, because it never sees the letters. Byte-pair encoding built live, and the counting failure stops being a mystery.
Every token becomes a point on a map, and position on that map IS meaning. Relationships become directions: king minus man plus woman lands next to queen, checked against a real model's nearest neighbors. One honest catch closes the lecture: these points are frozen.
Attention built from scratch on one sentence: queries, keys, values, softened scores, a real attention heatmap. The close: swap "tired" for "wide" and watch the arrow flip from the animal to the street.
The unit the whole model is made of, and the residual stream: a river no step is allowed to erase, only to write on. Attention reads across the lanes, the MLP gives each word a private think, and the same block gets stamped dozens of times.
The block in a frontier model is nearly the same drawing as years ago. What changed: four surgical upgrades, each killing one pain. The KV cache, rotary positions, mixture of experts, and long context.
Nobody typed the facts in. One loop at absurd scale: guess the next word, measure the miss, nudge every weight downhill. A miniature model trains on screen, and sentences crystallize out of noise: spelling first, then grammar, then facts.
Why a machine invents a perfect citation while sounding exactly as confident as when it is right. Training rewarded plausible, never true, and there is no truth meter anywhere in the machine. Once you see that, hallucination stops being spooky.
A freshly pretrained model answers questions with more questions. The fix is almost embarrassingly small: a few thousand examples of being helpful. The before/after flip on a real model is the clearest single demo in the course.
People compare pairs of answers, the comparisons train a judge, and the model gets nudged toward what the judge scores higher. Nobody wrote the assistant voice into a rulebook; it was preferred into existence. The honest catch: a judge you can fool.
Same model, same question: instant answer wrong, steps first right. The scratchpad IS the thinking, every written step becomes context the next step reads. Then the modern twist: reward the chains that land on checkable answers, and the compute dial with its plateau.
The model never picks a word. It hands over a probability spread, and a separate step rolls the dice. All the randomness lives in that one step, and you control its dials: temperature, top-p, greedy.
The finale: one real prompt walked through every piece, slowly, with every stage named. Tokens, points, attention, the stack, the spread, the pick, the loop. Every box is now something you can name and explain.
Everyone uses these models. Almost nobody can say what actually happens between typing a question and getting an answer.
This is a 13-lecture course that opens the machine. Not with math walls or framework tutorials, with one picture, drawn in front of you, that builds across the whole series: your words become tokens, tokens become points on a map, attention lets the points look at each other, a stack of identical blocks turns lookups into understanding, and one probability spread picks the next word. Then the loop runs again.
Along the way you watch a miniature model get trained on screen: the loss curve inking down, gibberish turning into sentences, a plain text predictor learning to answer questions, then learning manners from human preferences. You also learn why models can count wrong, why they hallucinate with full confidence, why the same prompt gives different answers, and where the reasoning trend actually comes from.
Every lecture opens one question and closes it. Every diagram is drawn in front of you, one stroke at a time, timed to the words. No prerequisites beyond curiosity: no code, no math beyond arrows and bars.
By the capstone you can trace one prompt through the entire machine and name every box it passes through. The mystery is gone; what is left is a machine you understand.