Mark Levy/Writing/The Word Machine

[ Floor 2 of 3 ] Behind the glass
From your question to its answer: inference, thinking, effort, and pictures on the same loop.
New here? Clear Floor 1, the monster itself, first.
Floor 1 established the machine: given some text, predict a plausible next word. Trillions of frozen knobs, attention look-backs, run in a loop, with the context as its only memory. If any of that sounds new, start there.
Floor 2 answers the questions crawlers ask next. How does a question ever start an autocomplete? What is "inference"? What are the machines doing when they "think," and what does an "effort" setting actually buy? And how does a text-completion machine look at a screenshot?
Five rooms. As before, every demo is a hand-built toy with illustrative numbers; the point is the mechanism, not the measurements.
Room 1 of 5The Masquerade
The machine doesn't answer questions. It continues text. So the product never hands it your question alone. It assembles a transcript, a little screenplay in which a helpful assistant is about to speak, and asks the machine to continue that. Your message is one block in the stack; the last line is the trigger.
Press the button and watch the costume go on: this is what the machine actually receives.
One thing is still missing: why would a raw autocompleter continue that script helpfully? Out of big training (Floor 1, Room 3), it wouldn't. It would just continue the pattern. So models get a second, smaller round of training on example conversations, written and rated by people, until "what a helpful assistant says next" becomes the likeliest continuation. Same question, before and after:
Chat is a costume. The machine never stopped being an autocompleter. The product dresses your question in a transcript where an assistant speaks next, and tuning made the helpful continuation the likely one. Even the reply's ending is a prediction: the end-of-turn token is an ordinary candidate on the list, learned like every other word.
Room 2 of 5The Forge and the Field
The machine has two lives, and the vocabulary keeps them straight. Training is the rare one: knobs moving, trillions of examples, months in a datacenter. It happens before you ever meet the model. That's the forge, where the blade was hammered into shape, once. Inference is the other life, and it's the only one you ever touch: the frozen machine, run forward. Text in, one word out. That's the field, where the blade gets swung. Every message you send triggers it.
The word is borrowed from statistics: the machine infers the next word from the input. Flip the switch and compare the two lives.
If you're chatting, it's inference. Nothing you type moves a knob. When a conversation seems to "learn," that's the growing context doing the work (Floor 1, Room 5), not the machine changing. Learning-the-machine-way happened once, in the forge, before release.
Room 3 of 5The Wizard's Study
Here's a hard limit from Floor 1: the circuit is one-way, and every token gets the same fixed slice of computation, one pass. A hard problem doesn't get a bigger slice; it gets a plausible-shaped guess.
The workaround is delightfully low-tech: before answering, let the machine write to itself. Scratch text, generated by the same next-word loop, goes into the context, where the final answer's attention look-backs can anchor to worked steps instead of leaping to a guess. Like a wizard who writes the working out on a scroll before casting: no new magic, just more ink.
Thinking is more turns of the same crank. The machine buys computation by spending tokens, and the scratch scroll lives in the context where attention can use it. This is also why "think step by step" helps in a plain prompt: you're inviting the scratch work into the transcript, the only workspace the machine has.
Room 4 of 5Spell Slots
If thinking is spending tokens, someone has to set the budget. That's all an effort setting is: a cap on how much scratch text the machine may write before answering. Spell slots, in other words. It doesn't make the caster smarter (same knobs at every position); it buys more passes.
Choose a budget and watch what it costs, and what it's worth, on an easy question versus a genuinely hard one.
TASK A — "What's the capital of France?"
TASK B — "Three staff, six scheduling rules — build Friday's shift plan."
Effort is a budget, not a brain transplant. Match it to the problem: an easy question at high effort buys the same answer at thirty times the price, and a hard one at low effort gets Room 3's first button, a confident guess.
Room 5 of 5The Gallery
The loop carries tokens: numbers standing for word-pieces. Nothing in the machinery cares that they started as words. So to let the machine see, a second, smaller machine (a vision encoder) chops the image into a grid of patches and turns each patch into the same kind of number-list a word gets, a point in the meaning-space from Floor 1, Room 1. Those patch-tokens are spliced into the context right next to your words, and from there it's business as usual: attention reaches into the picture exactly the way it reaches back at words.
The machine doesn't see pictures. It reads them. Once an image is patches in the context, it's text-like all the way down. That's why it can describe a chart beautifully and still misread the fine print: a patch, like a token, is a coarse unit, and detail smaller than the unit is a bet, not an observation.
InventoryFloor 2 vocabulary
Floor 2's product words, each with its exact address in the rooms above:
Floor 1's punchline still holds. None of this replaced the machine. Inference runs it, thinking runs it longer, effort chooses how much longer, and vision feeds it different freight. It's next-word prediction all the way down.
Floor clearedWhat this buys you
Four more rules fall straight out of these five rooms:
That's the whole floor: a completion machine in a costume, run frozen, sometimes allowed to mutter to itself first, fed pictures chopped into words. Climb back up to Floor 1 whenever the fundamentals need a refresher.
Stairs down. Floor 3 is where the monster gets a party: the loop that lets it act on the world, the character sheet that tells it who to be, the spellbook of tools it can cast, familiars it can summon, wards at every door, and the map that decides what it gets to read. Same monster. Now with a harness.
Descend to Floor 3 Back to the mapThe mental model continues John Mount's "A Simplified Mental Model of LLMs" (Win-Vector): the machine's mechanics are Floor 1's territory; this floor extends the same non-magical framing to the plumbing around it.
The teaching style, poking the simulation instead of reading the bullet list, follows Laurentiu Gabriel's "How I Use LLMs to Learn". All demos on this page are illustrative toys, not real model outputs.