# LLMs Unplugged — My First Language Model (60 min)

> A 60-minute grid-flavour workshop for high schoolers to adults — train a language model on paper, then generate text with dice

# LLMs Unplugged

## Understand AI by building it yourself

> **notes:** Open with the promise: understand AI by building a language model by hand, with no computers or maths background needed.
>
> ---
>
> **Four facilitation habits for the session:**
>
> **Don't apologise for explaining things.** Opening with "sorry, this bit's a little dry" or "bear with me" tells the room the next few minutes are a chore. The explanations are why they came.
>
> **Don't call anything "the fun part".** Singling one section out as fun implies the rest is a slog, whether you're tallying, rolling the dice, or debating AGI at the end. Just introduce what comes next.
>
> **Turn questions back to the room before answering.** A clarifying question ("what draws you to that?") or opening it to the floor ("has anyone else hit this?") keeps people participating, and you can still add your own answer after they've weighed in.
>
> **Let them do the activity, then ask what they noticed.** When you reach a reflection slide, leave silence for the room to answer rather than supplying the takeaway yourself. A participant saying "the training text shapes what comes out" lands much better than you saying it.

---

## Acknowledgement of Country

> **notes:** Acknowledge the Traditional Custodians of the land you're meeting on, and pay respects to Elders past and present. Keep it brief and sincere; say it in your own words.

---

> **notes:** Quick intros: who's in the room and why you're here. A sentence each; don't let it run.

---

## Today, you're the class

we'll run this exactly as we would with your students

then we'll step out and talk about running it yourselves

> **notes:** The rest of the deck is pitched at their students; the best preparation for running the workshop is doing the activities the way a class will. Ask them to take the student role for the session and save questions about classroom delivery for the time set aside at the end.

---

**activity**

everyone stand up

> **notes:** Quick energiser. Read each line and let people sit; it speeds up, and by "the last 5 minutes" almost everyone's down. Lands the point that this stuff is already everywhere. \~2 min, don't linger.

---

sit down if you have

**never** used ChatGPT/Claude

---

sit down if you haven't

used it in the last **month**

---

sit down if you haven't

used it in the last **week**

---

sit down if you haven't

used it in the last **day**

---

sit down if you haven't

used it in the last **hour**

---

sit down if you haven't

used it in the last **5 minutes**

---

## What is this about?

you'll **build** your own language model from scratch with just a kids book,
pen & paper, and some dice rolling

you'll **learn** how language models work by spotting patterns in text to
generate new text

> **notes:** Frame the next stretch: build a model from a kids' book, pen, paper and dice, by spotting patterns. \~1 min, then move.

---

> **notes:** Talk over the build. AI is the umbrella term for any system doing things we'd call "smart" (chess engines, spam filters, route planners). Click: ML is the subset that learns patterns from data instead of following hand-written rules; the model you'll build today lives here. Click: LLMs are machine learning models trained on huge amounts of text to predict the next token, which is what you're about to do by hand at a smaller scale. Click: the chatbots in the news (Claude, ChatGPT, Gemini, DeepSeek) are LLMs wrapped in an app.

---

