The Lantern #05 week of July 13, 2026

One Tigrinya character, three bytes

3 bytes per Tigrinya character, vs 1 for a basic English letter

c + a + t → cat.

Three letters, three bytes, one word. That’s English, where each basic letter is usually 1 byte in UTF-8.

Now take ሰ, ሲ and ሳ. They read se, si and sa. Each one is a single visible character, and each one is 3 bytes (yep, THREE).

On Tuesday I wrote about why that matters for Qal, my Tigrinya language model. Tigrinya uses the Ge’ez (Ethiopic) script, an abugida, where many characters already combine a consonant and a vowel. So one Tigrinya character carries more information than one English letter.

English letters combine into syllables, while Tigrinya characters are consonant-vowel units
English letters combine into syllables. Tigrinya characters are already consonant-vowel units (from Part 3).

That’s why byte-level tokenization wasn’t my ideal fit for Qal. A byte-level tokenizer can still represent Tigrinya, but it starts from bytes, so it may spend its first merges (the steps where it joins frequent pairs into new tokens) just rebuilding the visible characters before it learns any useful subwords. Character-based BPE, the algorithm Qal uses, starts one level higher, from the characters themselves, and learns frequent combinations from there.

But picking the algorithm is only one step. A tokenizer is really a pipeline, and on Monday I walked through Qal’s:

  1. Normalization
    Makes the text consistent before any splitting. I kept it minimal, with NFC normalization (so each character is stored one standard way), whitespace cleanup and the script-specific mappings from the cleaning stage.
  2. Pre-tokenization
    Decides how spaces and punctuation are exposed. I used Metaspace, which turns spaces into a visible marker so they survive, and isolated the Tigrinya full stop, comma and question mark (።, ፣ and ፧) so sentence boundaries, pauses and questions stay visible.
  3. BPE training
    Learns the vocabulary, starting from Tigrinya characters and repeatedly merging frequent pairs into reusable subwords.
  4. Post-processing
    Adds the final structure, including special tokens. I kept just two, [UNK] for unknown text and [PAD] for padding, because every token adds another embedding row, and in a small model every row should earn its place.

Then I added one last check that runs the pipeline in reverse. It encodes a sentence, decodes it back and compares the result with the normalized text. It catches problems with whitespace, punctuation, character mappings and saved tokenizer state.

The four stages of Qal's production tokenizer pipeline
The four stages of Qal's production tokenizer pipeline (from Part 3).

Both posts, and the full breakdown in Part 3 of Building Qal, my blog series on Substack, land on the same idea.

It all starts with ሰ. One character, three bytes, and a whole tokenizer built around it.

Tokenizer design should follow the writing system before it follows the trend.

Talk soon,
Fanus

P.S. Do you build for a language that isn’t written in the Latin alphabet? Reply by email with the language, and I’ll guess how many bytes its characters take. (Spoiler, it’s probably more than one 😄)

this week's sources