Lesson 1436 of 1455
How Large Language Models Actually Work
A teen-friendly explanation of what's really happening inside ChatGPT, Claude, and Gemini.
Builders · AI Foundations · ~4 min read
The big idea
Underneath all the magic, an LLM is a system that takes your text, breaks it into tokens, and predicts what tokens come next based on patterns it learned from huge amounts of text. Understanding this one fact explains why AI is brilliant at some things and weirdly bad at others.
Some examples
- LLMs predict the next token, then the next, then the next — that's basically the whole trick.
- 'Training' means showing the model billions of text examples and adjusting its weights.
- 'Fine-tuning' is extra training to make it follow instructions or be safer.
- RLHF (reinforcement learning from human feedback) is how models learn what humans prefer.
Try it!
Open any chatbot and ask it to explain its own architecture in one paragraph. Notice what it gets right and what's vague.
Key terms in this lesson
Practice this safely
Try this with a school, hobby, or family example where the stakes are low. Use the AI output as a draft you can question, not as the final answer.
- 1Ask AI to explain large language model in plain language, then underline anything that sounds uncertain or too broad.
- 2Give it one detail from "How Large Language Models Actually Work" and ask for two possible next steps plus one reason each step might be wrong.
- 3Check token against a trusted source, teacher, adult, expert, or original document before you use it.
End-of-lesson quiz
Check what stuck
8 questions · Score saves to your progress.
Lesson help
Questions are best handled with a grown-up here.
For this age range, Tendril keeps freeform AI chat paused until parent/guardian consent and child-safe moderation are fully verified. Use the quiz, notes, and related lessons below, or ask a parent, guardian, teacher, or librarian to work through the question with you.
Progress saved locally in this browser. Sign in to sync across devices.
Related lessons
Keep going
Builders · 22 min
Train Your Tiny Classifier
Teach a mini-AI to tell fruits from vegetables, one example at a time.
Builders · 40 min
AI and tokens vs words: why your prompt costs what it costs
Learn what a token actually is so you can predict cost and context limits.
Builders · 7 min
AI and the training data question: where did all this knowledge come from?
Understand what AI was trained on and why that shapes everything it says.
