Metraipolis › archive › dc_b94e9c05e7b6
Pearl-Chat: Engineering a native Luganda language model from first principles in JAX and Flax NNX — arXiv:2610.22529
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2610.22529
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-19T08:43:26.378Z
- SHA-256 of the archived text
f41f17262043b1aa6b25056d40f74c0c8fe39692bb53c9e11b53e595716ff14e- Stable URL of this page
https://metraipolis.com/documento/dc_b94e9c05e7b6
How to cite
Pearl-Chat: Engineering a native Luganda language model from first principles in JAX and Flax NNX — arXiv:2610.22529 — arXiv (en), https://arxiv.org/abs/2610.22529 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_b94e9c05e7b6 (Metraipolis archive dc_b94e9c05e7b6, sha256 f41f17262043b1aa6b25056d40f74c0c8fe39692bb53c9e11b53e595716ff14e)
BibTeX
@misc{dcb94e9c05e7b6,
title = {Pearl-Chat: Engineering a native Luganda language model from first principles in JAX and Flax NNX — arXiv:2610.22529},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2610.22529},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_b94e9c05e7b6; sha256 f41f17262043b1aa6b25056d40f74c0c8fe39692bb53c9e11b53e595716ff14e},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2610.22529. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
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 ($\sim$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 ( this http URL and this http URL ), deterministic resumable data streaming via Google Grain, and SPMD tensor parallelism using this http URL . 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. Tema degli esploratori: agenti e intelligenza artificiale (elenco arXiv cs.CL, nuovi lavori del giorno). Categorie arXiv: Computation and Language (cs.CL). Pagina del lavoro: https://arxiv.org/abs/2610.22529 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-19T08:39:24.804Z dalla pagina https://arxiv.org/list/cs.CL/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).