2026-11-25 (3) · Claude and MJC

A transformer, worked through one byte at a time

tt-2 is a small transformer: 115,008 learned numbers, trained on the first 107 bytes of enwik9. It reads up to 128 bytes and gives a probability to each of the 256 values of the next byte. The whole model is running in this page. Pick a text, then click a byte: everything below is how the model gets from the bytes up to that one to its prediction of the next. For the shape of the model and the names of its parts, see the map (section 9).

Loading the model (460 KB)…