from the video · It's Not a Search Engine

Tiny Holmes

A language model with 10.8 million numbers, trained on one laptop on the eight Sherlock Holmes books. It does exactly one thing: guess the next letter. It runs right here in your browser. Nothing you type is sent anywhere.

temperature
its next guess

These are the model's real odds for the next character. It picks one, adds it, and repeats. That loop is the whole trick, in any language model.

Watch it learn

Real writing samples, saved during training. At step 0 the numbers are random; nobody taught it spelling, grammar, or who Holmes is.

surprise while training (bits per character, lower = better)

chance it writes “s” after “Sherlock Holme”

What's inside