Jais-3-7B-GGUF
[!NOTE] This repository contains GGUF versions of inception42/Jais-3-7B for use with
llama.cpp.Multiple precision and quantization variants are available:
BF16,Q8_0,Q6_K,Q5_K_M,Q5_0,Q4_K_M.
[!WARNING] Deployment notes: K2 Horizon architecture support is merged into
llama.cpp(ggml-org/llama.cpp#29535). Use a recentllama.cppbuild, build it yourself frommaster, or wait for the next officialllama.cpprelease. Startllama-serverwith--jinjaso that reasoning and tool calls are parsed.
Jais-3-7B is the medium dense member of the Jais-3 family: a 7B-class decoder-only model with a 512K context window.
[!TIP] Other formats are available in the IFM/Jais-3 collection:
- Quantization: IFM/Jais-3-7B-FP8
- MLX for Apple silicon:
Benchmark Results
| Reference models | |||||||
|---|---|---|---|---|---|---|---|
| Jais-3-7B | Gemma-4-E4B-it | Gemma-4-12B-it | Qwen3.5-9B | Falcon-H1-7B-Instruct | Allam 7B | Fanar-1-9B-Instruct | |
| # Params | 7B | 8B | 12B | 9B | 7B | 7B | 9B |
| # Activated/Effective params | 7B | 4B | 12B | 9B | 7B | 7B | 9B |
| Architecture | Dense | Dense | Dense | Dense | Dense | Dense | Dense |
| Open-ended Generation | |||||||
| AraGen | |||||||
| AraGen v3 (3C3H)09-2025 | 55.0 | 48.8 | 62.8 | 55.7 | 28.0 | 44.9 | 40.1 |
| Correctness | 63.7 | 58.8 | 73.5 | 67.0 | 34.8 | 52.2 | 48.6 |
| Completeness | 62.1 | 57.7 | 72.4 | 66.4 | 32.7 | 47.2 | 45.9 |
| Conciseness | 20.6 | 10.7 | 18.4 | 13.9 | 10.6 | 30.8 | 17.7 |
| Helpfulness | 58.8 | 51.2 | 66.7 | 57.9 | 26.1 | 43.4 | 40.2 |
| Honesty | 62.0 | 56.7 | 72.4 | 62.8 | 29.9 | 47.0 | 41.9 |
| Harmlessness | 62.9 | 57.7 | 73.2 | 66.4 | 33.6 | 48.9 | 46.2 |
| Knowledge & Reasoning | |||||||
| General Knowledge & Comprehension | |||||||
| Arabic MMLU*Accuracy | 85.2 | 77.5 | 84.1 | 80.9 | 63.3 | 71.2 | 65.8 |
| BelebeleAccuracy | 92.9 | 88.7 | 93.6 | 89.2 | 72.9 | 78.8 | 79.9 |
| STEM & Math | |||||||
| AraSTEM*Accuracy | 92.6 | 89.7 | 93.7 | 93.4 | 76.6 | 79.0 | 73.0 |
| Arabic GSM8K*Accuracy | 92.7 | 87.0 | 92.6 | 91.4 | 85.0 | 56.8 | 75.3 |
| GATmath*Accuracy | 96.4 | 94.4 | 98.0 | 97.3 | 45.5 | 38.4 | 40.6 |
| Professional Domains | |||||||
| MedAraBench*Accuracy | 78.3 | 68.4 | 81.0 | 80.8 | 48.0 | 49.1 | 50.7 |
| Arabic Legal (HELM)*Accuracy | 65.9 | 63.1 | 67.4 | 64.3 | 57.9 | 61.2 | 61.8 |
| Arabic Language & Culture | |||||||
| Islamic Knowledge & Arab Culture | |||||||
| IslamicQAAccuracy (mean of the 4 below) | 83.8 | 71.6 | 78.2 | 69.3 | 61.5 | 67.1 | 62.8 |
| PaLM-X 2025-2*Accuracy | 91.2 | 82.9 | 89.6 | 84.5 | 74.3 | 85.9 | 80.3 |
| QIAS-1*Accuracy | 88.5 | 62.5 | 74.5 | 61.1 | 44.0 | 31.2 | 36.3 |
| QIAS-2*Accuracy | 80.7 | 69.5 | 81.3 | 72.3 | 65.8 | 72.9 | 64.9 |
| IslamicEval2025-1B*Accuracy | 74.9 | 71.4 | 67.5 | 59.3 | 61.9 | 78.4 | 69.7 |
| Arab CultureAccuracy (mean of the 3 below) | 83.8 | 78.5 | 84.2 | 77.3 | 65.5 | 76.1 | 71.1 |
| ArabCulture*Accuracy | 84.9 | 81.6 | 87.0 | 80.4 | 72.4 | 77.7 | 77.3 |
| AraDiCE-Culture*Accuracy | 81.0 | 76.0 | 81.6 | 74.9 | 59.2 | 79.3 | 67.0 |
| Arabic Cuisine^Accuracy | 85.5 | 77.8 | 84.1 | 76.6 | 65.0 | 71.3 | 68.9 |
| Dialects | |||||||
| Dialectal Arabic MMLU*Accuracy | 83.6 | 76.6 | 83.5 | 80.4 | 58.5 | 56.6 | 58.2 |
| Dialect Identification (QADI)Accuracy | 69.0 | 59.8 | 62.1 | 35.7 | 38.1 | 42.8 | 46.2 |
| Alyah*Accuracy | 80.7 | 77.2 | 82.5 | 68.3 | 65.7 | 77.5 | 69.6 |
| Linguistics & Literature | |||||||
| Arabic MMLU with diacriticsAccuracy | 83.6 | 74.5 | 83.2 | 77.3 | 52.3 | 61.9 | 54.9 |
| FannOrFlop-MCQAccuracy | 69.4 | 64.0 | 66.2 | 58.2 | 51.4 | 66.7 | 63.3 |
| Arabic Linguistics^Accuracy (mean of the 2 below) | 93.2 | 84.1 | 93.0 | 81.5 | 47.5 | 67.5 | 57.6 |
| DiacritizationAccuracy | 90.8 | 76.6 | 88.7 | 82.8 | 48.6 | 75.0 | 68.3 |
| ParsingAccuracy | 95.5 | 91.6 | 97.4 | 80.2 | 46.4 | 59.9 | 46.9 |
| Translation | |||||||
| FLORES200+LLM-as-a-judge | 90.6 | 84.0 | 89.5 | 74.3 | 59.8 | 74.5 | 68.4 |
| Assistant Capabilities | |||||||
| Instruction Following | |||||||
| Arabic IFBench^Accuracy (prompt-level strict) | 91.6 | 42.6 | 75.3 | 58.3 | 26.2 | 18.9 | 25.8 |
| Arabic IFEvalAccuracy | 80.2 | 72.3 | 78.7 | 73.8 | 62.4 | 48.0 | 44.6 |
| Long Context | |||||||
| AA-LCR (Ar)Accuracy | 65.0 | - | 49.0 | 68.0 | 9.0 | - | - |
| Factuality & Hallucination | |||||||
| HalluScoreAccuracy | 55.1 | 38.2 | 55.4 | 48.8 | 14.7 | 34.8 | 42.4 |
| SimpleQA Verified (Ar)Aggregate (2/3 F-score + 1/3 non-hallucination rate) | 25.7 | 24.4 | 9.4 | 8.5 | 3.8 | 4.2 | 6.1 |
| F-score | 4.3 | 3.1 | 5.6 | 10.5 | 3.5 | 4.1 | 5.9 |
| Non-hallucination rate | 68.3 | 67.0 | 17.1 | 4.4 | 4.5 | 4.5 | 6.6 |
| Agentic | |||||||
| Terminal Bench 2.1Accuracy (Avg@3) | 46.4 | 1.9 | 27.3 | 29.2 | 0.0 | 0.0 | 0.0 |
| GDPValAccuracy (@ 75% threshold) | 60.5 | 5.5 | 17.7 | 19.1 | 0.0 | 0.0 | 0.0 |
| MCPMarkAccuracy (Pass@1) | 49.6 | 3.2 | 17.3 | 31.5 | 0.0 | 0.0 | 0.0 |
| WildClawBench (English text-only subset)Mean Score@3 | 38.9 | 22.3 | 29.0 | 34.4 | 9.4 | 0.0 | 0.0 |
| Apex-Agents (420 text-only subset, loop agent)Pass@1 (Accuracy) | 21.7 | 1.0 | 7.6 | 5.0 | 0.5 | 0.0 | 0.0 |
| GAIA v2 lit (Ar)Accuracy (Pass@1) | 44.9 | 19.4 | 39.4 | 29.1 | 0.0 | 0.0 | 0.0 |
| Arabic File ProcessingAccuracy (@ 75% threshold) | 45.5 | 0.0 | 0.9 | 0.5 | 0.0 | 0.0 | 0.0 |
| SWE-Bench Verified (Offline)Accuracy (Pass@1) | 70.2 | 4.4 | 28.2 | 50.8 | 0.0 | 0.0 | 0.0 |
| BrowseComp-PlusAccuracy | 67.7 | 21.2 | 21.9 | 49.5 | 0.4 | 0.1 | 0.4 |
[!NOTE] Starred (*) benchmarks have been audited for sample quality. Items with ambiguous questions, invalid answer options, or indefensible gold labels were excluded, since they can penalize a correct answer or reward a lucky guess. Scores on these benchmarks are reported on the cleaned sets. The audit methodology, the excluded samples and the verified benchmarks are available in the IFM/Arabic-Benchmark-Auditing collection.
[!NOTE] Benchmarks marked with ^ will be released by IFM soon.
[!NOTE] Scores above are for the BF16 source checkpoint. Quantized variants have not been separately evaluated yet.
Files
| File | Type | Size |
|---|---|---|
Jais-3-7B-BF16.gguf |
BF16 | 18.01 GB |
Jais-3-7B-Q8_0.gguf |
Q8_0 | 9.57 GB |
Jais-3-7B-Q6_K.gguf |
Q6_K | 7.39 GB |
Jais-3-7B-Q5_K_M.gguf |
Q5_K_M | 6.47 GB |
Jais-3-7B-Q5_0.gguf |
Q5_0 | 6.34 GB |
Jais-3-7B-Q4_K_M.gguf |
Q4_K_M | 5.59 GB |
Quickstart
llama.cpp
cmake -B build -DGGML_CUDA=ON
cmake --build build -j --target llama-server
./build/bin/llama-server -hf IFM/Jais-3-7B-GGUF:Q8_0 --jinja -ngl 99 -c 32768
Pick a variant with :BF16, :Q8_0, :Q6_K, :Q5_K_M, :Q5_0 or :Q4_K_M, or pass a local file with -m. --jinja enables the embedded chat
template, which handles reasoning_effort and K2 Horizon tool calls; reasoning_content is returned separately from content.
API Usage
[!TIP] Recommended settings:
reasoning_effort="high", the sampling hyperparameters in the table below, and at least 32,768 output tokens. Reasoning depth is selected per request throughchat_template_kwargs. Thinking is returned inreasoning_contentand the answer incontent.
| Parameter | Default | Thinking mode, English | Thinking mode, Arabic |
|---|---|---|---|
temperature |
0.2 | 1.0 | 0.7 |
top_p |
0.95 | 0.95 | 0.95 |
top_k |
20 | 20 | 20 |
from openai import OpenAI
client = OpenAI(base_url="http://localhost:8080/v1", api_key="EMPTY")
response = client.chat.completions.create(
model="Jais-3-7B",
messages=[{"role": "user", "content": "لدينا عددان مجموعهما 50 وحاصل ضربهما 600. ما هما العددان؟ اشرح خطوات الحل."}],
temperature=0.7,
top_p=0.95,
max_tokens=32768,
extra_body={"top_k": 20, "chat_template_kwargs": {"reasoning_effort": "high"}},
)
message = response.choices[0].message
print("Reasoning:", getattr(message, "reasoning_content", None))
print("Answer:", message.content)
import json
from datetime import datetime
from zoneinfo import ZoneInfo
from openai import OpenAI
client = OpenAI(base_url="http://localhost:8080/v1", api_key="EMPTY")
TIMEZONES = {"أبوظبي": "Asia/Dubai", "الرياض": "Asia/Riyadh", "القاهرة": "Africa/Cairo", "لندن": "Europe/London"}
def get_current_time(city: str) -> dict:
if city not in TIMEZONES:
return {"error": f"مدينة غير معروفة: {city}"}
return {"city": city, "time": datetime.now(ZoneInfo(TIMEZONES[city])).strftime("%H:%M")}
tools = [{
"type": "function",
"function": {
"name": "get_current_time",
"description": "يعيد الوقت الحالي في مدينة معينة",
"parameters": {
"type": "object",
"properties": {"city": {"type": "string", "description": "اسم المدينة بالعربية"}},
"required": ["city"],
},
},
}]
available_tools = {"get_current_time": get_current_time}
messages = [{"role": "user", "content": "كم الساعة الآن في القاهرة؟"}]
for _ in range(5): # call the model, run any requested tools, repeat until it answers
message = client.chat.completions.create(
model="Jais-3-7B",
messages=messages,
tools=tools,
temperature=0.7,
top_p=0.95,
max_tokens=32768,
extra_body={
"top_k": 20,
"chat_template_kwargs": {"reasoning_effort": "high", "tool_call_format": "xml"},
},
).choices[0].message
messages.append(message)
if not message.tool_calls:
break
for call in message.tool_calls:
tool = available_tools.get(call.function.name)
arguments = json.loads(call.function.arguments)
result = tool(**arguments)
messages.append({"role": "tool", "tool_call_id": call.id,
"content": json.dumps(result, ensure_ascii=False)})
print(message.content)
Our model supports multiple tool-call formats, which can be changed with chat_template_kwargs. The supported values are json, xml, and xml_typed. The default is xml. Keep --tool-call-parser k2_horizon enabled to parse the selected format.
Best Practices
- Reasoning effort: always
high. All reported results use high reasoning effort. Pass{"chat_template_kwargs": {"reasoning_effort": "high"}}on every request. No reasoning ({"reasoning_effort": "low"}) is not recommended except for research on reasoning efforts. - Sampling parameters. Use the values in the table above:
temperature=0.2,top_p=0.95,top_k=20by default. In thinking mode, settemperature=1.0for English andtemperature=0.7for Arabic. Keepmin_p=0.0,presence_penalty=0.0andrepetition_penalty=1.0. - Parsers. With
--jinja, llama.cpp detects the K2 Horizon template and parses reasoning and tool calls itself; no parser flags are needed.
Intended Use and Limitations
Intended use: The model is designed for Arabic and English assistant and agentic applications, including reasoning and tool-use tasks, as well as for research and experimentation.
Out of scope: The model should not be used in ways that violate applicable laws or regulations. The following uses are also considered out of scope:
- Harmful or malicious use: generating hateful, extremist, discriminatory, or deliberately misleading content, or using the model to support illegal or harmful activities.
- Sensitive information: using the model to generate, expose, or infer personal, confidential, or otherwise sensitive information about individuals or organizations.
- Unsupported languages: applications that depend on reliable performance in languages other than Arabic or English.
- High-stakes decisions: relying on the model to make medical, legal, financial, or safety-critical decisions without appropriate human oversight.
Limitations: The model can produce inaccurate or made-up content and may reflect biases present in its training data. Evaluate it for your use case and add safeguards before deploying it.
Citation
@misc{jais3_2026,
title = {Jais 3: Introducing Arabic-centric Agentic AI},
author = {{IFM Team, Inception42 Team, and Cerebras Team}},
year = {2026},
url = {https://ifm.ai/blog/jais3/},
}