# Yoda, ELIZA, and a Year 7 bigram model

> A pre-service teacher took LLMs Unplugged into a lower-SES Year 7/8 classroom, swapped the children's book for a Yoda monologue, and added a 1966 chatbot for contrast

[Kieren Xiang](https://www.westernsydney.edu.au/) is a pre-service teacher I met
at the
[ICTENSW DigiTLL conference](https://www.llmsunplugged.org/news/2026-03-15-ictensw-digitll-conference/) back
in March, where I'd run the usual pen-paper-and-dice bigram activity. On his
pract he ended up teaching a run of lessons on AI and large language models
to Stage 4 (Year 7 and 8) students at a lower-SES public high
school in Western Sydney. The middle section of those lessons was his own
adaptation of the website materials and the bigram generator I'd demoed at the
conference. He wrote to tell me how it went.

Kieren adapted the activity by replacing the children's book with a Yoda
monologue from _The Empire Strikes Back_. Around ninety seconds of dialogue gave
the class just over fifty words to work with. Yoda's distinctive speech also
gave students something to listen for in the generated text.

Each group took responsibility for one or two words and filled in that part of
the bigram table. The class combined everyone's sheets into a shared model, then
generated new text from it. Kieren used the activity to teach probabilistic text
generation and the effect of training data.

As a contrast, Kieren introduced
[ELIZA](https://en.wikipedia.org/wiki/ELIZA), Joseph Weizenbaum's 1966
chatbot, to show what a rule-based conversational program looked like before models were
learned from data. He even built a bigram model derived
from ELIZA as a warm-up before the Yoda tables.

The students loved to hate her. ELIZA's canned, deflecting replies frustrated
them so thoroughly that, as the class was winding down, they asked to keep
going, determined to get her to actually answer a question.

Kieren had no formal training in AI, but colleagues began turning to him for
help. He was invited to talk to senior classes about machine learning and LLMs.

The students enjoyed the _ethics_ discussion more than the dice-rolling, which I
hadn't expected. Most arrived with strong, mostly negative views about LLMs: job
losses, energy and water use, deepfakes. A few shifted over the lessons from
"purely bad" to "useful, but still could be bad". Kieren reported much more
enthusiasm for LLMs among the teachers.

Thanks to Kieren for adapting the materials and letting me share his account. If
you've adapted them for your own classroom, I'd love to hear how it
went --- [get in touch](https://www.llmsunplugged.org/about/#get-in-touch).

Source: <https://www.llmsunplugged.org/news/2026-06-23-yoda-and-eliza-in-the-classroom/>\
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
