The Lantern #09 week of November 23, 2026

Usually you bring a dish

5 Qal tiers, free on Hugging Face

Usually you bring a dish to Thanksgiving.

So this Thanksgiving, I brought everyone a gift instead (much easier to carry). I released Qal, my Tigrinya language model, as five small tiers I built and trained from scratch, free on Hugging Face.

Here are the five:

  • qal-tiny: 5.8M parameters
  • qal-small: 13.4M
  • qal-base: 21.1M
  • qal-large: 55.2M
  • qal-xlarge: 69.4M

All five share the same data, tokenizer and architecture, and I released the dataset they learned from too, so you can see exactly what went in.

Are they perfect? Not even close.

They write like the evening news. They make plenty of mistakes. And whatever opening you type, there’s a fair chance they end up at Arsenal vs Chelsea ⚽ (they have strong opinions, apparently).

But they’re small enough to run on your own laptop, which means you can open them up, break them, retrain them and change them. That’s way more fun than calling an API.

So how did I design those tiers?

That was Monday’s post, on scaling laws, the reason I didn’t have to train model after model to find a starting point.

And what’s a scaling law?

Researchers train many small models, varying data, parameters and compute, and find that loss follows a predictable pattern. That pattern lets you estimate how a large model will do before you pay to train it. That pattern is a pretraining scaling law.

I had roughly 70M Tigrinya tokens and no budget to train even a few test models, so I used what three papers had already found:

  1. How far could 70M tokens stretch?
    Muennighoff et al. found repeated data stays nearly as useful as fresh data for about 4 epochs (4 passes over the same data). 70M × 4 = 280M training tokens.
  2. How big should Qal be?
    Chinchilla found compute-optimal training uses about 20 training tokens per parameter. 280M ÷ 20 = about 14M parameters.
  3. How many layers did it need?
    Kaplan et al. found that between roughly 1M and 100M non-embedding parameters, 3 to 6 layers reach nearly the same loss. A shallow transformer was a reasonable start.

But 20 tokens per parameter isn’t a universal rule. Here’s what other ratios suggest for the same 280M tokens:

  • GPT-3’s (~2 per parameter) → 140M parameters
  • Llama 3’s (~215 per parameter) → 1.3M parameters

That’s a spread of over 100x from the SAME data. So I designed five tiers of Qal rather than betting on one number. All nine design decisions are in Part 4.2 of Building Qal, my blog series on Substack, which went out the same day.

On Tuesday I stepped back to the tokenizer and the three metrics I check before training:

  • fertility (tokens per word)
  • compression (characters per token)
  • coverage (the share of [UNK], or unknown, tokens)

On Qal’s held-out text, all three vocabulary sizes (8K, 16K and 32K) scored zero [UNK], and 32K won on fertility and compression. On paper, it was the obvious pick.

How well a model learns from those tokens is a separate test, though. If you read The Lantern #6, you know how that one ended (spoiler, not well for 32K).

So that’s my dish this year. Five models, the data behind them, and the papers behind their design.

Let small experiments, yours or someone else’s, tell you what to try before you train the big one.

Happy Thanksgiving, everyone 🦃

Talk soon,
Fanus

P.S. Try one of the models. Type a few words of Tigrinya and see how it finishes the sentence, then reply with what it came up with in the comments or by email. (If it starts talking about Arsenal, that’s normal.)

this week's sources