AfriqueQwen3.5-0.8B-50Langs is part of the AfriqueLLM suite, a collection of open language models adapted to 50 African languages through continued pre-training (CPT) on ~35.5B tokens. This model is based on Qwen/Qwen3.5-0.8B-Base and has been specifically adapted for improved performance on African languages while maintaining strong capabilities in high-resource languages.
This compact variant follows the same extended code, math, and 50-language continued-pretraining recipe as AfriqueQwen3.5-4B-50Langs.
Key Features
Type: Causal Language Model (Base/Pre-trained)
Base Model: Qwen 3.5 0.8B
Parameters: 0.8B
Context Length: 262,144 tokens (native)
Training Tokens: ~35.5B tokens of carefully curated multilingual data
Supported Languages
AfriqueQwen3.5-0.8B-50Langs has been adapted for the following 50 African languages:
Language
Code
Family
Script
Afrikaans
afr_Latn
Germanic
Latin
Swahili
swh_Latn
Bantu
Latin
Moroccan Arabic
ary_Arab
Semitic
Arabic
Somali
som_Latn
Cushitic
Latin
Amharic
amh_Ethi
Semitic
Ethiopic
Egyptian Arabic
arz_Arab
Semitic
Arabic
Hausa
hau_Latn
Chadic
Latin
Kinyarwanda
kin_Latn
Bantu
Latin
Zulu
zul_Latn
Bantu
Latin
Igbo
ibo_Latn
Volta-Niger
Latin
Plateau Malagasy
plt_Latn
Austronesian
Latin
Xhosa
xho_Latn
Bantu
Latin
Shona
sna_Latn
Bantu
Latin
Yoruba
yor_Latn
Volta-Niger
Latin
Nyanja
nya_Latn
Bantu
Latin
Southern Sotho
sot_Latn
Bantu
Latin
Tigrinya
tir_Ethi
Semitic
Ethiopic
Tunisian Arabic
aeb_Arab
Semitic
Arabic
Oromo
gaz_Latn
Cushitic
Latin
Tswana
tsn_Latn
Bantu
Latin
Rundi
run_Latn
Bantu
Latin
Ganda
lug_Latn
Bantu
Latin
Tsonga
tso_Latn
Bantu
Latin
Lingala
lin_Latn
Bantu
Latin
Ewe
ewe_Latn
Kwa
Latin
Wolof
wol_Latn
Senegambian
Latin
Sango
sag_Latn
Creole
Latin
Akan/Twi
aka_Latn / twi_Latn
Kwa
Latin
Kabiye
kbp_Latn
Gur
Latin
Bambara
bam_Latn
Mande
Latin
Northern Sotho
nso_Latn
Bantu
Latin
Fon
fon_Latn
Kwa
Latin
Swati
ssw_Latn
Bantu
Latin
Central Atlas Tamazight
tzm_Tfng
Berber
Tifinagh
Kabyle
kab_Latn
Berber
Latin
Kabuverdianu
kea_Latn
Creole
Latin
N'Ko
nqo_Nkoo
Mande
N'Ko
Mossi
mos_Latn
Gur
Latin
Kimbundu
kmb_Latn
Bantu
Latin
Kanuri
knc_Arab / knc_Latn
Saharan
Arabic/Latin
Dyula
dyu_Latn
Mande
Latin
Tamasheq
taq_Latn
Berber
Latin
Southwestern Dinka
dik_Latn
Nilotic
Latin
Luo
luo_Latn
Nilotic
Latin
Nigerian Fulfulde
fuv_Latn
Senegambian
Latin
Bemba
bem_Latn
Bantu
Latin
Kikuyu
kik_Latn
Bantu
Latin
Kamba
kam_Latn
Bantu
Latin
Kikongo
kon_Latn
Bantu
Latin
Luba-Kasai
lua_Latn
Bantu
Latin
High-resource languages used for catastrophic forgetting mitigation: English, French, Portuguese, Arabic
Training Data
Our training corpus combines multiple high-quality sources:
African Monolingual Data (~22.8B tokens): FineWeb2, WURA, and MADLAD-400
Code (~1B tokens): CornStack-Python for reasoning capabilities
Mathematics (~1B tokens): FineMath-4+ for mathematical understanding
Synthetic Data (~324M tokens): GPT-4.1 translated domain-specific content across 10 domains
Additional Language Expansion (~1.5B tokens beyond the extended code/math recipe): remaining African language data, upsampled 5x for broader language coverage.
We use UniMax sampling to create a balanced distribution, capping high-resource languages at approximately 1B tokens and upsampling lower-resource languages for up to five epochs.
Quickstart
python
1from transformers import AutoModelForCausalLM, AutoTokenizer
23model_name ="McGill-NLP/AfriqueQwen3.5-0.8B-50Langs"45# Load the tokenizer and the model6tokenizer = AutoTokenizer.from_pretrained(model_name)7model = AutoModelForCausalLM.from_pretrained(8 model_name,9 torch_dtype="auto",10 device_map="auto"11)1213# Prepare the model input14prompt ="Bawo ni o ṣe n ṣe?"# Yoruba: "How are you doing?"15inputs = tokenizer(prompt, return_tensors="pt").to(model.device)1617# Generate text18generated_ids = model.generate(19**inputs,20 max_new_tokens=100,21)22output = tokenizer.decode(generated_ids[0], skip_special_tokens=True)23print(output)
Deployment
For deployment, you can use vllm or sglang to create an OpenAI-compatible API endpoint:
This table averages only evaluated African languages outside the first 20-language CPT set: Ewe, Lingala, Ganda, Twi, and Wolof. Benchmark cells average the available languages for that benchmark; FLORES is English-to-target only (eng->xxx).
1@misc{yu2026afriquellmdatamixingmodel,
2 title={AfriqueLLM: How Data Mixing and Model Architecture Impact Continued Pre-training for African Languages},
3 author={Hao Yu and Tianyi Xu and Michael A. Hedderich and Wassim Hamidouche and Syed Waqas Zamir and David Ifeoluwa Adelani},
4 year={2026},
5 eprint={2601.06395},
6 archivePrefix={arXiv},
7 primaryClass={cs.CL},
8 url={https://arxiv.org/abs/2601.06395},
9}
License
This model is released under the CC BY 4.0 License. Please review the license terms before use.
Acknowledgments
We thank the creators of the base models, datasets and compute resources that made this work possible, including Mila, Compute Canada, Microsoft, the FineWeb team, WURA, MADLAD-400 and etc..