How Does AI Write?
Classes 5–12 · about 6 minutes · free, no sign-up
What you will learn
Understand that language models write by predicting the next token from patterns in their training text, what temperature does, and why AI can sound sure and still be wrong.
How to play
- Type the start of a sentence and see it split into tokens.
- Look at the chances for the next word. Tap one to add it, or let the AI pick.
- Turn the creativity dial and compare what it writes.
- Then teach it your own text. It is a tiny toy model that runs on your device.
More in AI & Coding Lab

Teach a Computer
Teach a computer mangoes from bananas, test it, and find out why unfair examples make it wrong.
Play →
Robot Maze
Program a robot step by step, use loops, and fix the bugs.
Play →
Neural Network Playground
Train a real tiny neural network in your browser and watch it learn to sort dots, from a straight line to a circle.
Play →Free forever, no account needed. No ads for students and no tracking. Anything you type stays on your device.