Skip to main content

Lessons

The lessons split into Fundamentals—Training and Generation, which everyone should do—and Extensions you can mix and match based on interests and available time. New to LLMs Unplugged? Do Training, then Generation, then pick whichever extensions catch your eye.

The Fundamentals (and a couple of extensions) come in two flavours with a toggle at the top of the page; both teach the same core ideas, so pick whichever suits your group.

The grid flavour uses pen, paper and dice. Students fill in a tally-mark table during training, then roll a d10 to sample from the counts during generation (a 60%/40% split between two candidate next words becomes “roll a d10: 1-6 picks the first, 7-10 picks the second”). It plugs straight into probability in the maths curriculum—if your group isn't comfortable with that style of sampling yet, run Weighted Randomness first as a warm-up.

The cutouts flavour swaps dice for a spread of printed tokens. Students cut them out, lay them on a table, and play a colour-matching game to generate text—the maths happens automatically (more cutouts means more likely), so it works for any age. The cost is prep: someone has to generate, print and cut out the tokens beforehand (the Tools page has ready-to-print packs).

Fundamentals

Extensions

These can be done in any order after the Fundamentals. Each one explores a different aspect of how modern language models work.

Scaling up

Controlling output

Context and meaning

These two work well together—context columns extends the grid model, and word embeddings uses those extended grids to explore semantic similarity.

Model tuning