Glossary
Every term the notebook uses, in plain language, pointing to the note that explains it properly. A place to look something up, not to learn it.
- Calibration
- How well a stated or internal confidence matches how often the answer is actually right: a well-calibrated "90%" is right about nine times in ten. Two things get called confidence: the score the winning token had inside the model, which products rarely show, and the percentage the model writes in its reply, which is predicted text and is usually too high.Explained properly in Note 07.
- Context window
- The fixed amount of text a model can have in front of it at one time: your question, the conversation so far, any document you pasted, and the answer it is writing. When it is full, the oldest text drops out. It is a working space, not a memory.Explained properly in Note 09, Section 3.
- Chain-of-thought
- Having the model write out intermediate steps before the answer, so that each step is a smaller prediction and earlier steps sit in the text where it can read them back. It is the model's substitute for working memory. It improves arithmetic and multi-step questions and still degrades as the steps multiply, because every step is a prediction. The "reasoning" models of Section 8 are this idea taken much further.Introduced in Note 06; explained properly in Section 8.
- Hallucination
- A fluent output not supported by the model's training text or by anything put in front of it: an invented reference, a wrong date stated plainly, a real source offered as an answer to a question it does not address. Not a separate mode; the ordinary next-word loop producing the shape of an answer without the substance. Some researchers prefer "confabulation".Explained properly in Note 05.
- Model
- The trained system that turns text in into text out. It is not the same as the product you use it through: the chat window, the search, the memory features and the safety rules are wrapped around the model by whoever built the product.Explained properly in Note 12, Section 3.
- Open-weights model
- A model whose trained numbers are published, so anyone can download it and run it on their own machine, with no product wrapped around it and, if they choose, no network. Several of the practicals from Section 2 onward use one as a control: what it says comes from the weights alone, with no hidden search, no code tool and no instruction sheet unless you write one.First used in Practical 07.
- RLHF (reinforcement learning from human feedback)
- The second stage of training, after next-word prediction: people compare pairs of answers, a reward model learns their preferences, and the language model is adjusted to produce answers that score well. It is where helpfulness, hedging and politeness come from, and where unintended preferences, such as for agreement, get in.Explained properly in Note 08.
- Sycophancy
- A model's tendency to agree with the person it is talking to: to confirm a false claim stated with authority, abandon a correct answer under pushback, or praise work the person says they are proud of. A side effect of training on human approval. Largely trained out of frontier chat tools on claims that can be checked; still present where no answer key exists, and in smaller models.Explained properly in Note 08.
- Substitution
- The 2026 shape of hallucination: instead of inventing a source, the model answers a nearby question it has real material for and presents the result as an answer to yours. Every reference is real; none is about what you asked. Harder to catch than invention, because the check most people run, "does this exist?", passes.Explained properly in Note 05.
- Token
- The unit a model actually reads and writes. Roughly a word or a piece of a word: "notebook" may be one token, "strawberry" may be several. Everything the model does, and everything it costs, is counted in tokens.Explained in Note 02.
- Sampling
- The step after the model has scored every possible next token: one of them is drawn, weighted by its score. Sampling is why two runs of the same question can differ.Explained in Note 03.
- Tool call
- A line the model writes, in a form the product taught it, asking for something to be done outside the model: a web search, a calculation, a lookup. The product's code runs it and pastes the result back in front of the model. Whether the model writes that line is a prediction like any other.Explained in Note 04; the loop is Section 5.
- Training cutoff
- The date on which the text used to train a model stops. The model has read nothing from after it, and answers questions about later events from the older world unless the newer text is put in front of it. Providers publish the date; the model's own statement of it is a guess.Explained in Note 04.
- Top-p (nucleus sampling)
- A cut applied before the draw: keep the smallest set of tokens whose shares add up to p, discard the rest. Stops high temperature from letting nonsense through. Top-k is the blunter version: keep the k highest.Explained in Note 03.
- Temperature
- The dial on sampling. At 0 the top-scoring token is always taken and the answer is repeatable; higher settings spread the draw across lower-scoring tokens. It changes how often a lower-ranked word is chosen, not how the model ranks them.Explained in Note 03.
Open questions
Some are open in the field: nobody has a settled answer yet, and the notebook will say what is known and what is not. Others are queued for a note. When a note takes one on, the entry stays and gains a link. Add yours by replying on LinkedIn.
- Queued for Section 3Why do models read the middle of a long document worse than the start and the end?
- Queued for Sections 3 and 8How much of what feels like a model's personality comes from its training, and how much from the instructions the product puts in front of it?
- Open in the fieldIs there a reliable way to tell a model's training cutoff from the outside, without being told? Researchers have proposed tests; none is settled. Practical 08 added a data point from the other direction: a local model took whatever cutoff date I asserted.
- Open in the fieldCan a model be trained to hold its ground on judgement, where there is no answer key to score the pushback against? The fixes so far work only where a checker can decide who was right. Note 08.
- Queued for Section 5Inside a chain of model calls, where each step reads confident text written by the step before, what pushes back? Nothing in the model does; the answer will have to be in the code around it.
- Queued for Section 8Why do the step-by-step "reasoning" models still get the middle of a long multiplication wrong, and at what size?
Where I was wrong
Typos are fixed quietly. A claim, a number or an explanation is never changed without leaving the original struck through in the note and a line here.
- 26 Oct 2026Build 01's example scorecard carried scores that read as results. They were never run; the card was a specimen to show the format. The caption now says "scores here are illustrative", and the card will be replaced with my own run of the build. Caught on re-reading, not by a reader, which is the wrong way round.
- 9 Sept 2026 Note 04 said the search bolt-on "decides when to run, not you". The product does not decide; the model does, following instructions the product wrote, and that decision is a prediction like any other. The distinction matters because it explains why "search on" sometimes does nothing. Corrected in place, with two new paragraphs on how the decision is made and what a search costs in tokens, after a question from Pradeep.
How this notebook is made
The notes are written by me, in my own words, and every claim in them is checked by hand. The practicals are run by me, on my own accounts, and the results are recorded as they came out. I work with an AI assistant to draft, to draw in the notebook's line style, and to build these pages; that seems only right for a notebook about how AI works, and I would rather say so than let you wonder. The drawings are original. The learner is mine.
a notebook should say how it was made.