How AI Chatbots Actually Work · Part 3 of 5
How AI Learns: Training, in Plain English
How AI learns, in plain English and with no math: hide the next word, measure the surprise, and nudge the weights. Those dials are stored experience.
11 Nov 2026

Training is industrial-scale editorial revision: nudge millions or billions of knobs so that, on average, the next-word guess gets less wrong.
Show the model a stretch of real text with the next token hidden. Ask for a probability distribution. Measure how surprised it was by the true next token — the loss. Then adjust the weights slightly in the direction that would have made that true token more likely, without wrecking everything else.
Gradients say which way to turn each dial. AdamW is a widely used recipe that keeps a short memory of recent gradients and scales steps accordingly, while decaying weights so they do not drift without bound. Learning is repeated, local, statistical repair.
Step 0 · loss ≈ 2.40. The dial settings that remain after training are the weights — stored experience, frozen as numbers.

Scale matters because language is long-tailed. Modest networks learn local grammar and common collocations; rare facts and fragile analogies tend to demand more parameters, more data, and more compute. When training finishes, you have a compressed, procedural residue of experience — not a database of documents.