Model reference · open weights
AfriqueQwen3.5-50Langs is an open-weight language model from McGill-NLP. AfriqueQwen3.5-0.8B-50Langs (BF16) weighs 2.2 GB; the smallest configuration that runs it is RTX 3060 12 GB.
Summary of the McGill-NLP/AfriqueQwen3.5-4B-50Langs model card, 2026-10-01. The estimate below is for another build of the family.
What it is
| Released by | McGill-NLP |
|---|---|
| Released | 2026-06-20 |
| Parameters | 5.2B |
| VRAM | 2.2 GB for the weights |
What it runs on
| Card | Requests at once | Context max | Memory | |
|---|---|---|---|---|
| 8K each | 32K each | |||
| RTX 3060 12 GB | 52 | 16 | all 256K | 11.6 GB |
| RTX 4060 Ti 16 GB | 79 | 25 | all 256K | 15.4 GB |
| RTX 3090 24 GB | 137 | 43 | all 256K | 23.4 GB |
| RTX 4090 24 GB | 136 | 43 | all 256K | 23.4 GB |
| RTX 5090 32 GB | 191 | 60 | all 256K | 31.0 GB |
| L40S 48 GB | 284 | 89 | all 256K | 44.0 GB |
| A100 80 GB | 529 | 167 | all 256K | 78.2 GB |
| H100 80 GB | 492 | 155 | all 256K | 78.1 GB |
| RTX PRO 6000 Blackwell 96 GB | 604 | 191 | all 256K | 93.8 GB |
| DGX Spark (GB10) 128 GB unified | 701 | 221 | all 256K | 107 GB |
| H200 141 GB | 920 | 291 | all 256K | 138 GB |
| B200 180 GB | 1000+ | 377 | all 256K | 176 GB |
| Requests at once | 8K tokens each | 32K tokens each |
|---|---|---|
| 1 | 4.4 GB | 4.7 GB |
| 5 | 4.9 GB | 6.4 GB |
| 8 | 5.4 GB | 7.8 GB |
| 16 | 6.5 GB | 11.3 GB |
| 32 | 8.7 GB | 18.4 GB |
| 64 | 13.2 GB | 32.5 GB |
One card, with vLLM's small-card settings.
Builds
| Build | Params | Precision | Weights | Smallest setup |
|---|---|---|---|---|
| AfriqueQwen3.5-4B-50Langs ↗ | 5.2B | BF16 | 10.4 GB | RTX 4060 Ti 16 GB |
| AfriqueQwen3.5-0.8B-50Langs (above) ↗ | 1.1B | BF16 | 2.2 GB | RTX 3060 12 GB |
| AfriqueQwen3.5-9B-50Langs ↗ | 9.4B | BF16 | 18.8 GB | RTX 4090 24 GB |
| AfriqueQwen3.5-4B-50Langs-Instruct-v1 ↗ | 4.2B | BF16 | 8.4 GB | RTX 3060 12 GB |
| AfriqueQwen3.5-9B-50Langs-Instruct-v1 ↗ | 9.0B | BF16 | 17.9 GB | 2× RTX 3060 12 GB |
From the model card
AfriqueQwen3.5-4B-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-4B-Base and has been specifically adapted for improved performance on African languages while maintaining strong capabilities in high-resource languages.
This variant extends AfriqueQwen3.5-4B-ExtendedCM with approximately 1.5B additional tokens from remaining African language data, bringing the supported African language coverage to 50 languages.
AfriqueQwen3.5-4B-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
Our training corpus combines multiple high-quality sources:
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.
from transformers import AutoModelForCausalLM, AutoTokenizer
model_name = "McGill-NLP/AfriqueQwen3.5-4B-50Langs"
# Load the tokenizer and the model
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForCausalLM.from_pretrained(
model_name,
torch_dtype="auto",
device_map="auto"
)
# Prepare the model input
prompt = "Bawo ni o ṣe n ṣe?" # Yoruba: "How are you doing?"
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
# Generate text
generated_ids = model.generate(
**inputs,
max_new_tokens=100,
)
output = tokenizer.decode(generated_ids[0], skip_special_tokens=True)
print(output)
For deployment, you can use vllm or sglang to create an OpenAI-compatible API endpoint:
vLLM:
vllm serve McGill-NLP/AfriqueQwen3.5-4B-50Langs
SGLang:
python -m sglang.launch_server --model-path McGill-NLP/AfriqueQwen3.5-4B-50Langs
Training was conducted using the LLaMA-Factory framework on up to 64 NVIDIA H100 GPUs with:
All AfriqueLLM models are evaluated on multiple multilingual benchmarks. FLORES is reported only in the English-to-target direction (eng->xxx):
| Model | AfriMGSM | AfriMMLU | AfriXNLI | Belebele | FLORES (eng->xxx) | INJONG | SIB-200 | Overall | Δ (Δ %) |
|---|---|---|---|---|---|---|---|---|---|
| Gemma3-4B | 10.24 | 33.89 | 37.76 | 45.79 | 35.36 | 55.52 | 63.59 | 40.31 | |
| AfriqueGemma-4B | 14.86 | 36.73 | 39.62 | 50.5 |
Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.