mlsanityData to 26 Nov 2026

Pearl-Chat: Engineering a native Luganda language model from first principles in JAX and Flax NNX

arXiv 2610.22529 ↗Submitted 15 Oct 2026cs.CLcited by 0

Not on the map. Why?

Abstract (arXiv)

Autoregressive foundation language models predominantly target high-resource Indo-European languages, imposing computational and morphological penalties on under-represented African languages. Generic multilingual tokenizers routinely exceed fertility rates of 3.2 tokens per word on agglutinative Bantu languages, degrading context efficiency and inflating latency. We present Pearl-Chat, an 8,473,122-parameter (~8.5M) causal decoder-only transformer engineered for Luganda (Oluganda, ISO 639-2: lg), a low-resource Niger-Congo Bantu language spoken by over 10 million people in East Africa. Built from first mathematical principles in JAX and Flax NNX, Pearl-Chat uses explicit functional state decomposition (nnx.split and nnx.merge), deterministic resumable data streaming via Google Grain, and SPMD tensor parallelism using jax.sharding.Mesh. We introduce a byte-level byte-pair encoding (BPE) subword tokenizer trained from scratch on curated Luganda corpora (V = 8,192), achieving 4.88 characters per token compression and 1.60 tokens per word fertility, a two-fold compression improvement over LLaMA-3 (128K) and Gemma (256K). The model is trained with a two-stage curriculum: Stage 1 pre-training on 59,501 sequences across parallel, biblical, encyclopedic, and journalistic corpora, and Stage 2 instruction fine-tuning on 510 dialogues with assistant-only loss masking. Across 4,000 optimization steps, validation cross-entropy loss drops monotonically from 9.4695 (perplexity: 12,958.98) to 0.1818 (perplexity: 1.20), a decrease of 9.2877 nats. On a three-tier held-out diagnostic benchmark, Pearl-Chat achieves 0.9792 ROUGE-L and 0.9405 BLEU while maintaining concordial agreement across Bantu noun classes. We provide a Python Server-Sent Events (SSE) streaming runtime and open-source all weights, tokenizers, and code.

Key facts. No citing papers in the map yet (data through 26 Nov 2026). Builds on 21 of its 55 references that are in the map. Submitted 15 Oct 2026.

Builds on

21 of 55 references.

References · 21

  1. 2017Attention Is All You Needcited by 62,125
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 41,272
  3. 2020Language Models are Few-Shot Learnerscited by 33,113
  4. 2023GPT-4 Technical Reportcited by 19,416
  5. 2024The Llama 3 Herd of Modelscited by 16,114
  6. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,772
  7. 2020Scaling Laws for Neural Language Modelscited by 7,119
  8. 2016Layer Normalizationcited by 6,002
  9. 2016Gaussian Error Linear Units (GELUs)cited by 3,745
  10. 2022Training Compute-Optimal Large Language Modelscited by 3,290
  11. 2015Neural Machine Translation of Rare Words with Subword Unitscited by 3,052
  12. 2019The Curious Case of Neural Text Degenerationcited by 3,022
9 more
  1. 2024Gemma: Open Models Based on Gemini Research and Technologycited by 1,038
  2. 2020On Layer Normalization in the Transformer Architecturecited by 971
  3. 2016Using the Output Embedding to Improve Language Modelscited by 290
  4. 2023Do All Languages Cost the Same? Tokenization in the Era of Commercial Language Modelscited by 218
  5. 2020Participatory Research for Low-resourced Machine Translation: A Case Study in African Languagescited by 169
  6. 2020Masakhane -- Machine Translation For Africacited by 51
  7. 2022MasakhaNER 2.0: Africa-centric Transfer Learning for Named Entity Recognitioncited by 41
  8. 2023Building a Parallel Corpus and Training Translation Models Between Luganda and Englishcited by 4
  9. 2025Data Augmentation With Back translation for Low Resource languages: A case of English and Lugandacited by 4

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026OpenBibleTTS: Large-Scale Speech Resources and TTS Models for Low-Resource Languages
  2. 2026Translation Circuit Discovery and Targeted Optimization for Low-Resource Multilingual Translation
  3. 2026AfriNLLB: Efficient Translation Models for African Languages
  4. 2026From Speech to Text Corpora: Evaluating ASR-Based Data Acquisition for Low-Resource Fongbe and Hausa
  5. 2026How Architecture, Typology, and Adaptation Strategies Shape ASR for Low-Resource African Languages: A Controlled Empirical Study
  6. 2026AfriqueLLM: How Data Mixing and Model Architecture Impact Continued Pre-training for African Languages
  7. 2026WAXAL-NET: Finetuned Edge ASR Across 19 African Languages
  8. 2024IrokoBench: A New Benchmark for African Languages in the Age of Large Language Models