Small model lab

What does a language model say before it has learned anything?

Take GPT-2's shape, shrink it to 2 layers, and fill every weight with random numbers instead of training it. Try four ways of filling it, then the same in Qwen3's and Gemma 4's architectures.

Noise in the flavour of its tokenizer. None of the 12 random models beats guessing every token with equal odds. The bigger the random numbers, the more confidently wrong it gets.

Make one in your browser

A 2-layer GPT-2: width 128, 2 heads, 6.9M parameters, never trained. It uses GPT-2's real tokenizer, and every number in it comes from the fill you pick.

Fill every weight with
Random draw

Its first guess for the next token

    A blind guess gives every one of the 50,257 tokens 0.002%.

    Sampled, 20 tokens

    Greedy, 12 tokens

    Shading marks where one token ends and the next begins.

    Score it

    Loss on the first 256 tokens of WikiText-2 test, the same text the experiment scored first. Lower is better. Guessing blind scores 10.825.

    Building the model…

    What the experiment recorded

    Every bar is one random model's loss on 10,240 tokens of WikiText-2. The red line is a blind guess, ln(vocabulary size). A bar ending past the line did worse than guessing. Note the log scale.

    Gemma 4's bars stop near 42 because it clamps its final logits to ±30 (final_logit_softcapping). GPT-2 and Qwen3 have no cap.

    What each one said

    The tokens it bets on most

    Share of the 10,240 positions where this token was its top pick.

      What it says