Here's a secret about AI: the exact same model can write something boring and safe, or something wild and weird — and only one dial decides which. It's called temperature. Grab the dial and find out.
This tiny AI predicts one word at a time (you trained one just like it earlier!). The dial doesn't change what it knows — it changes how daring it is. Low = always grabs the safest word. High = takes risks. Turn it, then hit Generate.
temperature (❄️ safe → 🔥 daring)
Every step, the AI has a list of possible next words, each with a chance. The dial reshapes those chances. Turn it down → one bar towers over the rest (it always picks that word — boring!). Turn it up → the bars flatten out (any word could win — surprises!). These are the real odds for the word after "the":
A good writer lives in the middle. Push the dial to the edges and watch it break in two different ways. Tap each button a few times and read what comes out.
I'll ask for a vibe. Use the dial up in the Lab to land in the right zone, then hit Generate for the vibe. Land in the zone 3 times to earn the final badge!
Our dial is the real idea, simplified. Here's how word-picking grew up — from "always play safe" to the clever tricks inside real chatbots:
Ignore the dice — just grab the single highest bar every time. ✅ Never says anything crazy. ⚠️ Gets stuck in loops and sounds like a broken record.
Sample a word by chance, and use temperature to make the dice fair or wild. ✅ Creative and lively. ⚠️ At high heat it can pick a silly, super-rare word and derail.
Before rolling, throw away the unlikely words — keep only the best handful, then sample. ✅ Creative and stays on the rails. ⚠️ One more knob to tune.
Now do it for real. This is SmolLM2 (small enough for a basic laptop) running on your device. Set a start, drag the temperature, and generate — the same beginning goes from safe-and-boring to wild-and-weird, using real sampling. (~180 MB one-time download, then offline.)
You found the creativity dial — temperature. Same AI brain, but low temperature plays it safe (and loops), high temperature takes wild risks (and rambles), and the pros tune it to the sweet spot. Picking words by chance is called sampling. You now know a knob most grown-ups have never heard of.