LLMs Unplugged#
How AI writes stories#
Acknowledgement of Country#











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
What is AI?#
Think → share#
when you hear the words artificial intelligence, what comes to mind?
think on your own, then share with the person next to you
Let’s ask one to write us a story#
we need three words or ideas — hands up!
That was a language model#
What just happened?#
no person on the other side wrote that story for us
the language model learned patterns from huge amounts of text, then copied those patterns to make something new
today we’ll build our own language models — without a computer
Some words we’ll use#
artificial intelligence (AI) — technology that mimics some human abilities, like writing stories or answering questions
language model — a system that predicts what word comes next, using patterns it learned from text
training — building a language model by finding patterns in text (its training data)
generation — using a language model to write new text, one word at a time
Generation#
This is (another) language model#
One row at a time#
Your group holds the whole model#
Worked example#
“It sits on the fence. Here comes the magpie.”
the book said “Here comes the postie.” and “Back goes the magpie.”
Your turn#
write down a starting word, then repeat:
- find the row for the current word
- fill the cup: one counter for every tally mark, each in its word’s colour
- draw one without looking — its colour tells you the next word
- write it down (it’s the new current word), tip the cup back into the tub, and pass the job to whoever has its row
Shareback#
No two stories the same#
two groups with the same book: why aren’t your stories the same?
could any group’s model write a story about a crocodile?
But where do the tally marks come from?#
Training#
Listen for the word “the”#
It is spring. It sits on the fence. It watches. Here comes the postie. Down swoops the magpie! Off runs the postie. Back goes the magpie. It sits on the fence. Here comes the dog. Down swoops the magpie! Off runs the dog. Back goes the magpie.
Check the sheet#
It is spring. It sits on the fence. It watches. Here comes the postie. Down swoops the magpie! Off runs the postie. Back goes the magpie. It sits on the fence. Here comes the dog. Down swoops the magpie! Off runs the dog. Back goes the magpie.
Things that catch people out#
. is a word: the row for . says how sentences start
a new word goes in the next empty box — don’t skip boxes, the colours go in order
one row per word, and say it out loud when you start one, or two people will keep counts of the same word
Your turn#
read your new text two words at a time, and for each pair:
- find the row for the first word — no row yet? start one, and say the word out loud
- find the box for the second word — not there yet? write it in the next empty box
- add a mark in that box
- move along by one: the second word starts the next pair
One story, all together#
Every text, its own model#
each group trained on a different text, so each group’s row for the is different
together the class has a bigger model than any one group
The same word, different rows#
How we’ll do it#
I’ll call out the current word
hands up if your sheets have a row for it — I’ll pick a group
that group reads out its colours and tallies, we fill the cup up here and draw: their word is the class’s next word
They call it out, we draw it#
the class story grows by one word, and the new word is the current word
One story, all together#
Running it in your class#
everything to print is in the pack on the lesson page: no books to find
60 minutes: one of the pack’s pre-tallied picture books per group, counters, a cup and a tub per group, and a whiteboard for training “the” together
90 minutes: add blank sheets and one of the pack’s training texts per group, then the class story
Where it fits#
AC9TDI8P02 (DT, years 7–8) — analyse data to find patterns: the tallies
AC9TDI8P01_E5 (DT, years 7–8) — training data shapes a model’s output: the book in every story
AC9TDI10P01_E6 (DT, years 9–10) — the zero problem: no crocodile on any sheet
AC9M5P02 (maths, year 5) — frequency and likelihood: the cup
“So is ChatGPT just counting?”#
the same loop: look at the words so far, weigh the next ones, pick one at random
it looks at the whole conversation instead of one word, and learned from trillions of words across the web
and the model is one part of a bigger system: tools it can call, filters on what goes in and comes out, instructions you never see
About your stories#
who wrote your story: you, the model, or the book’s author?
our models can’t say crocodile — what might a chatbot be missing?
does a chatbot know what it’s saying?