How a chatbot works inside: tokens, meaning, attention and the transformer, how models are trained and scaled, and why they hallucinate.
Each module explains one idea in plain words, lets you try it, then checks what stuck.
Understand the one simple job every LLM does, over and over: guess the next token.
See how text becomes the numbers a model can work with, and why words get cut into pieces.
See how each token becomes a list of numbers, and how those numbers come to capture meaning.
Understand how similarity and meaning become geometry: angles and directions between vectors.
See why a pile of word vectors loses who-did-what-to-whom, and how models stamp tokens with their position.
Understand what held older language models back, and the two problems the transformer solved.
Understand attention: how each token gathers information from the tokens that matter for it.
See why transformers run many attentions side by side, each free to look for a different kind of link.
See the whole machine: how tokens flow up a tall stack of identical blocks and come out as predictions.
Follow one question all the way from your keyboard to a finished answer, pass by pass.
Learn how the model turns probabilities into one actual choice, and what temperature and top-p really do.
See where an LLM’s knowledge comes from: what pre-training data is, how it’s cleaned, and what it produces.
Understand why bigger models got predictably better, how to split a budget between size and data, and where it stops.
Understand the training stages that turn a text predictor into a helpful assistant.
See how LoRA fine-tunes a huge model by training a tiny add-on instead of every weight.
Understand why writing out steps makes models smarter, and what reasoning models are trained to do.
Understand what a context window is, what fills it, and what happens when a conversation outgrows it.
See why a model that can read a huge input doesn’t necessarily use all of it well.
Understand why LLMs state false things confidently, and what actually helps.
See how mixture-of-experts models store many parameters but use only a few of them for each token.
See how models are shrunk to fewer bits per weight, and the trick that keeps them accurate.