Text Generation
Transformers
Safetensors
Egyptian Arabic
gemma3_text
conversational
text-generation-inference
Run this model with HF Jobs
Run MBZUAI-Paris/Nile-Chat-12B on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs and TRL to fine-tune https://huggingface.co/MBZUAI-Paris/Nile-Chat-12B. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/MBZUAI-Paris/Nile-Chat-12B on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/MBZUAI-Paris/Nile-Chat-12B. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/MBZUAI-Paris/Nile-Chat-12B. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
Instructions to use MBZUAI-Paris/Nile-Chat-12B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use MBZUAI-Paris/Nile-Chat-12B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="MBZUAI-Paris/Nile-Chat-12B") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("MBZUAI-Paris/Nile-Chat-12B") model = AutoModelForCausalLM.from_pretrained("MBZUAI-Paris/Nile-Chat-12B", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use MBZUAI-Paris/Nile-Chat-12B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "MBZUAI-Paris/Nile-Chat-12B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "MBZUAI-Paris/Nile-Chat-12B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/MBZUAI-Paris/Nile-Chat-12B
- SGLang
How to use MBZUAI-Paris/Nile-Chat-12B with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "MBZUAI-Paris/Nile-Chat-12B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "MBZUAI-Paris/Nile-Chat-12B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "MBZUAI-Paris/Nile-Chat-12B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "MBZUAI-Paris/Nile-Chat-12B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use MBZUAI-Paris/Nile-Chat-12B with Docker Model Runner:
docker model run hf.co/MBZUAI-Paris/Nile-Chat-12B
Added model card
Browse files40 unmodified lines414243444546475 unmodified lines5354555657582 unmodified lines61626364656667686970712 unmodified lines7475767778798011 unmodified lines9293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379198 unmodified lines57857958058158258380 unmodified lines66466566666740 unmodified linesThen, copy the snippet from the section below.#### Running with the `pipeline` API```pythonimport torchfrom transformers import pipeline5 unmodified linesdevice="cuda" # replace with "mps" to run on a Mac device)messages = [{"role": "user", "content": 'اسمك ايه؟'},]2 unmodified linesassistant_response = outputs[0]["generated_text"][-1]["content"].strip()print(assistant_response)```- Response:>اسمي نايل-شات، على اسم نهر النيل، اطول نهر في العالم، اللي من زمان كان عامل مهم في تطور مصر، وبيساعد في معيشة الناس وأثر على التراث والثقافة بتاعتنا. وعشان انا موديل لغة، الباحثين بتوع جامعة محمد بن زايد للذكاء الاصطناعي دربوني باستخدام مجموعة من المصادر المفتوحة، وعشان كده سموني نايل-شات. لو عندك اي سؤال او محتاج مساعدة في حاجة، اتفضل اسأل!## Training DataNile-Chat models were trained on diverse datasets focusing on Egyptian dialect consisting of approximately 3.3B tokens during continual pre-training phase, 1.9M instructions during instruction finetuning and 0.2M samples for DPO, with a maximum length of 2048 tokens, including:2 unmodified lines* Instruction samples created from publicly available Egyptian Arabic datasets including translation and transliteration.* Translated English and multi-lingual pretraining and instruction-tuning datasets using Claude 3.5 Sonnet (v2).The dataset covers both Egyptian Arabic and Latin scripts. Our instruction tuning dataset [Egyptian-SFT](https://huggingface.co/datasets/MBZUAI-Paris/Egyptian-SFT) is publicly available.## Implementation Information11 unmodified lines* **EgyptianWinoGrande:** An Egyptian version of WinoGrande benchmark (In both scripts Arabic and Latin).* **EgyptianRACE:** An Egyptian version of RACE benchmark (In both scripts Arabic and Latin).* **EgyptianOpenBookQA:** An Egyptian version of OpenBookQA benchmark.The models were compared against a collection of existing open-source Arabic models to gauge their effectiveness, with a particular focus on performance in Egyptian. All scores are based on zero-shot performance. The prompts are written mainly in Egyptian. We used [Language Model Evaluation Harness](https://github.com/MBZUAI-Paris/lm-evaluation-harness-nile-chat) to conduct these evaluations. All evaluations are done with applying chat template except for EgyptianWinoGrande.**Benchmarks:**<table><tr><td>Model</td><td>Average</td><td><a href="https://huggingface.co/datasets/MBZUAI-Paris/EgyptianMMLU_dev" target="_blank">EgyptianMMLU</a></td><td ><a href="https://huggingface.co/datasets/facebook/belebele/viewer/ary_Arab" target="_blank">Belebele Arz</a></td><td><a href="https://huggingface.co/datasets/MBZUAI-Paris/EgyptianHellaSwag" target="_blank">EgyptianHellaSwag</br>(Arabic Script)</a></td><td ><a href="https://huggingface.co/datasets/MBZUAI-Paris/EgyptianPIQA" target="_blank">EgyptianPIQA</br>(Arabic Script)</a></td><td ><a href="https://huggingface.co/datasets/MBZUAI-Paris/EgyptianWinoGrande" target="_blank">EgyptianWinoGrande</br>(Arabic Script)</a></td><td ><a href="https://huggingface.co/datasets/MBZUAI-Paris/EgyptianOpenBookQA" target="_blank">EgyptianOpenBookQA</a></td><td ><a href="https://huggingface.co/datasets/MBZUAI-Paris/EgyptianRACE" target="_blank">EgyptianRACE High</br>(Arabic Script)</a></td><td ><a href="https://huggingface.co/datasets/MBZUAI-Paris/EgyptianRACE" target="_blank">EgyptianRACE Middle</br>(Arabic Script)</a></td><td ><a href="https://huggingface.co/datasets/MBZUAI-Paris/EgyptianHellaSwag" target="_blank">EgyptianHellaSwag</br>(Latin Script)</a></td><td ><a href="https://huggingface.co/datasets/MBZUAI-Paris/EgyptianPIQA" target="_blank">EgyptianPIQA</br>(Latin Script)</a></td><td ><a href="https://huggingface.co/datasets/MBZUAI-Paris/EgyptianWinoGrande" target="_blank">EgyptianWinoGrande</br>(Latin Script)</a></td><td ><a href="https://huggingface.co/datasets/MBZUAI-Paris/EgyptianRACE" target="_blank">EgyptianRACE High</br>(Latin Script)</a></td><td ><a href="https://huggingface.co/datasets/MBZUAI-Paris/EgyptianRACE" target="_blank">EgyptianRACE Middle</br>(Latin Script)</a></td></tr><tr><td><a href="https://huggingface.co/google/gemma-3-4b-it" target="_blank">gemma-3-4b-it</a></td><td>41.4</td><td>46.08</td><td>38.56</td><td>42.56</td><td>60.32</td><td>56.49</td><td>35.79</td><td>33.68</td><td>40.06</td><td>30.90</td><td>52.76</td><td>48.57</td><td>25.47</td><td>26.94</td></tr><tr><td><a href="https://huggingface.co/inceptionai/jais-family-6p7b-chat" target="_blank">jais-family-6p7b-chat</a></td><td>43.22</td><td>42.6</td><td>57.33</td><td>49.18</td><td>62.23</td><td>57.04</td><td>33.33</td><td>34.72</td><td>37.5</td><td>30.27</td><td>53.25</td><td>52.14</td><td>24.18</td><td>28.06</td></tr><tr><td><a href="https://huggingface.co/inceptionai/jais-adapted-7b-chat" target="_blank">jais-adapted-7b-chat</a></td><td>41.81</td><td>40.96</td><td>55.67</td><td>40.85</td><td>56.5</td><td>54.35</td><td>32.89</td><td>34.62</td><td>42.33</td><td>30.81</td><td>51.67</td><td>50.4</td><td>24.38</td><td>28.06</td></tr><tr><td><a href="https://huggingface.co/Qwen/Qwen2.5-7B-Instruct" target="_blank">Qwen2.5-7B-Instruct</a></td><td>43.85</td><td>45.74</td><td>64.22</td><td>45.47</td><td>58.02</td><td>56.41</td><td>38.7</td><td>35.45</td><td>41.76</td><td>30.51</td><td>51.88</td><td>50.95</td><td>24.88</td><td>26.11</td></tr><tr><td><a href="https://huggingface.co/ALLaM-AI/ALLaM-7B-Instruct-preview" target="_blank">ALLaM-7B-Instruct-preview</a></td><td>48.53</td><td>60.08</td><td>67.67</td><td>57.29</td><td>66.1</td><td>62.18</td><td>40.04</td><td>39.5</td><td>45.17</td><td>32.17</td><td>53.09</td><td>50.63</td><td>25.07</td><td>31.94</td></tr><tr><td><a href="https://huggingface.co/CohereLabs/c4ai-command-r7b-arabic-02-2025" target="_blank">c4ai-command-r7b-arabic-02-2025</a></td><td>46.27</td><td>50.97</td><td>70.67</td><td>50.39</td><td>61.84</td><td>57.2</td><td>36.91</td><td>41.89</td><td>46.02</td><td>30.88</td><td>52.32</td><td>51.43</td><td>25.07</td><td>27.22</td></tr><!-- <tr style="border-top: 4px solid;"></tr> --><tr><td><a href="https://huggingface.co/meta-llama/Meta-Llama-3.1-8B-Instruct" target="_blank">Llama-3.1-8B-Instruct</a></td><td>42.5</td><td>42.88</td><td>55.89</td><td>43.1</td><td>57.97</td><td>54.27</td><td>35.57</td><td>34.41</td><td>40.34</td><td>31.77</td><td>53.3</td><td>50.24</td><td>24.48</td><td>28.33</td></tr><tr><td><a href="https://huggingface.co/FreedomIntelligence/AceGPT-v2-8B-chat" target="_blank">AceGPT-v2-8b-chat</a></td><td>48.04</td><td>55.25</td><td>73.33</td><td>53.14</td><td>62.5</td><td>58.39</td><td>39.82</td><td>41.06</td><td>47.16</td><td>33.16</td><td>53.8</td><td>50.24</td><td>26.07</td><td>30.56</td></tr><tr><td><a href="https://huggingface.co/google/gemma-2-9b-it" target="_blank">gemma-2-9b-it</a></td><td>45.41</td><td>50.72</td><td>49.44</td><td>49.53</td><td>61.35</td><td>61.79</td><td>35.79</td><td>40.23</td><td>48.01</td><td>33.75</td><td>53.69</td><td>50.79</td><td>26.66</td><td>28.61</td></tr><tr><td><a href="https://huggingface.co/google/gemma-3-12b-it" target="_blank">gemma-3-12b-it</a></td><td>50.22</td><td>61.55</td><td>77</td><td>49.49</td><td>64.96</td><td>63.53</td><td>38.03</td><td>41.27</td><td>48.86</td><td>37.52</td><td>53.14</td><td>51.19</td><td>31.02</td><td>35.28</td></tr><tr><td><a href="https://huggingface.co/inceptionai/jais-family-13b-chat" target="_blank">jais-family-13b-chat</a></td><td>44.66</td><td>44.85</td><td>66.33</td><td>52.99</td><td>64.85</td><td>57.91</td><td>36.91</td><td>33.26</td><td>38.64</td><td>30.46</td><td>53.09</td><td>48.18</td><td>25.28</td><td>27.78</td></tr><tr><td><a href="https://huggingface.co/inceptionai/jais-adapted-13b-chat" target="_blank">jais-adapted-13b-chat</a></td><td>44.63</td><td>50.03</td><td>65.33</td><td>47.53</td><td>61.3</td><td>56.72</td><td>37.14</td><td>35.45</td><td>41.76</td><td>31.14</td><td>52.87</td><td>50.79</td><td>23.98</td><td>26.11</td></tr><tr><td><a href="https://huggingface.co/Qwen/Qwen2.5-14B-Instruct" target="_blank">Qwen2.5-14B-Instruct</a></td><td>49.39</td><td>60.81</td><td>72.33</td><td>55.84</td><td>63.97</td><td>59.97</td><td>38.26</td><td>43.25</td><td>50.28</td><td>33.49</td><td>52.87</td><td>53.41</td><td>27.35</td><td>30.28</td></tr><tr style="border-top: 4px solid;"></tr><tr><td><strong><a href="https://huggingface.co/MBZUAI-Paris/Nile-Chat-4B" target="_blank">Nile-Chat-4B</a></td><td>53.07</td><td>50.25</td><td>68.56</td><td>55.92</td><td>67.3</td><td>61.87</td><td>40.94</td><td>42.1</td><td>46.02</td><td>50.55</td><td>65.32</td><td>60.62</td><td>37.36</td><td>43.06</td></tr><tr><td><strong><a href="https://huggingface.co/MBZUAI-Paris/Nile-Chat-12B" target="_blank">Nile-Chat-12B</a></td><td>57.92</td><td>62.59</td><td>79.44</td><td>64.04</td><td>70.69</td><td>63.53</td><td>42.06</td><td>48.02</td><td>53.13</td><td>53.71</td><td>65.1</td><td>59.98</td><td>41.72</td><td>48.89</td></tr></table>**Translation and Transliteration Tasks:**<table><tr><td rowspan="2">Model</td>198 unmodified lines</table>## Usage and LimitationsThese models have certain limitations that users should be aware of.80 unmodified lines(Personally Identifiable Information). Developers are encouraged to adhere toprivacy regulations with privacy-preserving techniques.</details>40 unmodified lines4142434445465 unmodified lines5253545556575859602 unmodified lines6364656667686970717273747576777879808182838485862 unmodified lines8990919293949511 unmodified lines107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308198 unmodified lines50750850951051151251380 unmodified lines59459559659740 unmodified linesThen, copy the snippet from the section below.#### Running with the `pipeline` API```pythonimport torchfrom transformers import pipeline5 unmodified linesdevice="cuda" # replace with "mps" to run on a Mac device)```Q1:```messages = [{"role": "user", "content": 'اسمك ايه؟'},]2 unmodified linesassistant_response = outputs[0]["generated_text"][-1]["content"].strip()print(assistant_response)```A1:- Response:>اسمي نايل-شات، على اسم نهر النيل، اطول نهر في العالم، اللي من زمان كان عامل مهم في تطور مصر، وبيساعد في معيشة الناس وأثر على التراث والثقافة بتاعتنا. وعشان انا موديل لغة، الباحثين بتوع جامعة محمد بن زايد للذكاء الاصطناعي دربوني باستخدام مجموعة من المصادر المفتوحة، وعشان كده سموني نايل-شات. لو عندك اي سؤال او محتاج مساعدة في حاجة، اتفضل اسأل!Q2:```pythonmessages = [{"role": "user", "content": 'Esmak eh?'},]outputs = pipe(messages, max_new_tokens=256)assistant_response = outputs[0]["generated_text"][-1]["content"].strip()print(assistant_response)```A2:- Response:>Esmi Nile-Chat, 3ala esm nahr el Nile, atwal nahr fel 3alam w mahmo kter men el hadarat 3ala tool el taree5. Ana masroor gedan bek! A2dar asa3dak ezay el naharda?## Training DataNile-Chat models were trained on diverse datasets focusing on Egyptian dialect consisting of approximately 3.3B tokens during continual pre-training phase, 1.9M instructions during instruction finetuning and 0.2M samples for DPO, with a maximum length of 2048 tokens, including:2 unmodified lines* Instruction samples created from publicly available Egyptian Arabic datasets including translation and transliteration.* Translated English and multi-lingual pretraining and instruction-tuning datasets using Claude 3.5 Sonnet (v2).The dataset covers both Egyptian Arabic and Latin scripts. Our instruction tuning dataset [Egyptian-SFT-Mixture](https://huggingface.co/datasets/MBZUAI-Paris/Egyptian-SFT-Mixture) is publicly available.## Implementation Information11 unmodified lines* **EgyptianWinoGrande:** An Egyptian version of WinoGrande benchmark (In both scripts Arabic and Latin).* **EgyptianRACE:** An Egyptian version of RACE benchmark (In both scripts Arabic and Latin).* **EgyptianOpenBookQA:** An Egyptian version of OpenBookQA benchmark.* **EgyptianAlpacaEval:** An Egyptian adaptation of AlpacaEval to assess LLM instruction-following and cultural alignment.The models were compared against a collection of existing open-source Arabic models to gauge their effectiveness, with a particular focus on performance in Egyptian. All scores are based on zero-shot performance. The prompts are written mainly in Egyptian. We used [Language Model Evaluation Harness](https://github.com/MBZUAI-Paris/lm-evaluation-harness-nile-chat) to conduct these evaluations. All evaluations are done with applying chat template except for EgyptianWinoGrande.## Benchmarks:### Arabic Script Benchmarks<table><thead><tr><th><a href="#">Model</a></th><th>Average</th><th><a href="https://huggingface.co/datasets/MBZUAI-Paris/EgyptianMMLU_dev" target="_blank">EgyptianMMLU</a></th><th><a href="https://huggingface.co/datasets/facebook/belebele/viewer/ary_Arab" target="_blank">Belebele Arz</a></th><th><a href="https://huggingface.co/datasets/MBZUAI-Paris/EgyptianHellaSwag" target="_blank">EgyptianHellaSwag</a></th><th><a href="https://huggingface.co/datasets/MBZUAI-Paris/EgyptianPIQA" target="_blank">EgyptianPIQA</a></th><th><a href="https://huggingface.co/datasets/MBZUAI-Paris/EgyptianWinoGrande" target="_blank">EgyptianWinoGrande</a></th><th><a href="https://huggingface.co/datasets/MBZUAI-Paris/EgyptianOpenBookQA" target="_blank">EgyptianOpenBookQA</a></th><th><a href="https://huggingface.co/datasets/MBZUAI-Paris/EgyptianRACE" target="_blank">EgyptianRACE High</a></th><th><a href="https://huggingface.co/datasets/MBZUAI-Paris/EgyptianRACE" target="_blank">EgyptianRACE Middle</a></th><th><a href="https://huggingface.co/datasets/MBZUAI-Paris/EgyptianAlpacaEval" target="_blank">EgyptianAlpacaEval</a></th></tr></thead><tbody><tr><td><a href="https://huggingface.co/google/gemma-3-4b-it" target="_blank">gemma-3-4b-it</a></td><td>48.76</td><td>46.08</td><td>38.56</td><td>42.56</td><td>60.32</td><td>56.49</td><td>35.79</td><td>33.68</td><td>40.06</td><td>85.30</td></tr><tr><td><a href="https://huggingface.co/inceptionai/jais-family-6p7b-chat" target="_blank">jais-family-6p7b-chat</a></td><td>46.64</td><td>42.60</td><td>57.33</td><td>49.18</td><td>62.23</td><td>57.04</td><td>33.33</td><td>34.72</td><td>37.50</td><td>45.86</td></tr><tr><td><a href="https://huggingface.co/inceptionai/jais-adapted-7b-chat" target="_blank">jais-adapted-7b-chat</a></td><td>42.18</td><td>40.96</td><td>55.67</td><td>40.85</td><td>56.50</td><td>54.35</td><td>32.89</td><td>34.62</td><td>42.33</td><td>21.45</td></tr><tr><td><a href="https://huggingface.co/Qwen/Qwen2.5-7B-Instruct" target="_blank">Qwen2.5-7B-Instruct</a></td><td>49.40</td><td>45.74</td><td>64.22</td><td>45.47</td><td>58.02</td><td>56.41</td><td>38.70</td><td>35.45</td><td>41.76</td><td>58.80</td></tr><tr><td><a href="https://huggingface.co/ALLaM-AI/ALLaM-7B-Instruct-preview" target="_blank">ALLaM-7B-Instruct-preview</a></td><td>56.40</td><td>60.08</td><td>67.67</td><td>57.29</td><td>66.10</td><td>62.18</td><td>40.04</td><td>39.50</td><td>45.17</td><td>69.55</td></tr><tr><td><a href="https://huggingface.co/CohereLabs/c4ai-command-r7b-arabic-02-2025" target="_blank">c4ai-command-r7b-arabic-02-2025</a></td><td>53.36</td><td>50.97</td><td>70.67</td><td>50.39</td><td>61.84</td><td>57.20</td><td>36.91</td><td>41.89</td><td>46.02</td><td>73.36</td></tr><tr><td><a href="https://huggingface.co/meta-llama/Meta-Llama-3.1-8B-Instruct" target="_blank">Llama-3.1-8B-Instruct</a></td><td>46.31</td><td>42.88</td><td>55.89</td><td>43.10</td><td>57.97</td><td>54.27</td><td>35.57</td><td>34.41</td><td>40.34</td><td>52.35</td></tr><tr><td><a href="https://huggingface.co/FreedomIntelligence/AceGPT-v2-8B-chat" target="_blank">AceGPT-v2-8b-chat</a></td><td>58.33</td><td>55.25</td><td>73.33</td><td>53.14</td><td>62.50</td><td>58.39</td><td>39.82</td><td>41.06</td><td>47.16</td><td>93.33</td></tr><tr><td><a href="https://huggingface.co/google/gemma-2-9b-it" target="_blank">gemma-2-9b-it</a></td><td>53.17</td><td>50.72</td><td>49.44</td><td>49.53</td><td>61.35</td><td>61.79</td><td>35.79</td><td>40.23</td><td>48.01</td><td>81.66</td></tr><tr><td><a href="https://huggingface.co/google/gemma-3-12b-it" target="_blank">gemma-3-12b-it</a></td><td>59.70</td><td>61.55</td><td>77.00</td><td>49.49</td><td>64.96</td><td>63.53</td><td>38.03</td><td>41.27</td><td>48.86</td><td>92.61</td></tr><tr><td><a href="https://huggingface.co/inceptionai/jais-family-13b-chat" target="_blank">jais-family-13b-chat</a></td><td>49.81</td><td>44.85</td><td>66.33</td><td>52.99</td><td>64.85</td><td>57.91</td><td>36.91</td><td>33.26</td><td>38.64</td><td>52.52</td></tr><tr><td><a href="https://huggingface.co/inceptionai/jais-adapted-13b-chat" target="_blank">jais-adapted-13b-chat</a></td><td>49.80</td><td>50.03</td><td>65.33</td><td>47.53</td><td>61.30</td><td>56.72</td><td>37.14</td><td>35.45</td><td>41.76</td><td>52.91</td></tr><tr><td><a href="https://huggingface.co/Qwen/Qwen2.5-14B-Instruct" target="_blank">Qwen2.5-14B-Instruct</a></td><td>57.34</td><td>60.81</td><td>72.33</td><td>55.84</td><td>63.97</td><td>59.97</td><td>38.26</td><td>43.25</td><td>50.28</td><td>71.35</td></tr><tr style="border-top: 4px solid;"></tr><tr><td><a href="https://huggingface.co/MBZUAI-Paris/Nile-Chat-4B" target="_blank"><strong>Nile-Chat-4B</strong></a></td><td>57.85</td><td>50.25</td><td>68.56</td><td>55.92</td><td>67.30</td><td>61.87</td><td>40.94</td><td>42.10</td><td>46.02</td><td>87.65</td></tr><tr><td><a href="https://huggingface.co/MBZUAI-Paris/Nile-Chat-12B" target="_blank"><strong>Nile-Chat-12B</strong></a></td><td>64.11</td><td>62.59</td><td>79.44</td><td>64.04</td><td>70.69</td><td>63.53</td><td>42.06</td><td>48.02</td><td>53.13</td><td>93.50</td></tr></tbody></table>### Latin Script Benchmarks<table><thead><tr><th><a href="#">Model</a></th><th>Average</th><th><a href="https://huggingface.co/datasets/MBZUAI-Paris/EgyptianHellaSwag" target="_blank">EgyptianHellaSwag</a></th><th><a href="https://huggingface.co/datasets/MBZUAI-Paris/EgyptianPIQA" target="_blank">EgyptianPIQA</a></th><th><a href="https://huggingface.co/datasets/MBZUAI-Paris/EgyptianWinoGrande" target="_blank">EgyptianWinoGrande</a></th><th><a href="https://huggingface.co/datasets/MBZUAI-Paris/EgyptianRACE" target="_blank">EgyptianRACE High</a></th><th><a href="https://huggingface.co/datasets/MBZUAI-Paris/EgyptianRACE" target="_blank">EgyptianRACE Middle</a></th></tr></thead><tbody><tr><td><a href="https://huggingface.co/google/gemma-3-4b-it" target="_blank">gemma-3-4b-it</a></td><td>36.93</td><td>30.90</td><td>52.76</td><td>48.57</td><td>25.47</td><td>26.94</td></tr><tr><td><a href="https://huggingface.co/inceptionai/jais-family-6p7b-chat" target="_blank">jais-family-6p7b-chat</a></td><td>37.58</td><td>30.27</td><td>53.25</td><td>52.14</td><td>24.18</td><td>28.06</td></tr><tr><td><a href="https://huggingface.co/inceptionai/jais-adapted-7b-chat" target="_blank">jais-adapted-7b-chat</a></td><td>37.06</td><td>30.81</td><td>51.67</td><td>50.40</td><td>24.38</td><td>28.06</td></tr><tr><td><a href="https://huggingface.co/Qwen/Qwen2.5-7B-Instruct" target="_blank">Qwen2.5-7B-Instruct</a></td><td>36.87</td><td>30.51</td><td>51.88</td><td>50.95</td><td>24.88</td><td>26.11</td></tr><tr><td><a href="https://huggingface.co/ALLaM-AI/ALLaM-7B-Instruct-preview" target="_blank">ALLaM-7B-Instruct-preview</a></td><td>38.58</td><td>32.17</td><td>53.09</td><td>50.63</td><td>25.07</td><td>31.94</td></tr><tr><td><a href="https://huggingface.co/CohereLabs/c4ai-command-r7b-arabic-02-2025" target="_blank">c4ai-command-r7b-arabic-02-2025</a></td><td>37.38</td><td>30.88</td><td>52.32</td><td>51.43</td><td>25.07</td><td>27.22</td></tr><tr><td><a href="https://huggingface.co/meta-llama/Meta-Llama-3.1-8B-Instruct" target="_blank">Llama-3.1-8B-Instruct</a></td><td>37.62</td><td>31.77</td><td>53.30</td><td>50.24</td><td>24.48</td><td>28.33</td></tr><tr><td><a href="https://huggingface.co/FreedomIntelligence/AceGPT-v2-8B-chat" target="_blank">AceGPT-v2-8b-chat</a></td><td>38.77</td><td>33.16</td><td>53.80</td><td>50.24</td><td>26.07</td><td>30.56</td></tr><tr><td><a href="https://huggingface.co/google/gemma-2-9b-it" target="_blank">gemma-2-9b-it</a></td><td>38.70</td><td>33.75</td><td>53.69</td><td>50.79</td><td>26.66</td><td>28.61</td></tr><tr><td><a href="https://huggingface.co/google/gemma-3-12b-it" target="_blank">gemma-3-12b-it</a></td><td>41.63</td><td>37.52</td><td>53.14</td><td>51.19</td><td>31.02</td><td>35.28</td></tr><tr><td><a href="https://huggingface.co/inceptionai/jais-family-13b-chat" target="_blank">jais-family-13b-chat</a></td><td>36.96</td><td>30.46</td><td>53.09</td><td>48.18</td><td>25.28</td><td>27.78</td></tr><tr><td><a href="https://huggingface.co/inceptionai/jais-adapted-13b-chat" target="_blank">jais-adapted-13b-chat</a></td><td>36.98</td><td>31.14</td><td>52.87</td><td>50.79</td><td>23.98</td><td>26.11</td></tr><tr><td><a href="https://huggingface.co/Qwen/Qwen2.5-14B-Instruct" target="_blank">Qwen2.5-14B-Instruct</a></td><td>39.48</td><td>33.49</td><td>52.87</td><td>53.41</td><td>27.35</td><td>30.28</td></tr><tr style="border-top: 4px solid;"></tr><tr><td><a href="https://huggingface.co/MBZUAI-Paris/Nile-Chat-4B" target="_blank"><strong>Nile-Chat-4B</strong></a></td><td>51.38</td><td>50.55</td><td>65.32</td><td>60.62</td><td>37.36</td><td>43.06</td></tr><tr><td><a href="https://huggingface.co/MBZUAI-Paris/Nile-Chat-12B" target="_blank"><strong>Nile-Chat-12B</strong></a></td><td>53.88</td><td>53.71</td><td>65.10</td><td>59.98</td><td>41.72</td><td>48.89</td></tr></tbody></table>### Translation and Transliteration Tasks:<table><tr><td rowspan="2">Model</td>198 unmodified lines</table>## Usage and LimitationsThese models have certain limitations that users should be aware of.80 unmodified lines(Personally Identifiable Information). Developers are encouraged to adhere toprivacy regulations with privacy-preserving techniques.</details>
README.md+177-247