(qr: <https://www.llmsunplugged.org>)

---

# Training

---

## The recipe

> **notes:**
>
> 1. **tidy up** your text: lowercase everything, treat words and single
>    punctuation marks (`. , ! ? ; :`) as separate tokens
> 2. **set up** your grid: first token goes in both the row & column headers
> 3. **fill in** the grid: for each consecutive pair of tokens, add a tally mark
>    in that cell (add new rows/columns as needed)

walk through your text and tally up which tokens follow which in a grid

---

## Example

_"Hop, Joey, hop. See Joey hop."_

after tidying up:

`hop` `,` `joey` `,` `hop` `.` `see` `joey` `hop` `.`

---

## The empty grid

---

## Training: `hop` → `,`

---

## Training: `,` → `joey`

---

## Training: `joey` → `,`

> **notes:** `,` is already in our vocabulary, so no new column is needed

---

## Training: `,` → `hop`

---

## Training: `hop` → `.`

> **notes:** `.` is a new token; punctuation gets its own row and column too

---

## Complete model

> **notes:** with the rest of the text tallied the same way, the grid is complete. `hop` → `.` came up twice, so its cell has two marks; those counts make some next words more likely than others.

---

## A few more tips

you don't have to start at the beginning; any page will do

the last token in one sentence is followed by the first token in the next (even
over the page)

you can ignore quotation/speech marks (`"`)

work in pairs and divide the labour however you like, making sure you keep up
with the tally marks

> **notes:** Groups don't need to start at the beginning of the text: a model trained on page 5 is just as good as one trained on page 1, so let them open anywhere (and groups sharing a text can each take a different page). Treat the text as one continuous stream across sentences and page breaks: a full stop is followed by whatever word comes next. Skip quotation marks instead of giving them a row and column. Pairs work well if one person reads aloud while the other tallies, swapping partway through; the tally marks are the model, so a pair that races through the reading and skimps on tallying has nothing to generate from.

---

## Your turn

tidy up your text, then for each pair of tokens:

1. **find the row** for the first token (if it's new, add a row _and_ a column)
2. **find the column** for the second token (adding a row and column if it's new)
3. **add a tally mark** in the cell where they meet
4. **move along by one**: the second token starts the next pair

> **notes:** Leave this slide up while they work. Hand out the grids; each group tallies its own text. 10 min, circulate. Watch for groups adding duplicate rows or columns: each token gets a new row and column only the first time it appears.

---

## The _language_ of language models

- model
- token
- weights

> **notes:** Everyday sense first, then ours: a model is a fashion model or a model aeroplane; here it's the grid that captures the patterns. A token is a bus token or a token gesture; here it's one word or punctuation mark. Weights are what you lift at the gym, or what you weigh up before deciding; here they're the tally marks that make some next words likelier than others. Point at a cell: when you hear a model has billions of weights, that's what's being counted.

---

# Generation

---

## The recipe

> **notes:**
>
> 1. **choose** any starting word from your grid
> 2. **look** at that word's row to find all possible next words and their counts
> 3. **roll dice** weighted by the counts to pick the next word
> 4. **write down** the chosen word and make it your new starting word
> 5. **repeat** from step 2

use your grid to generate new text, rolling dice to choose each next word

---

## Generation: start with `see`

> **notes:** any word will do as a seed; we start from `see` (the last row) to show you can begin anywhere. Only one option here, so no roll.

---

## Generation: from `joey`

> **notes:** two options in this row (`hop` and `,`) with equal tallies: highlight both, then roll

---

## How the die chooses: `joey`

> **notes:** equal tallies, so the ten d10 faces split down the middle: `hop` gets 0-4 and `,` gets 5-9, reading the row's cells left to right (the same apportionment the printed booklets use). Pause here before rolling.

---

## How the die chooses: `joey`

> **notes:** now roll: a 7 lands in the `,` band

---

## Generation: `joey` → `,`

> **notes:** the 7 landed in the `,` band, so `,` is our next word

---

## Generation: from `,`

> **notes:** another two-option row (`hop` and `joey`), still equal: highlight both, then roll

---

## Generation: `,` → `hop`

> **notes:** rolled a 2, which lands in the `hop` band

---

## Generation: from `hop`

> **notes:** two options again, and `.` has two tallies to `,`'s one, so the split is uneven

---

## How the die chooses: `hop`

> **notes:** `.` has twice the tallies, so it gets more faces (3-9) than `,` (0-2). That's the closest 2:1 split on a ten-sided die: more tallies mean more faces and a higher chance. Pause here before rolling.

---

## How the die chooses: `hop`

> **notes:** now roll: a 6 sits in the `.` band

---

## Generation: `hop` → `.`

> **notes:** the 6 sits in the `.` band, so we pick `.`

---

## Generation: from `.`

> **notes:** only one option (`see`), so no roll. We keep rolling straight past the full stop; to the grid, `.` is a token like any other.

---

## Generation: back to `see`

> **notes:** we've looped back to where we started. Keep going for as long as you like; you decide when to stop.

---

## Generated text

_"see joey, hop. see"_

a new sentence that wasn't in the training data

---

## Your turn

write down a starting token, then repeat:

1. **find the row** for the last token you wrote
2. **share the ten faces** of the d10 across that row's cells, by their tallies
3. **roll** to see which band it lands in (skip the roll if there's only one option)
4. **write it down**, and look up its row next

> **notes:** Leave this slide up while they work. Groups generate from their own grid, rolling for each choice. 10 min, circulate.

---

# Shareback

> **notes:** Take a couple of groups' generated sentences; celebrate the weird ones. \~5 min.
>
> If the room has energy for it, close the shareback by turning it outward: does that change how you picture what's happening when you type into ChatGPT? Then wait; the silence is longer than feels comfortable and the first answer usually arrives just after you'd have given up. If nothing comes, narrow it: "did anything about that feel like something you've seen it do?"
>
> Don't answer your own question, and when someone raises something technical, flip it back before you take it: "what draws you to that?" or "has anyone else run into that?" The expertise in the room is more use to them than a lecture from the front.

---

## The _language_ of language models

- prompt
- completion

> **notes:** Everyday sense first, then ours: to prompt is to cue an actor who's forgotten a line; here the prompt is the starting text you give the model. A completion is finishing something off; here it's the text the model generates back. A hallucination is seeing something that isn't there, a malfunction, yet the sentence you just generated wasn't in the training text either and came from the same tallies and dice as everything else. The model runs one process throughout; we call the output a hallucination when the answer is wrong or unwanted.

---

# Scaling up

> **notes:** What they just did by hand is the same core loop an LLM runs, at human scale: look at the context, weigh every possible next word, roll the dice, write it down, repeat.
>
> The next two slides cover how frontier models turn up three scale dials, and how post-training changes the kind of text they train on. Point people to the website lessons for why a table of counts can't be scaled and how transformers share weights instead. \~3 min.

---

## Now turn everything up

> **notes:** Ask first: hands up if you've told a chatbot not to do something and it did it anyway. Take two answers. In a frontier model your instruction stays inside the context window the whole time, where it competes as one more stretch of text against everything else in the window. What the model is looking at right now shapes what comes next, just as in their model.
>
> Then walk through the three dials. The shared axis is in powers of ten (thousand, million, billion, trillion), so each bar's length shows how many orders of magnitude it jumps:
>
> - Context: their model looked at one word; Claude looks at up to a million tokens, enough for a whole conversation and more.
> - Training text: one novel (about 84,000 words) versus forty-five trillion tokens, the training run Thinking Machines published for its open-weights Inkling model in July 2026 (about 530 million copies of the novel, or roughly 17 million years at the pace they just worked).
> - Model size: a table of counts for the whole novel, with a row and a column for every word, has 49 million cells, while Claude Fable 5 is estimated at about five trillion parameters (Anthropic doesn't publish the figure).
>
> Why can't you just scale up the table? The novel's table has a count in only 0.08% of its cells (one in 1,200), and reading more text makes it sparser because every new word adds an entire row and column. A trillion-cell table would be almost completely blank. A transformer shares its parameters instead: patterns are distributed across billions of weights, so a sentence about a cat helps predict a sentence about a dog, and the model can produce combinations that never appeared in its training data. Increasing context, data and parameter count improves performance predictably enough to plan large training runs around. Each dial has its own lesson on the website.

---

"Explain the moon landing to a 6 year old in a few sentences."
pre-trained
Explain the theory of gravity to a 6 year old. Explain the theory of relativity to a 6 year old in a few sentences. Explain the big bang theory to a 6 year old. Explain evolution to a 6 year old.
post-trained
People went to the moon, and they took pictures of what they saw, and sent them back to the earth so we could all see them.

same model, same next-word loop---**post-training** is a second round of
training on examples of instructions being followed

> **notes:** Beyond the three scale dials, post-training changes which text the model learns from.
>
> Read the prompt out, then the first reply, and pause for the room to spot what happened. That's GPT-3 straight out of pre-training, continuing the text just like their model. On the internet, "explain X to a 6 year old" usually appears in lists of homework prompts and writing exercises, so the most likely continuation is another question in the list.
>
> Then read the second reply. That's the same model after post-training (published by OpenAI in January 2022 as InstructGPT, the precursor to ChatGPT). OpenAI trained it further on examples of people writing helpful responses to instructions, then had human raters rank its attempts and reinforced the preferred ones. It still runs the same next-word sampling loop, but after training on instruction-response pairs, the likeliest continuation of an instruction is an answer.
>
> If you have time, mention sycophancy: ask who has pushed back on a chatbot and watched it immediately fold, even when the user was wrong. Human raters comparing two replies tended to prefer the agreeable one, so agreement was reinforced during post-training, and the model has no separate check for whether a claim is true.

---

still just **tokens in** → **tokens out**

> **notes:** A frontier model runs the same loop they ran by hand --- look at the context, weigh the options, roll the dice, write it down --- with every dial turned up, tally cells replaced by shared weights, and post-training on top. Every reply from Claude or ChatGPT is sampled one token at a time, which is why hitting "regenerate" gives a different answer.

---

## Running it in your class

pairs, each with a grid template, a d10 and a few pages of a kids' book

**60 minutes** trains and generates; **90** adds the pre-trained booklets; **2
hours** adds tool use

pairs that finish early can train on a second page, or move on to the Sampling
module

> **notes:** Step out of the student role here, cover the logistics briefly, and open for questions.
>
> The snags you saw today are the ones their class will hit: a token only gets a new row and column the first time it appears, quote marks are noise, and the full stop is followed by the next word, page break or not. Sharing ten dice faces across a row's tallies is the step students need modelled most.

---

## Where it fits

`AC9TDI10P02_E4` --- machine learning: an algorithm trained on a data set

`AC9TDI10P01_E6` --- the zero problem: an empty cell is a word it can never say

`AC9TDI10P10_E5` --- rare events are hard to capture: one tally against twenty

`AC9TDI8P11_E5` --- prompts shape the output: the starting word

> **notes:** Australian Curriculum v9.0 Digital Technologies elaborations, years 7--10. The curriculum names AI only in elaborations, which are optional, but they are the clearest statement of what ACARA wants students to understand about it. Years 11 and 12 aren't mapped: senior syllabi are set state by state, so teachers there should match these to their own course. Victoria, NSW and WA have their own codes too. The full mapping, module by module, is on the website's curriculum page.

---

(qr: <https://www.llmsunplugged.org/lessons/my-first-language-model/>)

---

## Questions

is there a term you've heard that we haven't covered?
what new questions do you have about large language models?
how will this change the way you think about and use LLMs in the future?

> **notes:** Three questions, revealed one at a time, easiest first. Don't put them all up at once; the third one lands differently after the room has already been talking.
>
> Open on the terms question. It's the lowest-stakes way into the Q\&A: naming a word you've heard is easier than forming a question, and it surfaces what they've actually been reading. Have prompts ready if the room is slow (data centre, the stack, transformer, agent, AGI), and make room for AGI when it comes up.
>
> When a term comes up, put it back to the room before you answer it: "does anyone else know this one, or have a sense of what it means?" You get to hear what they think it means, which is usually the more interesting problem, and it keeps the session from collapsing into a lecture from the front. Then give your answer.
>
> Do the same when a question is an opinion in disguise (is this taking jobs, is the rollout being handled badly, is any of this worth it). A clarifying question first ("what draws you to that?", "is it a particular industry?") gets a better conversation than answering the wrong question. Give the technical view second.
>
> Bring up the second question once terms thin out, and the third only when the questions are running down. That last one turns the conversation from how the grid works to what they'll do differently on Monday.

---

(qr: <https://anu.au1.qualtrics.com/jfe/form/SV_cA2ioVFWoQRj0KW>)

> **notes:** Feedback QR: give them a moment to scan before you wrap up.

---

> **notes:** Plug the next sessions and point at the Humanitix QR. Keep it brief.

---

(qr: <https://events.humanitix.com/host/anu-cecc-school-of-cybernetics>)

---

## We're here to help

this technology isn't going away, and working out what to do about it is the
interesting part

we work with organisations across all of it: how it actually works, how to get
something useful out of it, and how to keep people at the centre of the
decisions it opens up

**<lxconvenor.cybernetics@anu.edu.au>**

> **notes:** Keep this sign-off to 30 seconds. Say the middle line in your own words, pitched at the room in front of you: most audiences need help thinking through what this does to how they work. If someone has already asked a question that hints at a real problem in their organisation, name it back to them here.
>
> Leave the slide up while you take any last questions so the email address stays on screen.

Source: <https://www.llmsunplugged.org/decks/my-first-language-model-60min/>\
Licence: [CC-BY-SA-4.0](https://creativecommons.org/licenses/by-sa/4.0/)\
Cite as: Swift, B. (2026). _LLMs Unplugged: Understand how AI language models work by building one yourself._ https://doi.org/10.5281/zenodo.17403824
