Token Lab
BROWSER MODEL EXPERIMENT

Compare model responses

Give two open models the same text. Switch models to explore differences in depth, width, attention heads, vocabulary, and parameter count.

Start with a comparison

Each button picks a model pair and example prompt.

One input, two responses

Same generation settings on both sides

Pythia continues raw text. SmolLM2 receives it as a user message. These are one-shot responses.

This is a maximum, not a minimum. Models stop sooner when they produce an end token. Greedy output may repeat; sampled output varies between runs and uses a loop guard.

Models download to and run on your device. No account or API key is needed.
MODEL AInstruction response

SmolLM2 · 135M parameters · ~118 MB model file · model card ↗

Response
Run a comparison to see a response.
MODEL BInstruction response

SmolLM2 · 360M parameters · ~273 MB model file · model card ↗

Response
Run a comparison to see a response.

What changes between them?

Both are SmolLM2 checkpoints
SettingModel AModel B
Parameters135M360MChanged
Transformer layers (depth)3032Changed
Hidden size (width)576960Changed
Query heads915Changed
Key/value heads35Changed
AttentionGrouped-queryGrouped-query
Vocabulary tokens49,15249,152

“Instruct” means these models were further trained to follow requests. Their base models also saw different amounts of training data (2 trillion vs. 4 trillion tokens), so response differences cannot be traced to architecture alone.