Datasets:
Update README.md
Browse files
README.md
CHANGED
@@ -186,3 +186,48 @@ The ATHAR dataset comprises 66K sentences extracted from seminal Classical Arabi
|
|
186 |
Examples might include style guidelines,
|
187 |
the use of particular grammatical forms or sentence structures,
|
188 |
specific spelling or punctuation rules to be followed, etc. -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
186 |
Examples might include style guidelines,
|
187 |
the use of particular grammatical forms or sentence structures,
|
188 |
specific spelling or punctuation rules to be followed, etc. -->
|
189 |
+
|
190 |
+
|
191 |
+
## Datasets Summary
|
192 |
+
|
193 |
+
The ATHAR dataset is divided into two main subsets: test data and training data.
|
194 |
+
|
195 |
+
| Name | Description |
|
196 |
+
|------------------|-------------------------------------------------------------------------------------------------------------------------|
|
197 |
+
| `Training Data` | Contains 65,043 rows of classical Arabic texts and their English translations, used for training translation models. |
|
198 |
+
| `Test Data` | Contains 1,000 rows of classical Arabic texts and their English translations, reserved for evaluating model performance.|
|
199 |
+
|
200 |
+
|
201 |
+
|
202 |
+
|
203 |
+
|
204 |
+
## Dataset Structure
|
205 |
+
|
206 |
+
Each entry in the dataset is represented by a row with the following fields:
|
207 |
+
|
208 |
+
| Field | Description |
|
209 |
+
|-----------|-------------------------------------------------------------------------------------------------------------|
|
210 |
+
| `Arabic(str)` | The original text in classical Arabic. |
|
211 |
+
| `English(str)` | The English translation of the classical Arabic text. |
|
212 |
+
|
213 |
+
|
214 |
+
|
215 |
+
|
216 |
+
## Loading The Dataset
|
217 |
+
You can download the dataset directly from HuggingFace or use the following code:
|
218 |
+
|
219 |
+
```python
|
220 |
+
from datasets import load_dataset
|
221 |
+
|
222 |
+
athar = load_dataset("mohamed-khalil/ATHAR")
|
223 |
+
```
|
224 |
+
|
225 |
+
|
226 |
+
## Sample From The Dataset:
|
227 |
+
|
228 |
+
Below is a sample from the ATHAR dataset, showcasing a classical Arabic text and its English translation.
|
229 |
+
|
230 |
+
**`Arabic`**: ูููู
ูุฒู ุงููููุณ ูุนุจุฏ ุญูุชููู ุธูุฑุช ุฏูุนูููุฉ ุงููููุจูู ุนููููููู ุงูุณููููุงู
ููุจุนุซ ุฅููููููู ุนูู ุงุจูู ุฃูุจูู ุทูุงููุจู ููููุฏูู
ููู ููุฃูุฎูุฐู ุณููููููููู ููุงูู ุงููุญูุงุฑูุซู ุจู ุฃุจู ุดู
ุฑู ุงูุบุณุงูู, ู
ูู ุบูุณููุงู ูููููุฏููู ุฅููููุงููู
ูุง, ููููุงูู ููููู
ูุง ู
ูุฎูุฐูู
ู ููุฑูุณููุจู(ููููู
ูุง ุงูุณููููููุงูู ุงููููุฐูุงูู ุฐูููุฑูููู
ูุง ุนูููููู
ูุฉู ุจููู ุนูุจูุฏูุฉู ููู ุดูุนูุฑููู). ููููุฏูู
ู ุจูููู
ูุง ุนูููููู ุจููู ุฃูุจูู ุทูุงููุจู ุนูููู ุงููููุจูููู ุตููููู ุงูููููู ุนููููููู ููุณููููู
ู ููุชููููููุฏู ุฃูุญูุฏูููู
ูุง ุซูู
ูู ุฏูููุนููู ุฅูููู ุนูููููู ุจููู ุฃูุจูู ุทูุงููุจู, ูููููู ุณููููููู ุงูููุฐูู ููุงูู ููุชููููููุฏููู
|
231 |
+
|
232 |
+
**`English`**: Al-Fals continued to be worshipped until the advent of the Prophet, at which time โAli ibn-abi-Talib was dispatched to destroy it. โAli destroyed the idol and carried away therefrom two swords called Mikhdham and Rasub (the same two swords which โAlqamah ibn-โAbadah had mentioned in his poetry), which al-Harith ibn-abi-Shamir, king of Ghassan, had presented al-Fals. โAli brought them to the Prophet who wore one of them and gave it back to him. It was the sword which โAli was always wont to wear
|
233 |
+
|