Model reference · open weights
AfriqueQwen3.5 is an open-weight language model from McGill-NLP. AfriqueQwen3.5-4B (BF16) weighs 10.4 GB; the smallest configuration that runs it is RTX 4060 Ti 16 GB.
Summary of the McGill-NLP/AfriqueQwen3.5-4B model card, 2026-10-01
What it is
| Released by | McGill-NLP |
|---|---|
| Released | 2026-04-20 |
| Parameters | 5.2B |
| VRAM | 10.4 GB for the weights |
What it runs on
| Card | Requests at once | Context max | Memory | |
|---|---|---|---|---|
| 8K each | 32K each | |||
| RTX 3060 12 GB | — | — | — | 11.6 GB |
| RTX 4060 Ti 16 GB | 7 | 2 | 85K | 15.4 GB |
| RTX 3090 24 GB | 29 | 9 | all 256K | 23.4 GB |
| RTX 4090 24 GB | 29 | 9 | all 256K | 23.4 GB |
| RTX 5090 32 GB | 50 | 15 | all 256K | 31.0 GB |
| L40S 48 GB | 84 | 26 | all 256K | 44.0 GB |
| A100 80 GB | 176 | 55 | all 256K | 78.2 GB |
| H100 80 GB | 162 | 51 | all 256K | 78.1 GB |
| RTX PRO 6000 Blackwell 96 GB | 204 | 64 | all 256K | 93.8 GB |
| DGX Spark (GB10) 128 GB unified | 241 | 76 | all 256K | 107 GB |
| H200 141 GB | 323 | 102 | all 256K | 138 GB |
| B200 180 GB | 425 | 134 | all 256K | 176 GB |
| 2× RTX 3060 12 GB tensor parallel | 23 | 7 | all 256K | 11.6 GB a card |
| 2× RTX 4060 Ti 16 GB tensor parallel | 43 | 13 | all 256K | 15.4 GB a card |
| Requests at once | 8K tokens each | 32K tokens each |
|---|---|---|
| 1 | 12.8 GB | 13.6 GB |
| 5 | 14.3 GB | 18.3 GB |
| 8 | 15.4 GB | 21.9 GB |
| 16 | 18.4 GB | 31.3 GB |
| 32 | 24.3 GB | 50.1 GB |
| 64 | 36.2 GB | 87.8 GB |
One card, with vLLM's small-card settings.
Builds
| Build | Params | Precision | Weights | Smallest setup |
|---|---|---|---|---|
| AfriqueQwen3.5-4B (above) ↗ | 5.2B | BF16 | 10.4 GB | RTX 4060 Ti 16 GB |
| AfriqueQwen3.5-4B-Instruct-v1 ↗ | 4.8B | BF16 | 9.7 GB | RTX 4060 Ti 16 GB |
| AfriqueQwen3.5-4B-Instruct-v2 ↗ | 4.2B | BF16 | 8.4 GB | RTX 3060 12 GB |
From the model card
AfriqueQwen3.5-4B is part of the AfriqueLLM suite, a collection of open language models adapted to 20 African languages through continued pre-training (CPT) on ~26B 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.
Our experiments show that Qwen 3.5 models provide an excellent balance of multimodal capabilities and multilingual performance.
AfriqueQwen3.5-4B has been adapted for the following 20 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 |
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"
# 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
SGLang:
python -m sglang.launch_server --model-path McGill-NLP/AfriqueQwen3.5-4B
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.52 | 54.95 | 69.28 | 69.21 | 47.88 | +7.6 (18.8%) |
| Gemma3-12B | 25.21 | 48.76 | 44.01 | 68.84 | 44.09 | 73.53 | 79.17 | 54.80 | |
| AfriqueGemma-12B | 32.14 | 49.47 | 44.60 | 68.65 | 65.04 | 76.79 | 75.08 | 58.82 | +4.0 (7.3%) |
| Qwen3-4B | 8.26 | 33.84 | 37.12 | 41.50 | 20.16 | 21.69 | 57.88 | 31.49 | |
| AfriqueQwen-4B | 33.09 | 43.04 | 44.88 | 63.62 | 59.82 | 65.34 | 74.77 | 54.94 | +23.4 (74.4%) |
| Qwen3.5-4B | 20.79 | 38.63 | 40.36 | 55.82 | 32.06 | 59.43 | 74.96 | 46.01 | |
| AfriqueQwen3.5-4B | 30.47 | 43.66 | 41.05 | 66.01 | 63.55 | 75.46 | 79.66 | 57.12 | +11.1 (24.2%) |
| AfriqueQwen3.5-4B-ExtendedCM | 34.17 | 45.26 | 41.94 | 66.45 | 63.76 | 75.97 | 80.52 | 58.30 | +1.2 (2.1%) |
| AfriqueQwen3.5-4B-50Langs | 34.06 | 45.23 | 41.79 | 66.83 | 64.56 | 75.82 | 79.83 | 58.30 | +0.0 (0.0%) |
| Qwen3-8B | 11.22 | 36.56 | 38.24 | 44.63 | 21.13 | 29.47 | 53.06 | 33.47 | |
| AfriqueQwen-8B | 39.68 | 46.91 | 45.99 | 68.46 | 62.18 | 73.36 | 77.00 | 59.08 | +25.6 (76.5%) |
Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.