tohid.abedini
commited on
Commit
·
586a1e6
1
Parent(s):
75afdc2
[Add] about
Browse files
utils.py
CHANGED
@@ -111,61 +111,61 @@ body, .gradio-container, .gr-button, .gr-input, .gr-slider, .gr-dropdown, .gr-ma
|
|
111 |
LLM_BENCHMARKS_ABOUT_TEXT = f"""
|
112 |
# Persian LLM Evaluation Leaderboard (v1)
|
113 |
|
114 |
-
The Persian LLM Evaluation Leaderboard, developed by **Part DP AI** in collaboration with **AUT (Amirkabir University of Technology) NLP Lab**, provides a comprehensive benchmarking system specifically designed for Persian language models. This leaderboard, based on the open-source [LM Evaluation Harness](https://github.com/EleutherAI/lm-evaluation-harness), offers a unique platform for evaluating the performance of large language models (LLMs) on tasks that demand linguistic proficiency and technical skill in Persian.
|
115 |
-
|
116 |
-
## 1.Key Features
|
117 |
-
|
118 |
-
1. **Open Evaluation Access**
|
119 |
-
|
120 |
-
|
121 |
-
2. **Task Diversity**
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
3. **Open-Source Dataset Sample**
|
133 |
-
|
134 |
-
|
135 |
-
4. **Collaborative Development**
|
136 |
-
|
137 |
-
|
138 |
-
5. **Comprehensive Evaluation Pipeline**
|
139 |
-
|
140 |
-
|
141 |
-
## 2.Background and Goals
|
142 |
-
|
143 |
-
Recent months have seen a notable increase in the development of Persian language models by research centers and AI companies in Iran. However, the lack of reliable, standardized benchmarks for Persian models has made it challenging to evaluate model quality comprehensively. Global benchmarks typically do not support Persian, resulting in skewed or unreliable results for Persian-based AI.
|
144 |
-
|
145 |
-
This leaderboard addresses this gap by providing a locally-focused, transparent system that enables consistent, fair comparisons of Persian models. It is expected to be a valuable tool for Persian-speaking businesses and developers, allowing them to select models best suited to their needs. Researchers and model developers also benefit from the competitive environment, with opportunities to showcase and improve their models based on benchmark rankings.
|
146 |
-
|
147 |
-
## 3.Data Privacy and Integrity
|
148 |
-
|
149 |
-
To maintain evaluation integrity and prevent overfitting or data leakage, only part of the benchmark dataset is openly available. This limited access approach upholds model evaluation reliability, ensuring that results are genuinely representative of each model’s capabilities across unseen data.
|
150 |
-
|
151 |
-
The leaderboard represents a significant milestone in Persian language AI and is positioned to become the leading standard for LLM evaluation in the Persian-speaking world.
|
152 |
|
153 |
"""
|
154 |
|
155 |
|
156 |
LLM_BENCHMARKS_SUBMIT_TEXT = """## Submitting a Model for Evaluation
|
157 |
|
158 |
-
To submit your open-source model for evaluation, follow these steps:
|
159 |
-
|
160 |
-
1. **Ensure your model is on Hugging Face**: Your model must be publicly available on [Hugging Face](https://huggingface.co/).
|
161 |
-
|
162 |
-
2. **Submit Request**: Send a request with your model's Hugging Face identifier.
|
163 |
-
|
164 |
-
3. **Manual Queue**: Please note that the evaluation process is currently handled manually. Submissions will be queued and processed as soon as possible.
|
165 |
-
|
166 |
-
4. **Results**: Once the evaluation is complete, your model’s results will be updated on the leaderboard.
|
167 |
-
|
168 |
-
We appreciate your patience and contributions to the Persian LLM ecosystem!
|
169 |
"""
|
170 |
|
171 |
|
|
|
111 |
LLM_BENCHMARKS_ABOUT_TEXT = f"""
|
112 |
# Persian LLM Evaluation Leaderboard (v1)
|
113 |
|
114 |
+
> The Persian LLM Evaluation Leaderboard, developed by **Part DP AI** in collaboration with **AUT (Amirkabir University of Technology) NLP Lab**, provides a comprehensive benchmarking system specifically designed for Persian language models. This leaderboard, based on the open-source [LM Evaluation Harness](https://github.com/EleutherAI/lm-evaluation-harness), offers a unique platform for evaluating the performance of large language models (LLMs) on tasks that demand linguistic proficiency and technical skill in Persian.
|
115 |
+
|
116 |
+
## 1. Key Features
|
117 |
+
|
118 |
+
> 1. **Open Evaluation Access**
|
119 |
+
> The leaderboard allows open participation, meaning that developers and researchers working with open-source models can submit evaluation requests for their models. This accessibility encourages the development and testing of Persian LLMs within the broader AI ecosystem.
|
120 |
+
>
|
121 |
+
> 2. **Task Diversity**
|
122 |
+
> Six specialized tasks have been curated for this leaderboard, each tailored to challenge different aspects of a model’s capabilities. These tasks include:
|
123 |
+
> - **Part Multiple Choice**
|
124 |
+
> - **ARC Easy**
|
125 |
+
> - **ARC Challenging**
|
126 |
+
> - **MMLU Pro**
|
127 |
+
> - **GSM8k Persian**
|
128 |
+
> - **Multiple Choice Persian**
|
129 |
+
>
|
130 |
+
> Each dataset is available in Persian, providing a robust testing ground for models in a non-English setting.
|
131 |
+
>
|
132 |
+
> 3. **Open-Source Dataset Sample**
|
133 |
+
> A sample of the evaluation dataset is hosted on [Hugging Face Datasets](https://huggingface.co/datasets/PartAI/llm-leaderboard-datasets-sample), offering the AI community a glimpse of the benchmark content and format. This sample allows developers to pre-assess their models against representative data before a full leaderboard evaluation.
|
134 |
+
>
|
135 |
+
> 4. **Collaborative Development**
|
136 |
+
> This leaderboard represents a significant collaboration between Part AI and Professor Saeedeh Momtazi of Amirkabir University of Technology, leveraging academic research and industrial expertise to create a high-quality, open benchmarking tool. The partnership underscores a shared commitment to advancing Persian-language AI technologies.
|
137 |
+
>
|
138 |
+
> 5. **Comprehensive Evaluation Pipeline**
|
139 |
+
> By integrating a standardized evaluation pipeline, models are assessed across a variety of data types, including text, mathematical formulas, and numerical data. This multi-faceted approach enhances the evaluation’s reliability and allows for precise, nuanced assessment of model performance across multiple dimensions.
|
140 |
+
|
141 |
+
## 2. Background and Goals
|
142 |
+
|
143 |
+
> Recent months have seen a notable increase in the development of Persian language models by research centers and AI companies in Iran. However, the lack of reliable, standardized benchmarks for Persian models has made it challenging to evaluate model quality comprehensively. Global benchmarks typically do not support Persian, resulting in skewed or unreliable results for Persian-based AI.
|
144 |
+
>
|
145 |
+
> This leaderboard addresses this gap by providing a locally-focused, transparent system that enables consistent, fair comparisons of Persian models. It is expected to be a valuable tool for Persian-speaking businesses and developers, allowing them to select models best suited to their needs. Researchers and model developers also benefit from the competitive environment, with opportunities to showcase and improve their models based on benchmark rankings.
|
146 |
+
|
147 |
+
## 3. Data Privacy and Integrity
|
148 |
+
|
149 |
+
> To maintain evaluation integrity and prevent overfitting or data leakage, only part of the benchmark dataset is openly available. This limited access approach upholds model evaluation reliability, ensuring that results are genuinely representative of each model’s capabilities across unseen data.
|
150 |
+
>
|
151 |
+
> The leaderboard represents a significant milestone in Persian language AI and is positioned to become the leading standard for LLM evaluation in the Persian-speaking world.
|
152 |
|
153 |
"""
|
154 |
|
155 |
|
156 |
LLM_BENCHMARKS_SUBMIT_TEXT = """## Submitting a Model for Evaluation
|
157 |
|
158 |
+
> To submit your open-source model for evaluation, follow these steps:
|
159 |
+
>
|
160 |
+
> 1. **Ensure your model is on Hugging Face**: Your model must be publicly available on [Hugging Face](https://huggingface.co/).
|
161 |
+
>
|
162 |
+
> 2. **Submit Request**: Send a request with your model's Hugging Face identifier.
|
163 |
+
>
|
164 |
+
> 3. **Manual Queue**: Please note that the evaluation process is currently handled manually. Submissions will be queued and processed as soon as possible.
|
165 |
+
>
|
166 |
+
> 4. **Results**: Once the evaluation is complete, your model’s results will be updated on the leaderboard.
|
167 |
+
>
|
168 |
+
> We appreciate your patience and contributions to the Persian LLM ecosystem!
|
169 |
"""
|
170 |
|
171 |
|