Small model lab

What would a small model learn if it read text cut up differently?

The plan: train the same 6-layer GPT 20 times and change only how its text is cut into tokens. Bytes, characters and BPE are the baselines. The rest are stranger: tokens that straddle the gap between words, words cut to their first and last letter, vowels dropped, everything backwards.

This one hasn't run yet, so there are no results. What you can do now is see what each scheme does to a sentence of your own.

Your sentence

Cut into tokens

These keep every character. The bar shows how many tokens each one needs for your sentence, against one per byte. Fewer tokens means a longer sentence fits the model's window, but each token is rarer and harder to learn.

Rewrite the text first

These change the text before the model sees it. The lossy ones can't be undone, so they will be scored on tests transformed the same way, not on bits per byte.

Waiting on a tagging pass

These need every word of the training text tagged first: with its sense, its roots, its sound or its part of speech. That's part of the run, so they can't be shown on your sentence yet.

About the BPE rows

The real run trains its vocabularies on FineWeb-Edu. Those don't exist yet, so the BPE rows here use stand-ins trained on this repo's own READMEs. A corpus that small cuts everyday words oddly, so read those rows as "what BPE does", not as the run's tokens.

The plan This page's code