AfriqueQwen3.5-4B-Instruct-20260826
Post-trained version (20260826) of McGill-NLP/AfriqueQwen3.5-4B.
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-20260826 --language-model-only --max-model-len 12288 --port 8000
curl http://127.0.0.1:8000/v1/chat/completions -H 'Content-Type: application/json' -d '{
"model": "McGill-NLP/AfriqueQwen3.5-4B-Instruct-20260826",
"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{}.
| Setting | Mathematics | Other tasks |
|---|---|---|
enable_thinking | true | false |
temperature | 0.7 | 0 (greedy) |
top_p | 0.8 | — |
top_k | 20 | — |
min_p | 0 | — |
presence_penalty | 1.5 | 0 |
repetition_penalty | 1.0 | 1.0 |
max_tokens | 10240 | 1024 |
--max-model-len | 12288 | 8192 |
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: