Skip to main content

My First Language Model

  • Audience years 9 and up, and adults
  • Duration 60 minutes to 2 hours
  • Flavour grid

Participants count word patterns in a real text, record them as tally marks on Grid A sheet of grid paper with the vocabulary written down the side and across the top. Training fills each cell with tally marks for how often the row's word was followed by the column's word; generation reads a row and rolls against it. It's the original LLMs Unplugged apparatus. View in glossary , and roll a d10 to generate new text from those patterns. By the time they read their generated sentences out loud, the connection is clear: Chatbot (ChatGPT, Claude, Gemini) A product that wraps an LLM in a conversation. ChatGPT is OpenAI's, Claude is Anthropic's, Gemini is Google's, and there are many others. On this site we often name ChatGPT or Claude as shorthand for any of them: the concepts apply equally to every modern LLM chatbot, whichever one you use. View in glossary works the same way at a much larger scale.

We’ve delivered it to school students, undergraduates, teachers, and senior executives in industry and government. It needs no coding and no maths beyond counting and percentages.

Choose your length

Each length keeps everything from the one before it and adds a module:

LengthModulesAdds
60 minutesTraining + Generationthe core train-then-generate loop
90 minutes+ Pre-trained Model Generationwhat happens with a bigger model and more data
2 hours+ Agentic AIhow models use tools to act on the world

Every length opens with a quick icebreaker and scene-setting (who’s used ChatGPT? how do you think it works?) and closes with a “scaling up” discussion connecting the paper model to modern LLM (Large Language Model) A language model trained on a very large amount of text, with billions of parameters. The hand-built models in these lessons are tiny language models; ChatGPT, Claude and Gemini are large ones, built on the same principles at a far greater scale. View in glossary , then Q&A.

Suggested timing (90-minute version)

  • 0:00 kick-off: icebreaker, then explain that we are building a small language model by hand using the same approach as large ones
  • 0:20 Training: tally word patterns from a text into the grid
  • 0:40 Generation: roll dice to generate new text from the grid; share back with dramatic readings
  • 1:00 Pre-trained Model Generation: same dice game, using a printed booklet trained on a whole book
  • 1:20 close: scaling up (how this connects to ChatGPT, and how it changes how you use these tools)

For the 60-minute version, drop the pre-trained booklet section and tighten the close. For the 2-hour version, add Agentic AI after the pre-trained section (about 20 minutes) and give the discussions more time.

You will need

For each pair (or small group) of participants:

  • pen or pencil
  • a printed grid template (or any grid paper)
  • a d10 die (any die works with a little improvisation)
  • some training text: the opening of Green Eggs and Ham is ready to print, or bring your own kids’ books and give each pair a page or two of a different one (short and repetitive is best, as the grid has room for 32 words)
  • 90 minutes and up: a pre-trained model Booklet A printed dice lookup table for a text: one entry per previous word (or pair of words, in a trigram booklet), listing the possible next words with the d10 range that selects each. A booklet is a pre-trained model you can generate from without having trained it. View in glossary ; the Materials page has ready-to-print booklets for several texts, or you can generate your own

Plus a projector for the slides.

Before you deliver

  • print the grid templates and the training text, and the booklets if you’re running 90 minutes or longer (one per pair; a mix of different texts makes the share-backs more fun). The printouts download at the top of this page has all of them, with a README saying which length needs what
  • if you have extra time, add the Sampling module after generation to show how Temperature A dial on how closely sampling follows the model's own counts. Low temperature sticks to the favourites; high temperature flattens the odds until every option is roughly equal. A real model divides its scores by the temperature before turning them into probabilities. With raw counts that trick does nothing, so the hand-run version adds a constant to every count instead. View in glossary changes the output without changing the model

Running it for teachers

To train teachers to run it themselves (senior secondary teachers, say), add ?teachers to the deck’s URL. The workshop stays pitched at their students, so the teachers do it the way their class will. It adds one slide after the introductions saying so, and a short block before the Q&A for stepping out of the student role: what running it in class takes, and where it fits in the Australian Curriculum. Allow an extra 10–15 minutes.

Using the slides

The presenter guides are PDFs with every slide followed by a page of its speaker notes—handy if you'd rather prepare away from the browser.

The slides run in your browser, and every slide carries full presenter notes—what to say, what to watch for, and how long each part should take. A few keys worth knowing:

  • f toggles fullscreen—do this before you start presenting
  • s opens the speaker view in a separate window, with the presenter notes, a timer, and a preview of the next slide (drag it to your laptop screen and put the slides on the projector)
  • o shows an overview of all slides, handy for skipping ahead if you're running short on time