LLM Playground

Tiny Models, Big Vibes

This is a hands-on instrument for exploring how large language models actually work β€” tokenization, generation, post-training, and evaluation β€” built as a personal learning project. Every tab below is a live experiment you can run yourself.

Read the full blog series

Sandbox (Tokenizer)

What this is: Turns your text into the actual tokens a model sees β€” not words, but sub-word pieces from GPT-2's vocabulary.

Try this first: Type your own name, then try a word like 'tokenization' itself.

What to notice: Common words become one token; rare or made-up words fragment into pieces. Try a non-English sentence and watch it fragment even more β€” tokenizers are trained mostly on English text, and everyone else pays for it in extra tokens.

Swing Set (Generate)

What this is: Generates text from GPT-2 with adjustable decoding settings β€” temperature, top-k, top-p, and a sampling on/off toggle.

Try this first: Turn 'do_sample' off and generate something. Then turn it on with temperature around 0.7.

What to notice: With sampling off, the model often loops β€” repeating the same sentence over and over. That's not a broken model, it's greedy decoding always picking the single most likely next word. Sampling breaks the loop.

Merry-Go-Round (Compare)

What this is: Runs the same prompt through three decoding strategies at once β€” greedy, balanced, and high-temperature β€” so you can see the difference side by side.

Try this first: Use any prompt you like and compare all three outputs.

What to notice: Same model, same prompt, three very different personalities. Decoding strategy shapes the output as much as the model itself does.

Model Zoo (Compare Models)

What this is: Runs the same prompt across up to four different models β€” a base (pre-trained only) model and instruction-tuned ('chat') models β€” side by side.

Try this first: Compare 'qwen2.5-0.5b-base' against 'qwen2.5-0.5b-instruct' β€” same model family, only one has gone through post-training.

What to notice: The instruct model answers directly and formats well; the base model just continues the text. This is what post-training (SFT/RLHF) actually buys you β€” though watch closely, because well-formatted answers aren't always correct answers.

Report Card (Dashboard)

What this is: Every experiment you run gets logged automatically. This tab charts and lists them β€” repetition rate, perplexity, and judge scores across models and settings.

Try this first: Run a few generations first, then check this tab to see them charted.

What to notice: Use 'Group by Experiment' to see all results from one comparison together, and check the perplexity chart's caution note β€” it's only valid comparing a model against itself, not across different model families.

Judge's Bench (LLM-as-Judge)

What this is: Submit a prompt and response to be scored by three AI judges of different sizes β€” a small local model, a larger local model, and a frontier API model β€” against the same rubric.

Try this first: Pick a past result from history, or write your own. Try something you know is subtly wrong.

What to notice: Watch whether the small judge actually catches the problem, or scores it well anyway. This surfaced some of the most interesting findings in the whole project β€” smaller judges tend to score generously regardless of actual quality.

Clubhouse (Chat)

What this is: A real multi-turn conversation interface with a chat-tuned model. Only instruction-tuned models can hold a conversation β€” base models don't have this tab available to them for a reason explained in the blog.

Try this first: Tell it something in one message, then ask about it two messages later.

What to notice: The token counter shows the conversation growing β€” models have no memory of their own; the whole conversation gets resent every single turn.

None of these models are large or state-of-the-art β€” that's deliberate. Small models fail in ways that make these concepts visible, which is the whole point of this project.

Read the blog series
πŸ–οΈ

Word Sandbox

First request for this model may take a bit β€” it's downloaded and loaded on demand.

πŸͺƒ

Swing Set

Sampling mode β€” creative swings!

50
1.0
50
1.00
🎠

Merry-Go-Round

🦁

Model Zoo

Rounding up the models…

Report Card

Grades from your last 0 experiments

πŸŽͺ

No data yet!

Go generate some text in the other tabs first β€” then come back for your report card.

Judge Comparison

How different LLM judges score the same prompt+response

πŸ§‘β€βš–οΈ

No judge comparisons yet!

Run some prompts through Judge Compare first.

Judge's Bench

Send a prompt + response to three LLM judges and see how they score it.

No history entries to judge yet.

Welcome to the Clubhouse!

Say hi to start a conversation.

Model: qwen2.5-0.5b-instructContext: β€”