02 — Probability

The dials inside the model.

Same prompt, different settings, different answers. Drag temperature, top-K and top-P. Watch the candidate next-token bars rescale live. Click "set deterministic" to see what GenAI becomes when you remove the probability — and why that's not the win it looks like.

Coming soon

Under construction

Will run GPT-2 in the browser via transformers.js. Sliders for temperature, top-K and top-P with live bar chart of next-token probabilities. Builds after the Tokenizer ships.