Languages
/
Kinyarwanda

Kinyarwanda premium falls to 1.56xfrom 1.71x.

Nzinga needs 42,162 tokens for 1,012 FLORES+ sentences. GPT-4o, the best other tokenizer, needs 46,011.

Kinyarwanda premium falls to 1.56 times English, from 1.71 with GPT-4o.
8.4%
fewer tokens than GPT-4o
1.56x
FLORES+ premium
10.0%
NTREX-128 saving
12.1M
speakers, first language

The challenge

Kinyarwanda text needs more tokens than its English source. With Gemma 3, the same 1,012 FLORES+ sentences take 53,301 tokens, against 27,114 in English. About 12.1 million people speak it as a first language (Ethnologue, 2019).

The change

Nzinga added 32,000 African word pieces to Gemma 3's tokenizer, trained on open web text in 29 languages, including 25.0 million characters of Kinyarwanda. Every Gemma 3 token kept its ID, and no test sentence was in training.

flores+: sentences: 1012 nzinga: 42,162 gpt-4o: 46,011 overlap_13gram: 0

Closest to the target, with Somali, Igbo and Oromo.

Tier 1 results
,
FLORES+ devtest premium
,
Kinyarwanda, 1.56x

The result

Nzinga needs 8.4% fewer tokens than GPT-4o on FLORES+ and 10.0% fewer on NTREX-128. The premium is 1.56 times English, just above the target.

Before Nzinga, and after.

Before: Gemma 3 alone
Tokens for 1,012 FLORES+ sentences
Before
53,301
After
42,162
Tokens for 1,997 NTREX-128 sentences
Before
107,744
After
83,599
Premium on FLORES+
Before
1.97x
After
1.56x
Closing the gap

Fewer tokens for African-language AI models.

Record in your language. The demo is open.