Tokens
Use the left and right arrow keys to step through the tokens one at a time.
0of 2,000 merges applied
The training text, compressed
Before a language model sees a sentence, a tokenizer cuts it into pieces. Byte-pair encoding learns those pieces by counting: it finds the most frequent pair of neighbouring symbols, fuses it into one new symbol, and repeats. This one is character-level and learned 2,000 merges from 1,115,394 characters of Shakespeare. Drag the slider to watch the pieces grow.
Tokens
Use the left and right arrow keys to step through the tokens one at a time.
The training text, compressed
How it was made: idea, direction and every taste call by Joe; code written by Claude Code under his review.