MzansiLM
is a 125M-parameter decoder-only language model trained from scratch on
MzansiText
, a multilingual corpus covering all eleven official South African languages.
Model Details
Parameters:
125,008,384
Architecture: decoder-only
LlamaForCausalLM
Hidden size:
512
Intermediate size:
1536
Layers:
30
Attention heads:
9
Key/value heads:
3
Context length:
2048
RoPE theta:
10000.0
RMSNorm epsilon:
1e-5
Tied word embeddings:
true
Training attention implementation:
flash_attention_2
Tokenizer
MzansiLM uses a custom BPE tokenizer with a vocabulary size of
65536
.
[BOS] = 0
[EOS] = 1
[PAD] = 2
[UNK] = 3
Normalizer:
NFD
Pre-tokenizer:
ByteLevel
Post-processing:
single sequence:
[BOS] $A [EOS]
pair sequence:
[BOS] $A [EOS] [BOS] $B [EOS]
Training Data
The model was trained on
MzansiText
and covers all eleven official South African languages:
af
,
en
,
nso
,
sot
,
ssw
,
tsn
,
tso
,
ven
,
xho
,
zul
,
nbl
MzansiLM is a research model for pretraining, fine-tuning, and evaluation on South African languages. It is intended as a reproducible baseline for language modeling and downstream task adaptation.
Until the public paper record is live, please cite the repository:
@misc{mzansitext-mzansilm-github,
title = {MzansiText and MzansiLM: An Open Corpus and Decoder-Only Language Model for South African Languages},
author = {Lombard, Anri and Mawere, Simbarashe and Aina, Temi and Wolff, Ethan and Gumede, Sbonelo and Novick, Elan and Meyer, Francois and Buys, Jan},
year = {2026},
howpublished = {\url{https://github.com/Anri-Lombard/sallm}},
note = {GitHub repository}
}
License
Apache License 2.0
Runs of anrilombard mzansilm-125m on huggingface.co
116.8K
Total runs
0
24-hour runs
-5.1K
3-day runs
-35.0K
7-day runs
-43.5K
30-day runs
More Information About mzansilm-125m huggingface.co Model
mzansilm-125m huggingface.co is an AI model on huggingface.co that provides mzansilm-125m's model effect (), which can be used instantly with this anrilombard mzansilm-125m model. huggingface.co supports a free trial of the mzansilm-125m model, and also provides paid use of the mzansilm-125m. Support call mzansilm-125m model through api, including Node.js, Python, http.
mzansilm-125m huggingface.co is an online trial and call api platform, which integrates mzansilm-125m's modeling effects, including api services, and provides a free online trial of mzansilm-125m, you can try mzansilm-125m online for free by clicking the link below.
anrilombard mzansilm-125m online free url in huggingface.co:
mzansilm-125m is an open source model from GitHub that offers a free installation service, and any user can find mzansilm-125m on GitHub to install. At the same time, huggingface.co provides the effect of mzansilm-125m install, users can directly use mzansilm-125m installed effect in huggingface.co for debugging and trial. It also supports api for free installation.