Week 4 lab · about 45 minutes

LLM Playground: tokens, temperature, context

Three small experiments that show how ChatGPT, Claude and Gemini work inside. This is a simulation with a tiny fake model, so it runs offline, but the ideas are the real ones.

Type any text and see the tokens

Real tokenizers are learned from data, so exact splits differ between models. Common words are one token; rare or long words get split. Try your name, an email address, or a word in another language.