amr-mohamed commited on
Commit
fe428ac
·
verified ·
1 Parent(s): 3629494

Added model card

Browse files
Files changed (1) hide show
  1. README.md +652 -184
README.md CHANGED
@@ -1,199 +1,667 @@
1
  ---
 
2
  library_name: transformers
3
- tags: []
 
 
 
 
 
 
 
 
 
4
  ---
5
 
6
- # Model Card for Model ID
7
 
8
- <!-- Provide a quick summary of what the model is/does. -->
9
 
 
10
 
 
11
 
12
- ## Model Details
 
13
 
14
- ### Model Description
15
 
16
- <!-- Provide a longer summary of what this model is. -->
17
 
18
- This is the model card of a 🤗 transformers model that has been pushed on the Hub. This model card has been automatically generated.
19
 
20
- - **Developed by:** [More Information Needed]
21
- - **Funded by [optional]:** [More Information Needed]
22
- - **Shared by [optional]:** [More Information Needed]
23
- - **Model type:** [More Information Needed]
24
- - **Language(s) (NLP):** [More Information Needed]
25
- - **License:** [More Information Needed]
26
- - **Finetuned from model [optional]:** [More Information Needed]
27
 
28
- ### Model Sources [optional]
29
 
30
- <!-- Provide the basic links for the model. -->
31
 
32
- - **Repository:** [More Information Needed]
33
- - **Paper [optional]:** [More Information Needed]
34
- - **Demo [optional]:** [More Information Needed]
35
-
36
- ## Uses
37
-
38
- <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
39
-
40
- ### Direct Use
41
-
42
- <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
43
-
44
- [More Information Needed]
45
-
46
- ### Downstream Use [optional]
47
-
48
- <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
49
-
50
- [More Information Needed]
51
-
52
- ### Out-of-Scope Use
53
-
54
- <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
55
-
56
- [More Information Needed]
57
-
58
- ## Bias, Risks, and Limitations
59
-
60
- <!-- This section is meant to convey both technical and sociotechnical limitations. -->
61
-
62
- [More Information Needed]
63
-
64
- ### Recommendations
65
-
66
- <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
67
-
68
- Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
69
-
70
- ## How to Get Started with the Model
71
-
72
- Use the code below to get started with the model.
73
-
74
- [More Information Needed]
75
-
76
- ## Training Details
77
-
78
- ### Training Data
79
-
80
- <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
81
-
82
- [More Information Needed]
83
-
84
- ### Training Procedure
85
-
86
- <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
87
-
88
- #### Preprocessing [optional]
89
-
90
- [More Information Needed]
91
-
92
-
93
- #### Training Hyperparameters
94
-
95
- - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
96
-
97
- #### Speeds, Sizes, Times [optional]
98
-
99
- <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
100
-
101
- [More Information Needed]
102
-
103
- ## Evaluation
104
-
105
- <!-- This section describes the evaluation protocols and provides the results. -->
106
-
107
- ### Testing Data, Factors & Metrics
108
-
109
- #### Testing Data
110
-
111
- <!-- This should link to a Dataset Card if possible. -->
112
-
113
- [More Information Needed]
114
-
115
- #### Factors
116
-
117
- <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
118
-
119
- [More Information Needed]
120
-
121
- #### Metrics
122
-
123
- <!-- These are the evaluation metrics being used, ideally with a description of why. -->
124
-
125
- [More Information Needed]
126
-
127
- ### Results
128
-
129
- [More Information Needed]
130
-
131
- #### Summary
132
-
133
-
134
-
135
- ## Model Examination [optional]
136
-
137
- <!-- Relevant interpretability work for the model goes here -->
138
-
139
- [More Information Needed]
140
-
141
- ## Environmental Impact
142
-
143
- <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
144
-
145
- Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
146
-
147
- - **Hardware Type:** [More Information Needed]
148
- - **Hours used:** [More Information Needed]
149
- - **Cloud Provider:** [More Information Needed]
150
- - **Compute Region:** [More Information Needed]
151
- - **Carbon Emitted:** [More Information Needed]
152
-
153
- ## Technical Specifications [optional]
154
-
155
- ### Model Architecture and Objective
156
-
157
- [More Information Needed]
158
-
159
- ### Compute Infrastructure
160
-
161
- [More Information Needed]
162
-
163
- #### Hardware
164
-
165
- [More Information Needed]
166
-
167
- #### Software
168
-
169
- [More Information Needed]
170
-
171
- ## Citation [optional]
172
-
173
- <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
174
-
175
- **BibTeX:**
176
-
177
- [More Information Needed]
178
-
179
- **APA:**
180
-
181
- [More Information Needed]
182
-
183
- ## Glossary [optional]
184
-
185
- <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
186
-
187
- [More Information Needed]
188
-
189
- ## More Information [optional]
190
-
191
- [More Information Needed]
192
-
193
- ## Model Card Authors [optional]
194
-
195
- [More Information Needed]
196
-
197
- ## Model Card Contact
198
-
199
- [More Information Needed]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ license: gemma
3
  library_name: transformers
