An open-source toolkit for how models read text

BYTES

Most language models never see a single letter. On 7 October a paper in Nature showed how to retrofit them to read raw bytes for under 1 % of the cost of training them. Look at the problem yourself.

$BYTESFZu9nxS72VUGqCzdezNbPNfbAduMpnoPfY3dUg8pump

Use the arrow keys, scroll, or the bytes at the bottom.

How many r's in strawberry?

Try it

Three ways to read the same text

Bytes

Tokens

Patches

The idea

Keep the middle. Replace the edges.

Bytes in256 symbols, every letter
Local encodera small new network reads the bytes
Boundary predictordecides where each patch ends
The original transformerkept, reads one vector per patch
Local decoderturns patches back into bytes
Bytes outthe next byte, one at a time
< 1 %of the original training budget
9.8B + 39.3Btokens: first the new edges learn with the middle frozen, then everything trains together
78.6 vs 56.9on the CUTE character benchmark: byteified Bolmo 7B against the OLMo 3 7B it came from
3 familiesreleased so far: Bolmo (from OLMo), Bwen (from Qwen3), Blama (from Llama 3)

Figures as reported by the authors and AI2. Sources on the paper slides.

The bill

One sentence, nine languages, nine prices

    Measure it

    Give a model twenty letter questions

      bytewise technical note, 10 October 2026 1 / 3

      What a subword model cannot see: hidden letters, uneven prices and entropy patches

      The bytewise maintainers

      Abstract. Subword tokenizers hide the letters inside each token from the model that reads them. We measure how often that happens with a byte-level BPE tokenizer trained on English: of the letters in a set of character-task words sit inside longer tokens, and a reader that sees only whole tokens answers of seeded character tasks correctly, against 100 % for a reader of letters. The same tokenizer charges up to as many tokens for the same sentence in other languages. A 3-byte entropy model groups English bytes into patches of bytes on average, close to its tokens, while unfamiliar scripts fall back towards one byte per patch. These are the problems byteification addresses [1].

      1. Hidden letters. A token's letters are available to a model only through what it learned about that token. For each occurrence of a letter in a text, hidden() reports whether its token is longer than the letter. Table 1 lists the share per word.

      bytewise technical note 2 / 3

      2. Character tasks. tasks() draws seeded questions of five kinds with exact answers. As a lower bound we answer them as a reader that sees only whole tokens would (tokenGuess()); Figure 1 shows its accuracy per kind. Real subword models do better, because they learn a lot about the spelling of their tokens: the byteified Bolmo 7B scores 78.6 on the CUTE benchmark against 56.9 for OLMo 3 7B [2].

      Figure 1. Accuracy per task kind, 60 seeded tasks: token-only reader against letter reader.
      Table 1. Letters hidden inside longer tokens.
      WordTokensLetterHidden

      bytewise technical note 3 / 3

      3. Patches. Byte-level models avoid long sequences by grouping bytes. We count which byte follows each run of up to three bytes and start a patch where the next byte's entropy rises by more than 0.6 bits or exceeds 6 bits. Figure 2 shows the average patch length per language: long in the language the model knows, near one byte elsewhere.

      Figure 2. Bytes per patch and per token, Article 1 of the UDHR in nine languages.

      4. Limits. The tokenizer and byte model are trained on 6 KB of English and are far smaller than production ones; their absolute numbers are illustrative, the patterns are not. The token-only reader is a lower bound, not a model. Byteified models learn their patch boundaries; ours are counted.

      1. Minixhofer et al., "Retrofitting language models to operate over bytes," Nature, 7 October 2026; news: Nature News & Views, LMU via Newswise.
      2. "AI2's Bolmo byteified language model," WinBuzzer, 16 December 2025. winbuzzer.com
      3. "Allen AI retrofits OLMo, Qwen3, Llama 3 to byte-level models," AI Weekly, 8 October 2026. aiweekly.co

      Use it

      Four lines to see what a tokenizer does

      JavaScript, Node or browser

      Command line

      $ bytewise view "Byteification sees every letter"
      $ bytewise hidden strawberry r
      $ bytewise languages
      $ bytewise tasks --n 20 --seed 1 --out tasks.json
      $ bytewise grade tasks.json answers.json
      $ bytewise train my-text.txt --vocab 2000

      grade exits with code 3 when any answer is wrong, so it can sit in a test script.

      Open

      bytewise 0.1.0, byte by byte

        Get it

        unzip bytewise-0.1.0.zip && cd bytewise && npm test

        bytewise-0.1.0.zipbytewise.jsREADME.md

        The coin

        $BYTES

        —

        24h
        —
        Market cap
        —
        Volume 24h
        —
        Liquidity
        —
        Supply
        1,000,000,000
        Tax
        0%

        Loading the chart…