The Lab · Latent space

Model workshop

The observatory tells you how a language model works. The workshop hands you the parts. Five small working models, each running in this tab: the tokenizer that chops text into pieces, the space where words become places, the attention that lets words look at each other, the weighted die that picks the next word, and the training that tunes every dial.

Nothing you type leaves this page. The tokenizer and the word model learn, live, from four paragraphs of Ada Lovelace’s 1843 notes on the Analytical Engine (public domain). The word vectors are 165 words from Stanford’s GloVe (public domain under the PDDL). The attention head and the networks are toys, built small enough to see through.