4
+ pipeline_tag: text-generation
5
+ extra_gated_button_content: Acknowledge license
6
+ tags:
7
+ - conversational
8
+ language:
9
+ - arz
10
+ datasets:
11
+ - MBZUAI-Paris/Egyptian-SFT
12
+ base_model:
13
+ - google/gemma-3-12b-pt
14
  ---
15
 
 
16
 
17
+ # JAIS Initiative: Nile-Chat Models
18
 
19
+ ## Model Overview
20
 
21
+ Nile-Chat is a family of open instruction-tuned models for Egyptian dialect, developed to handle both scripts commonly used in Egypt: Arabic script and Latin-based Arabizi. As part of the [Jais](https://arxiv.org/abs/2308.16149) project for standard Arabic and its extensions to dialectal Arabic, Nile-Chat is designed to support natural language generation in a way that reflects the script-diverse nature of Egyptian communication. These models are effective for a variety of tasks including question answering, translation and transliteration. Their range of sizes ensures accessibility, from lightweight personal deployments to more powerful setups, enabling broader use of AI technologies for Egyptian Arabic speakers. The family includes two versions:
22
 
23
+ * [Nile-Chat-4B](https://huggingface.co/MBZUAI-Paris/Nile-Chat-4B): A compact 4B parameter model that balances efficiency and fluency, well-suited for generating Egyptian Arabic in both Arabic and Latin scripts.
24
+ * [Nile-Chat-12B](https://huggingface.co/MBZUAI-Paris/Nile-Chat-12B): A dense 12B parameter model providing high-capacity generation capabilities, ideal for complex, multi-turn interactions and nuanced understanding in both Egyptian scripts.
25
 
26
+ **Paper:** [Coming Soon!](#)
27
 
28
+ ## 👥 Our Team
29
 
30
+ The model is developed by MBZUAI France Lab, an AI research center in Paris affiliated with the [Mohamed bin Zayed University of Artificial Intelligence (MBZUAI)](https://mbzuai.ac.ae/) headquartered in Abu Dhabi.
31
 
 
 
 
 
 
 
 
32
 
33
+ ## Usage
34
 
35
+ Below we share some code snippets on how to get quickly started with running the model. First, install the Transformers library with:
36
 
37
+ ```sh
38
+ pip install -U transformers sentencepiece
39
+ ```
40
+
41
+ Then, copy the snippet from the section below.
42
+
43
+ #### Running with the `pipeline` API
44
+
45
+ ```python
46
+ import torch
47
+ from transformers import pipeline
48
+
49
+ pipe = pipeline(
50
+ "text-generation",
51
+ model="MBZUAI-Paris/Nile-Chat-12B",
52
+ model_kwargs={"torch_dtype": torch.bfloat16},
53
+ device="cuda" # replace with "mps" to run on a Mac device
54
+ )
55
+
56
+ messages = [
57
+ {"role": "user", "content": 'اسمك ايه؟'},
58
+ ]
59
+
60
+ outputs = pipe(messages, max_new_tokens=256)
61
+ assistant_response = outputs[0]["generated_text"][-1]["content"].strip()
62
+ print(assistant_response)
63
+ ```
64
+
65
+ - Response:
66
+
67
+ >اسمي نايل-شات، على اسم نهر النيل، اطول نهر في العالم، اللي من زمان كان عامل مهم في تطور مصر، وبيساعد في معيشة الناس وأثر على التراث والثقافة بتاعتنا. وعشان انا موديل لغة، الباحثين بتوع جامعة محمد بن زايد للذكاء الاصطناعي دربوني باستخدام مجموعة من المصادر المفتوحة، وعشان كده سموني نايل-شات. لو عندك اي سؤال او محتاج مساعدة في حاجة، اتفضل اسأل!
68
+
69
+
70
+ ## Training Data
71
+ Nile-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:
72
+
73
+ * Web documents: A diverse collection of Egyptian web text ensures the model is exposed to a broad range of linguistic styles, topics, and vocabulary.
74
+ * Instruction samples created from publicly available Egyptian Arabic datasets including translation and transliteration.
75
+ * Translated English and multi-lingual pretraining and instruction-tuning datasets using Claude 3.5 Sonnet (v2).
76
+
77
+ 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.
78
+
79
+
80
+ ## Implementation Information
81
+ Nile-Chat models are based on Gemma 3 models. The Nile-Chat models were trained using 8 NVIDIA A100 80 GB GPUs in parallel using FSDP on AWS Sagemaker. The model is trained using HuggingFace transformers and parameter-efficient fine-tuning with LoRA rank of 256 for both continual pre-training and instruction finetuning, while performing full finetuning for DPO. The continual pre-training is divided into two phases: (i) general pre-training on 2.8B tokens from the Egyptian web and (ii) annealing phase with 0.5B high quality Egyptian text.
82
+
83
+ # Evaluation
84
+ Nile-Chat models were evaluated on a comprehensive suite of tasks using various datasets and benchmarks to assess their performance across multiple dimensions. These included tasks such as:
85
+
86
+ * **EgyptianMMLU:** An Egyptian version of ArabicMMLU and MMLU benchmarks.
87
+ * **EgyptianHellaSwag:** An Egyptian version of HellaSwag (In both scripts Arabic and Latin).
88
+ * **Belebele Arz_Arab:** Belebele is a multiple-choice machine reading comprehension dataset published by Facebook spanning 122 language variants. The Evaluation is done on the Arz_Arab part of Belebele that refers to Egyptian Arabic.
89
+ * **Translation:** Including four directions and three languages: Arabic script Egyptian, MSA and English.
90
+ * **Transliteration:** Transforming a sentence from Egyptian (written in Arabic script) to Arabizi (Written in Latin script) and vice-versa.
91
+ * **EgyptianPIQA:** An Egyptian version of PIQA benchmark (In both scripts Arabic and Latin).
92
+ * **EgyptianWinoGrande:** An Egyptian version of WinoGrande benchmark (In both scripts Arabic and Latin).
93
+ * **EgyptianRACE:** An Egyptian version of RACE benchmark (In both scripts Arabic and Latin).
94
+ * **EgyptianOpenBookQA:** An Egyptian version of OpenBookQA benchmark.
95
+
96
+ 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.
97
+
98
+ **Benchmarks:**
99
+ <table>
100
+ <tr>
101
+ <td>Model</td>
102
+ <td>Average</td>
103
+ <td><a href="https://huggingface.co/datasets/MBZUAI-Paris/EgyptianMMLU_dev" target="_blank">EgyptianMMLU</a></td>
104
+ <td ><a href="https://huggingface.co/datasets/facebook/belebele/viewer/ary_Arab" target="_blank">Belebele Arz</a></td>
105
+ <td><a href="https://huggingface.co/datasets/MBZUAI-Paris/EgyptianHellaSwag" target="_blank">EgyptianHellaSwag</br>(Arabic Script)</a></td>
106
+ <td ><a href="https://huggingface.co/datasets/MBZUAI-Paris/EgyptianPIQA" target="_blank">EgyptianPIQA</br>(Arabic Script)</a></td>
107
+ <td ><a href="https://huggingface.co/datasets/MBZUAI-Paris/EgyptianWinoGrande" target="_blank">EgyptianWinoGrande</br>(Arabic Script)</a></td>
108
+ <td ><a href="https://huggingface.co/datasets/MBZUAI-Paris/EgyptianOpenBookQA" target="_blank">EgyptianOpenBookQA</a></td>
109
+ <td ><a href="https://huggingface.co/datasets/MBZUAI-Paris/EgyptianRACE" target="_blank">EgyptianRACE High</br>(Arabic Script)</a></td>
110
+ <td ><a href="https://huggingface.co/datasets/MBZUAI-Paris/EgyptianRACE" target="_blank">EgyptianRACE Middle</br>(Arabic Script)</a></td>
111
+ <td ><a href="https://huggingface.co/datasets/MBZUAI-Paris/EgyptianHellaSwag" target="_blank">EgyptianHellaSwag</br>(Latin Script)</a></td>
112
+ <td ><a href="https://huggingface.co/datasets/MBZUAI-Paris/EgyptianPIQA" target="_blank">EgyptianPIQA</br>(Latin Script)</a></td>
113
+ <td ><a href="https://huggingface.co/datasets/MBZUAI-Paris/EgyptianWinoGrande" target="_blank">EgyptianWinoGrande</br>(Latin Script)</a></td>
114
+ <td ><a href="https://huggingface.co/datasets/MBZUAI-Paris/EgyptianRACE" target="_blank">EgyptianRACE High</br>(Latin Script)</a></td>
115
+ <td ><a href="https://huggingface.co/datasets/MBZUAI-Paris/EgyptianRACE" target="_blank">EgyptianRACE Middle</br>(Latin Script)</a></td>
116
+ </tr>
117
+ <tr>
118
+ <td><a href="https://huggingface.co/google/gemma-3-4b-it" target="_blank">gemma-3-4b-it</a></td>
119
+ <td>41.4</td>
120
+ <td>46.08</td>
121
+ <td>38.56</td>
122
+ <td>42.56</td>
123
+ <td>60.32</td>
124
+ <td>56.49</td>
125
+ <td>35.79</td>
126
+ <td>33.68</td>
127
+ <td>40.06</td>
128
+ <td>30.90</td>
129
+ <td>52.76</td>
130
+ <td>48.57</td>
131
+ <td>25.47</td>
132
+ <td>26.94</td>
133
+ </tr>
134
+ <tr>
135
+ <td><a href="https://huggingface.co/inceptionai/jais-family-6p7b-chat" target="_blank">jais-family-6p7b-chat</a></td>
136
+ <td>43.22</td>
137
+ <td>42.6</td>
138
+ <td>57.33</td>
139
+ <td>49.18</td>
140
+ <td>62.23</td>
141
+ <td>57.04</td>
142
+ <td>33.33</td>
143
+ <td>34.72</td>
144
+ <td>37.5</td>
145
+ <td>30.27</td>
146
+ <td>53.25</td>
147
+ <td>52.14</td>
148
+ <td>24.18</td>
149
+ <td>28.06</td>
150
+ </tr>
151
+ <tr>
152
+ <td><a href="https://huggingface.co/inceptionai/jais-adapted-7b-chat" target="_blank">jais-adapted-7b-chat</a></td>
153
+ <td>41.81</td>
154
+ <td>40.96</td>
155
+ <td>55.67</td>
156
+ <td>40.85</td>
157
+ <td>56.5</td>
158
+ <td>54.35</td>
159
+ <td>32.89</td>
160
+ <td>34.62</td>
161
+ <td>42.33</td>
162
+ <td>30.81</td>
163
+ <td>51.67</td>
164
+ <td>50.4</td>
165
+ <td>24.38</td>
166
+ <td>28.06</td>
167
+ </tr>
168
+ <tr>
169
+ <td><a href="https://huggingface.co/Qwen/Qwen2.5-7B-Instruct" target="_blank">Qwen2.5-7B-Instruct</a></td>
170
+ <td>43.85</td>
171
+ <td>45.74</td>
172
+ <td>64.22</td>
173
+ <td>45.47</td>
174
+ <td>58.02</td>
175
+ <td>56.41</td>
176
+ <td>38.7</td>
177
+ <td>35.45</td>
178
+ <td>41.76</td>
179
+ <td>30.51</td>
180
+ <td>51.88</td>
181
+ <td>50.95</td>
182
+ <td>24.88</td>
183
+ <td>26.11</td>
184
+ </tr>
185
+ <tr>
186
+ <td><a href="https://huggingface.co/ALLaM-AI/ALLaM-7B-Instruct-preview" target="_blank">ALLaM-7B-Instruct-preview</a></td>
187
+ <td>48.53</td>
188
+ <td>60.08</td>
189
+ <td>67.67</td>
190
+ <td>57.29</td>
191
+ <td>66.1</td>
192
+ <td>62.18</td>
193
+ <td>40.04</td>
194
+ <td>39.5</td>
195
+ <td>45.17</td>
196
+ <td>32.17</td>
197
+ <td>53.09</td>
198
+ <td>50.63</td>
199
+ <td>25.07</td>
200
+ <td>31.94</td>
201
+ </tr>
202
+ <tr>
203
+ <td><a href="https://huggingface.co/CohereLabs/c4ai-command-r7b-arabic-02-2025" target="_blank">c4ai-command-r7b-arabic-02-2025</a></td>
204
+ <td>46.27</td>
205
+ <td>50.97</td>
206
+ <td>70.67</td>
207
+ <td>50.39</td>
208
+ <td>61.84</td>
209
+ <td>57.2</td>
210
+ <td>36.91</td>
211
+ <td>41.89</td>
212
+ <td>46.02</td>
213
+ <td>30.88</td>
214
+ <td>52.32</td>
215
+ <td>51.43</td>
216
+ <td>25.07</td>
217
+ <td>27.22</td>
218
+ </tr>
219
+ <!-- <tr style="border-top: 4px solid;"></tr> -->
220
+ <tr>
221
+ <td><a href="https://huggingface.co/meta-llama/Meta-Llama-3.1-8B-Instruct" target="_blank">Llama-3.1-8B-Instruct</a></td>
222
+ <td>42.5</td>
223
+ <td>42.88</td>
224
+ <td>55.89</td>
225
+ <td>43.1</td>
226
+ <td>57.97</td>
227
+ <td>54.27</td>
228
+ <td>35.57</td>
229
+ <td>34.41</td>
230
+ <td>40.34</td>
231
+ <td>31.77</td>
232
+ <td>53.3</td>
233
+ <td>50.24</td>
234
+ <td>24.48</td>
235
+ <td>28.33</td>
236
+ </tr>
237
+ <tr>
238
+ <td><a href="https://huggingface.co/FreedomIntelligence/AceGPT-v2-8B-chat" target="_blank">AceGPT-v2-8b-chat</a></td>
239
+ <td>48.04</td>
240
+ <td>55.25</td>
241
+ <td>73.33</td>
242
+ <td>53.14</td>
243
+ <td>62.5</td>
244
+ <td>58.39</td>
245
+ <td>39.82</td>
246
+ <td>41.06</td>
247
+ <td>47.16</td>
248
+ <td>33.16</td>
249
+ <td>53.8</td>
250
+ <td>50.24</td>
251
+ <td>26.07</td>
252
+ <td>30.56</td>
253
+ </tr>
254
+ <tr>
255
+ <td><a href="https://huggingface.co/google/gemma-2-9b-it" target="_blank">gemma-2-9b-it</a></td>
256
+ <td>45.41</td>
257
+ <td>50.72</td>
258
+ <td>49.44</td>
259
+ <td>49.53</td>
260
+ <td>61.35</td>
261
+ <td>61.79</td>
262
+ <td>35.79</td>
263
+ <td>40.23</td>
264
+ <td>48.01</td>
265
+ <td>33.75</td>
266
+ <td>53.69</td>
267
+ <td>50.79</td>
268
+ <td>26.66</td>
269
+ <td>28.61</td>
270
+ </tr>
271
+ <tr>
272
+ <td><a href="https://huggingface.co/google/gemma-3-12b-it" target="_blank">gemma-3-12b-it</a></td>
273
+ <td>50.22</td>
274
+ <td>61.55</td>
275
+ <td>77</td>
276
+ <td>49.49</td>
277
+ <td>64.96</td>
278
+ <td>63.53</td>
279
+ <td>38.03</td>
280
+ <td>41.27</td>
281
+ <td>48.86</td>
282
+ <td>37.52</td>
283
+ <td>53.14</td>
284
+ <td>51.19</td>
285
+ <td>31.02</td>
286
+ <td>35.28</td>
287
+ </tr>
288
+ <tr>
289
+ <td><a href="https://huggingface.co/inceptionai/jais-family-13b-chat" target="_blank">jais-family-13b-chat</a></td>
290
+ <td>44.66</td>
291
+ <td>44.85</td>
292
+ <td>66.33</td>
293
+ <td>52.99</td>
294
+ <td>64.85</td>
295
+ <td>57.91</td>
296
+ <td>36.91</td>
297
+ <td>33.26</td>
298
+ <td>38.64</td>
299
+ <td>30.46</td>
300
+ <td>53.09</td>
301
+ <td>48.18</td>
302
+ <td>25.28</td>
303
+ <td>27.78</td>
304
+ </tr>
305
+ <tr>
306
+ <td><a href="https://huggingface.co/inceptionai/jais-adapted-13b-chat" target="_blank">jais-adapted-13b-chat</a></td>
307
+ <td>44.63</td>
308
+ <td>50.03</td>
309
+ <td>65.33</td>
310
+ <td>47.53</td>
311
+ <td>61.3</td>
312
+ <td>56.72</td>
313
+ <td>37.14</td>
314
+ <td>35.45</td>
315
+ <td>41.76</td>
316
+ <td>31.14</td>
317
+ <td>52.87</td>
318
+ <td>50.79</td>
319
+ <td>23.98</td>
320
+ <td>26.11</td>
321
+ </tr>
322
+ <tr>
323
+ <td><a href="https://huggingface.co/Qwen/Qwen2.5-14B-Instruct" target="_blank">Qwen2.5-14B-Instruct</a></td>
324
+ <td>49.39</td>
325
+ <td>60.81</td>
326
+ <td>72.33</td>
327
+ <td>55.84</td>
328
+ <td>63.97</td>
329
+ <td>59.97</td>
330
+ <td>38.26</td>
331
+ <td>43.25</td>
332
+ <td>50.28</td>
333
+ <td>33.49</td>
334
+ <td>52.87</td>
335
+ <td>53.41</td>
336
+ <td>27.35</td>
337
+ <td>30.28</td>
338
+ </tr>
339
+ <tr style="border-top: 4px solid;"></tr>
340
+ <tr>
341
+ <td><strong><a href="https://huggingface.co/MBZUAI-Paris/Nile-Chat-4B" target="_blank">Nile-Chat-4B</a></td>
342
+ <td>53.07</td>
343
+ <td>50.25</td>
344
+ <td>68.56</td>
345
+ <td>55.92</td>
346
+ <td>67.3</td>
347
+ <td>61.87</td>
348
+ <td>40.94</td>
349
+ <td>42.1</td>
350
+ <td>46.02</td>
351
+ <td>50.55</td>
352
+ <td>65.32</td>
353
+ <td>60.62</td>
354
+ <td>37.36</td>
355
+ <td>43.06</td>
356
+ </tr>
357
+ <tr>
358
+ <td><strong><a href="https://huggingface.co/MBZUAI-Paris/Nile-Chat-12B" target="_blank">Nile-Chat-12B</a></td>
359
+ <td>57.92</td>
360
+ <td>62.59</td>
361
+ <td>79.44</td>
362
+ <td>64.04</td>
363
+ <td>70.69</td>
364
+ <td>63.53</td>
365
+ <td>42.06</td>
366
+ <td>48.02</td>
367
+ <td>53.13</td>
368
+ <td>53.71</td>
369
+ <td>65.1</td>
370
+ <td>59.98</td>
371
+ <td>41.72</td>
372
+ <td>48.89</td>
373
+ </tr>
374
+ </table>
375
+
376
+ **Translation and Transliteration Tasks:**
377
+ <table>
378
+ <tr>
379
+ <td rowspan="2">Model</td>
380
+ <td colspan="3"><a href="https://huggingface.co/datasets/MBZUAI-Paris/EgyptianBench" target="_blank">Long Translation</a></td>
381
+ <td colspan="3"><a href="https://huggingface.co/datasets/MBZUAI-Paris/EgyptianBench" target="_blank">Short Translation</a></td>
382
+ <td colspan="3"><a href="https://huggingface.co/datasets/MBZUAI-Paris/EgyptianBench" target="_blank">Transliteration</a></td>
383
+ </tr>
384
+ <tr>
385
+ <td>BLEU</td>
386
+ <td>chrF</td>
387
+ <td>BERTScore</td>
388
+ <td>BLEU</td>
389
+ <td>chrF</td>
390
+ <td>BERTScore</td>
391
+ <td>BLEU</td>
392
+ <td>chrF</td>
393
+ <td>BERTScore</td>
394
+ </tr>
395
+ <tr>
396
+ <td><a href="https://huggingface.co/google/gemma-3-4b-it" target="_blank">gemma-3-4b-it</a></td>
397
+ <td>20.67</td>
398
+ <td>44.75</td>
399
+ <td>73.03</td>
400
+ <td>04.76</td>
401
+ <td>31.15</td>
402
+ <td>52.98</td>
403
+ <td>01.44</td>
404
+ <td>20.36</td>
405
+ <td>47.54</td>
406
+ </tr>
407
+ <tr>
408
+ <td><a href="https://huggingface.co/inceptionai/jais-family-6p7b-chat" target="_blank">jais-family-6p7b-chat</a></td>
409
+ <td>12.71</td>
410
+ <td>36.53</td>
411
+ <td>68.07</td>
412
+ <td>08.73</td>
413
+ <td>31.52</td>
414
+ <td>56.78</td>
415
+ <td>00.70</td>
416
+ <td>10.64</td>
417
+ <td>42.51</td>
418
+ </tr>
419
+ <tr>
420
+ <td><a href="https://huggingface.co/inceptionai/jais-adapted-7b-chat" target="_blank">jais-adapted-7b-chat</a></td>
421
+ <td>10.61</td>
422
+ <td>27.56</td>
423
+ <td>63.48</td>
424
+ <td>09.19</td>
425
+ <td>24.85</td>
426
+ <td>53.52</td>
427
+ <td>01.11</td>
428
+ <td>06.14</td>
429
+ <td>40.45</td>
430
+ </tr>
431
+ <tr>
432
+ <td><a href="https://huggingface.co/Qwen/Qwen2.5-7B-Instruct" target="_blank">Qwen2.5-7B-Instruct</a></td>
433
+ <td>19.89</td>
434
+ <td>44.80</td>
435
+ <td>73.64</td>
436
+ <td>11.34</td>
437
+ <td>36.31</td>
438
+ <td>54.96</td>
439
+ <td>02.74</td>
440
+ <td>20.63</td>
441
+ <td>49.32</td>
442
+ </tr>
443
+ <tr>
444
+ <td><a href="https://huggingface.co/ALLaM-AI/ALLaM-7B-Instruct-preview" target="_blank">ALLaM-7B-Instruct-preview</a></td>
445
+ <td>26.57</td>
446
+ <td>52.59</td>
447
+ <td>78.34</td>
448
+ <td>25.20</td>
449
+ <td>48.12</td>
450
+ <td>65.97</td>
451
+ <td>02.10</td>
452
+ <td>18.92</td>
453
+ <td>49.42</td>
454
+ </tr>
455
+ <tr>
456
+ <td><a href="https://huggingface.co/CohereLabs/c4ai-command-r7b-arabic-02-2025" target="_blank">c4ai-command-r7b-arabic-02-2025</a></td>
457
+ <td>25.18</td>
458
+ <td>50.26</td>
459
+ <td>77.97</td>
460
+ <td>23.30</td>
461
+ <td>45.34</td>
462
+ <td>65.20</td>
463
+ <td>03.52</td>
464
+ <td>24.57</td>
465
+ <td>50.49</td>
466
+ </tr>
467
+ <!-- <tr style="border-top: 4px solid;"></tr> -->
468
+ <tr>
469
+ <td><a href="https://huggingface.co/meta-llama/Meta-Llama-3.1-8B-Instruct" target="_blank">Llama-3.1-8B-Instruct</a></td>
470
+ <td>12.90</td>
471
+ <td>32.58</td>
472
+ <td>68.76</td>
473
+ <td>09.06</td>
474
+ <td>28.56</td>
475
+ <td>54.19</td>
476
+ <td>03.26</td>
477
+ <td>17.55</td>
478
+ <td>48.71</td>
479
+ </tr>
480
+ <tr>
481
+ <td><a href="https://huggingface.co/FreedomIntelligence/AceGPT-v2-8B-chat" target="_blank">AceGPT-v2-8b-chat</a></td>
482
+ <td>24.59</td>
483
+ <td>49.39</td>
484
+ <td>77.57</td>
485
+ <td>22.47</td>
486
+ <td>44.97</td>
487
+ <td>66.30</td>
488
+ <td>04.80</td>
489
+ <td>23.52</td>
490
+ <td>49.33</td>
491
+ </tr>
492
+ <tr>
493
+ <td><a href="https://huggingface.co/google/gemma-2-9b-it" target="_blank">gemma-2-9b-it</a></td>
494
+ <td>23.09</td>
495
+ <td>46.98</td>
496
+ <td>75.42</td>
497
+ <td>11.73</td>
498
+ <td>39.00</td>
499
+ <td>60.42</td>
500
+ <td>02.68</td>
501
+ <td>24.28</td>
502
+ <td>48.26</td>
503
+ </tr>
504
+ <tr>
505
+ <td><a href="https://huggingface.co/google/gemma-3-12b-it" target="_blank">gemma-3-12b-it</a></td>
506
+ <td>22.90</td>
507
+ <td>45.97</td>
508
+ <td>73.46</td>
509
+ <td>05.24</td>
510
+ <td>32.82</td>
511
+ <td>54.34</td>
512
+ <td>02.77</td>
513
+ <td>26.16</td>
514
+ <td>50.47</td>
515
+ </tr>
516
+ <tr>
517
+ <td><a href="https://huggingface.co/inceptionai/jais-family-13b-chat" target="_blank">jais-family-13b-chat</a></td>
518
+ <td>10.41</td>
519
+ <td>31.98</td>
520
+ <td>64.15</td>
521
+ <td>08.64</td>
522
+ <td>30.10</td>
523
+ <td>57.00</td>
524
+ <td>00.84</td>
525
+ <td>11.35</td>
526
+ <td>44.71</td>
527
+ </tr>
528
+ <tr>
529
+ <td><a href="https://huggingface.co/inceptionai/jais-adapted-13b-chat" target="_blank">jais-adapted-13b-chat</a></td>
530
+ <td>15.53</td>
531
+ <td>41.48</td>
532
+ <td>70.86</td>
533
+ <td>15.96</td>
534
+ <td>38.81</td>
535
+ <td>63.52</td>
536
+ <td>01.00</td>
537
+ <td>13.33</td>
538
+ <td>46.08</td>
539
+ </tr>
540
+ <tr>
541
+ <td><a href="https://huggingface.co/Qwen/Qwen2.5-14B-Instruct" target="_blank">Qwen2.5-14B-Instruct</a></td>
542
+ <td>21.71</td>
543
+ <td>45.55</td>
544
+ <td>73.36</td>
545
+ <td>09.26</td>
546
+ <td>34.21</td>
547
+ <td>53.89</td>
548
+ <td>04.07</td>
549
+ <td>25.83</td>
550
+ <td>51.41</td>
551
+ </tr>
552
+ <tr style="border-top: 4px solid;"></tr>
553
+ <tr>
554
+ <td><strong><a href="https://huggingface.co/MBZUAI-Paris/Nile-Chat-4B" target="_blank">Nile-Chat-4B</a></td>
555
+ <td>37.49</td>
556
+ <td>58.40</td>
557
+ <td>84.30</td>
558
+ <td>30.35</td>
559
+ <td>52.01</td>
560
+ <td>74.07</td>
561
+ <td>51.46</td>
562
+ <td>80.44</td>
563
+ <td>89.59</td>
564
+ </tr>
565
+ <tr>
566
+ <td><strong><a href="https://huggingface.co/MBZUAI-Paris/Nile-Chat-12B" target="_blank">Nile-Chat-12B</a></td>
567
+ <td>40.53</td>
568
+ <td>60.61</td>
569
+ <td>85.45</td>
570
+ <td>32.2</td>
571
+ <td>53.53</td>
572
+ <td>74.72</td>
573
+ <td>52.21</td>
574
+ <td>80.97</td>
575
+ <td>89.71</td>
576
+ </tr>
577
+
578
+
579
+ </table>
580
+
581
+ ## Usage and Limitations
582
+
583
+ These models have certain limitations that users should be aware of.
584
+ <details>
585
+ <summary>Intended Usage</summary>
586
+
587
+ Open Large Language Models (LLMs) have a wide range of applications across
588
+ various industries and domains. The following list of potential uses is not
589
+ comprehensive. The purpose of this list is to provide contextual information
590
+ about the possible use-cases that the model creators considered as part of model
591
+ training and development.
592
+
593
+ * Content Creation and Communication
594
+ * Text Generation: These models can be used to generate creative text formats
595
+ such as poems, scripts, code, marketing copy, and email drafts.
596
+ * Chatbots and Conversational AI: Power conversational interfaces for customer
597
+ service, virtual assistants, or interactive applications.
598
+ * Text Summarization: Generate concise summaries of a text corpus, research
599
+ papers, or reports.
600
+ * Research and Education
601
+ * Natural Language Processing (NLP) Research: These models can serve as a
602
+ foundation for researchers to experiment with NLP techniques, develop
603
+ algorithms, and contribute to the advancement of the field.
604
+ * Language Learning Tools: Support interactive language learning experiences,
605
+ aiding in grammar correction or providing writing practice.
606
+ * Knowledge Exploration: Assist researchers in exploring large bodies of text
607
+ by generating summaries or answering questions about specific topics.
608
+ </details>
609
+ <details>
610
+ <summary>Limitations</summary>
611
+
612
+ * Training Data
613
+ * The quality and diversity of the training data significantly influence the
614
+ model's capabilities. Biases or gaps in the training data can lead to
615
+ limitations in the model's responses.
616
+ * The scope of the training dataset determines the subject areas the model can
617
+ handle effectively.
618
+ * Context and Task Complexity
619
+ * LLMs perform better on tasks framed with clear prompts and
620
+ instructions. Open-ended or highly complex tasks might be challenging.
621
+ * A model's performance can be influenced by the amount of context provided
622
+ (longer context generally leads to better outputs, up to a certain point).
623
+ * Language Ambiguity and Nuance
624
+ * Natural language is inherently complex. LLMs might struggle to grasp subtle
625
+ nuances, sarcasm, or figurative language.
626
+ * Factual Accuracy
627
+ * LLMs generate responses based on information they learned from their
628
+ training datasets, but they are not knowledge bases. They may generate
629
+ incorrect or outdated factual statements.
630
+ * Common Sense
631
+ * LLMs rely on statistical patterns in language. They might lack the ability
632
+ to apply common sense reasoning in certain situations.
633
+ </details>
634
+ <details>
635
+ <summary> Ethical Considerations and Risks</summary>
636
+
637
+ The development of large language models (LLMs) raises several ethical concerns.
638
+ In creating an open model, we have carefully considered the following:
639
+
640
+ * Bias and Fairness
641
+ * LLMs trained on large-scale, real-world text data can reflect socio-cultural
642
+ biases embedded in the training material.
643
+ * Misinformation and Misuse
644
+ * LLMs can be misused to generate text that is false, misleading, or harmful.
645
+ * Guidelines are provided for responsible use with the model, see the
646
+ [Responsible Generative AI Toolkit][rai-toolkit].
647
+ * Transparency and Accountability:
648
+ * This model card summarizes details on the models' architecture,
649
+ capabilities, limitations, and evaluation processes.
650
+ * A responsibly developed open model offers the opportunity to share
651
+ innovation by making LLM technology accessible to developers and researchers
652
+ across the AI ecosystem.
653
+
654
+ Risks identified and mitigations:
655
+
656
+ * Perpetuation of biases: It's encouraged to perform continuous monitoring
657
+ (using evaluation metrics, human review) and the exploration of de-biasing
658
+ techniques during model training, fine-tuning, and other use cases.
659
+ * Generation of harmful content: Mechanisms and guidelines for content safety
660
+ are essential. Developers are encouraged to exercise caution and implement
661
+ appropriate content safety safeguards based on their specific product policies
662
+ and application use cases.
663
+ * Privacy violations: Models were trained on data filtered for removal of PII
664
+ (Personally Identifiable Information). Developers are encouraged to adhere to
665
+ privacy regulations with privacy-preserving techniques.
666
+
667
+ </details>