McGill-NLP/AfriqueQwen3.5-4B-Instruct-v1
0675
AfriqueQwen3.5-4B-Instruct-v1
Post-trained version (v1) of McGill-NLP/AfriqueQwen3.5-4B.
Performance
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.
vllm serve McGill-NLP/AfriqueQwen3.5-4B-Instruct-v1 --language-model-only --max-model-len 12288 --port 8000curl 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{}.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: