CoolFace
Modelpublic

McGill-NLP/AfriqueQwen3.5-4B-Instruct-v1

sourceHugging Facecc-by-4.0updated 8d agoView on Hugging Face
0likes675downloads
Model Card

AfriqueQwen3.5-4B-Instruct-v1

Post-trained version (v1) of McGill-NLP/AfriqueQwen3.5-4B.

Performance

ModelParamsAfriMGSMAfriMMLUAfriXNLIBelebeleInjongoSIB-200FLORESOverall
Apertus-8B-Instruct-25098B12.735.134.442.511.867.743.535.4
Gemma-3-4B-it4B20.435.748.447.928.767.133.540.3
tiny-aya-earth3.35B19.641.355.454.417.469.542.042.8
Qwen3.5-4B4B41.541.851.552.835.171.544.448.4
Sunflower-Qwen3.5-9B9B19.941.850.562.755.078.362.352.9
AfriqueQwen3.5-4B-Instruct-v14B51.446.362.465.259.180.457.860.4

For Flores, we use SSA-COMET ([Li et al., 2025](https://arxiv.org/abs/2506.04557)); for AfriMGSM, we detect the number inside the `\boxed{}` or the last number in the entire output; for multiple-choice questions, we use exact match.

Usage

Served with vLLM. The checkpoint declares Qwen3_5ForConditionalGeneration but carries no vision weights (426 language-model tensors plus a tied lm_head copy, 0 visual), so --language-model-only is required.

bash
vllm serve McGill-NLP/AfriqueQwen3.5-4B-Instruct-v1 --language-model-only --max-model-len 12288 --port 8000
bash
curl http://127.0.0.1:8000/v1/chat/completions -H 'Content-Type: application/json' -d '{
  "model": "McGill-NLP/AfriqueQwen3.5-4B-Instruct-v1",
  "messages": [
    {"role": "system", "content": "Wewe ni msaidizi mwenye manufaa ambaye hutatua matatizo ya hisabati yaliyoandikwa kwa maneno.\nTafadhali toa hoja hatua kwa hatua kwa Kiswahili, na uweke jibu lako la mwisho ndani ya \\boxed{}."},
    {"role": "user", "content": "Sandy hupata $15 kwa saa. Alifanya kazi saa 10 Ijumaa. Alipata pesa ngapi?"}
  ],
  "temperature": 0.7, "top_p": 0.8, "top_k": 20, "presence_penalty": 1.5, "max_tokens": 10240
}'
Hatua ya 1: Sandy hupata $15 kwa saa.
Hatua ya 2: Sandy alifanya kazi saa 10 Ijumaa.
Hatua ya 3: Jumla ya Mapato = $15/saa x saa 10
Hatua ya 4: $15 x 10 = $150

Sandy alipata $150 kwa kufanya kazi saa 10.

Recommendation Prompting and Setting

Mathematics

English

You are a helpful assistant that solves math word problems.
Please reason step by step in English, and put your final answer within \boxed{}.

For other languages, replace the part after "step by step in" with the target language, and translate it into the target language, for example Swahili:

Wewe ni msaidizi mwenye manufaa ambaye hutatua matatizo ya hisabati yaliyoandikwa kwa maneno.
Tafadhali toa hoja hatua kwa hatua kwa Kiswahili, na uweke jibu lako la mwisho ndani ya \boxed{}.
SettingMathematicsOther tasks
enable_thinkingtruefalse
temperature0.70 (greedy)
top_p0.8—
top_k20—
min_p0—
presence_penalty1.50
repetition_penalty1.01.0
max_tokens102401024
--max-model-len122888192

Other tasks

Translation:

Translate the following sentence from {source language} to {target language}.

{source language}: {sentence}
{target language}:

Multiple choice:

Answer the multiple-choice question by replying with ONLY the letter
(A, B, C, or D) of the correct answer.

Question: {question}

A. {A}
B. {B}
C. {C}
D. {D}

Answer: