Improve dataset card: Add tags, fix license and language codes, uncomment image, clean up content

#3
by nielsr HF Staff - opened
Files changed (1) hide show
  1. README.md +23 -86
README.md CHANGED
@@ -1,4 +1,15 @@
1
  ---
 
 
 
 
 
 
 
 
 
 
 
2
  dataset_info:
3
  features:
4
  - name: arabic
@@ -21,30 +32,22 @@ configs:
21
  path: data/train-*
22
  - split: test
23
  path: data/test-*
24
- task_categories:
25
- - translation
26
- language:
27
- - ar
28
- - en
29
- pretty_name: ATHAR
30
- size_categories:
31
- - 10K<n<100K
32
- license: cc-by-sa-4.0
33
  ---
34
 
 
35
 
36
- <!--
37
- # Dataset Card for "ATHAR"
38
 
39
- # ATHAR: A High-Quality and Diverse Dataset for Classical Arabic to English Translation
40
 
41
  > Welcome to ATHAR Dataset
42
 
 
 
43
  <p align="center">
44
  <img src="https://cdn-uploads.huggingface.co/production/uploads/64af7c627ab7586520ed8688/SwkKk3Z6kT5VZ3Oj-bVMC.jpeg" width = "150px"/>
45
- <p align="center"> [ <a href="https://arxiv.org/abs/2407.19835">Paper</a> ]<!-- - <a href="https://github.com/ARBML/CIDAR">GitHub</a> ]</p>
46
-
47
  </p>
 
48
 
49
 
50
  ![image/jpeg](https://cdn-uploads.huggingface.co/production/uploads/64af7c627ab7586520ed8688/SwkKk3Z6kT5VZ3Oj-bVMC.jpeg)
@@ -64,75 +67,10 @@ license: cc-by-sa-4.0
64
  </div>
65
 
66
 
67
- ## Datasets Summary
68
-
69
- The ATHAR dataset is divided into two main subsets: test data and training data.
70
-
71
- | Name | Description |
72
- |------------------|-------------------------------------------------------------------------------------------------------------------------|
73
- | `Training Data` | Contains 65,043 rows of classical Arabic texts and their English translations, used for training translation models. |
74
- | `Test Data` | Contains 1,000 rows of classical Arabic texts and their English translations, reserved for evaluating model performance.|
75
-
76
-
77
-
78
-
79
-
80
- ## Dataset Structure
81
-
82
- Each entry in the dataset is represented by a row with the following fields:
83
-
84
- | Field | Description |
85
- |-----------|-------------------------------------------------------------------------------------------------------------|
86
- | `Arabic(str)` | The original text in classical Arabic. |
87
- | `English(str)` | The English translation of the classical Arabic text. |
88
-
89
-
90
-
91
-
92
- ## Loading The Dataset
93
- You can download the dataset directly from HuggingFace or use the following code:
94
-
95
- ```python
96
- from datasets import load_dataset
97
-
98
- athar = load_dataset("mohamed-khalil/ATHAR")
99
- ```
100
-
101
-
102
- ## Sample From The Dataset:
103
-
104
- Below is a sample from the ATHAR dataset, showcasing a classical Arabic text and its English translation.
105
-
106
- **`Arabic`**: فَلم يزل الْفلس يعبد حَتَّى ظهرت دَعْوَة النَّبِي عَلَيْهِ السَّلَام فَبعث إِلَيْهِ على ابْن أَبِي طَالِبٍ فَهَدَمَهُ وَأَخَذَ سَيْفَيْنِ كَانَ الْحَارِثُ بن أبي شمرٍ الغساني, ملك غَسَّان قَلَّدَهُ إِيَّاهُمَا, يُقَالُ لَهُمَا مِخْذَمٌ وَرَسُوبٌ(وَهُمَا السَّيْفَانِ اللَّذَانِ ذَكَرَهُمَا عَلْقَمَةُ بْنُ عَبْدَةَ فِي شِعْرِهِ). فَقَدِمَ بِهِمَا عَلِيُّ بْنُ أَبِي طَالِبٍ عَلَى النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ فَتَقَلَّدَ أَحَدَهُمَا ثُمَّ دَفَعَهُ إِلَى عَلِيِّ بْنِ أَبِي طَالِبٍ, فَهُوَ سَيْفُهُ الَّذِي كَانَ يَتَقَلَّدُهُ
107
-
108
- **`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
109
-
110
- -->
111
-
112
-
113
-
114
- # Dataset card
115
-
116
- ## Description
117
-
118
- ### ATHAR: A High-Quality and Diverse Dataset for Classical Arabic to English Translation
119
-
120
- > Welcome to ATHAR Dataset
121
-
122
- The ATHAR dataset is a comprehensive collection of classical Arabic texts translated into English. This dataset contains approximately 66,000 rows of translated texts, including the original Classical Arabic texts and their English translations.
123
-
124
- <p align="center">
125
- <!-- <img src="https://cdn-uploads.huggingface.co/production/uploads/64af7c627ab7586520ed8688/SwkKk3Z6kT5VZ3Oj-bVMC.jpeg" width = "150px"/> -->
126
- <p align="center"> [ <a href="https://arxiv.org/abs/2407.19835">Paper</a> ]<!-- - <a href="https://github.com/ARBML/CIDAR">GitHub</a> ]</p> -->
127
-
128
- </p>
129
-
130
-
131
-
132
  ## License
133
 
134
- The ATHAR dataset and weight diffs are licensed under **CC BY NC 4.0**
135
- [Creative Commons NonCommercial (CC BY-NC 4.0)](https://creativecommons.org/licenses/by-nc/4.0/deed.en).
136
 
137
 
138
 
@@ -145,7 +83,7 @@ The ATHAR dataset and weight diffs are licensed under **CC BY NC 4.0**
145
  year={2024},
146
  eprint={2407.19835},
147
  archivePrefix={arXiv},
148
- primaryClass={cs.CL},
149
  url={https://arxiv.org/abs/2407.19835},
150
  }
151
  ```
@@ -154,13 +92,13 @@ The ATHAR dataset and weight diffs are licensed under **CC BY NC 4.0**
154
 
155
  ### Arabic
156
 
157
- * ISO 639-3: eng
158
  * ISO 15924: Arab
159
  * Glottocode: arab1395 <!-- Classical Arabic Code: clas1259 -->
160
 
161
  ### English
162
 
163
- * ISO 639-3: ara
164
  * ISO 15924: Latn
165
  * Glottocode: stan1293
166
 
@@ -250,5 +188,4 @@ Below is a sample from the ATHAR dataset, showcasing a classical Arabic text and
250
 
251
  **`Arabic`**: فَلم يزل الْفلس يعبد حَتَّى ظهرت دَعْوَة النَّبِي عَلَيْهِ السَّلَام فَبعث إِلَيْهِ على ابْن أَبِي طَالِبٍ فَهَدَمَهُ وَأَخَذَ سَيْفَيْنِ كَانَ الْحَارِثُ بن أبي شمرٍ الغساني, ملك غَسَّان قَلَّدَهُ إِيَّاهُمَا, يُقَالُ لَهُمَا مِخْذَمٌ وَرَسُوبٌ(وَهُمَا السَّيْفَانِ اللَّذَانِ ذَكَرَهُمَا عَلْقَمَةُ بْنُ عَبْدَةَ فِي شِعْرِهِ). فَقَدِمَ بِهِمَا عَلِيُّ بْنُ أَبِي طَالِبٍ عَلَى النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ فَتَقَلَّدَ أَحَدَهُمَا ثُمَّ دَفَعَهُ إِلَى عَلِيِّ بْنِ أَبِي طَالِبٍ, فَهُوَ سَيْفُهُ الَّذِي كَانَ يَتَقَلَّدُهُ
252
 
253
- **`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
254
-
 
1
  ---
2
+ language:
3
+ - ar
4
+ - en
5
+ license: cc-by-sa-4.0
6
+ size_categories:
7
+ - 10K<n<100K
8
+ task_categories:
9
+ - translation
10
+ tags:
11
+ - classical-arabic
12
+ pretty_name: ATHAR
13
  dataset_info:
14
  features:
15
  - name: arabic
 
32
  path: data/train-*
33
  - split: test
34
  path: data/test-*
 
 
 
 
 
 
 
 
 
35
  ---
36
 
37
+ # Dataset card
38
 
39
+ ## Description
 
40
 
41
+ ### ATHAR: A High-Quality and Diverse Dataset for Classical Arabic to English Translation
42
 
43
  > Welcome to ATHAR Dataset
44
 
45
+ The ATHAR dataset is a comprehensive collection of classical Arabic texts translated into English. This dataset contains approximately 66,000 rows of translated texts, including the original Classical Arabic texts and their English translations.
46
+
47
  <p align="center">
48
  <img src="https://cdn-uploads.huggingface.co/production/uploads/64af7c627ab7586520ed8688/SwkKk3Z6kT5VZ3Oj-bVMC.jpeg" width = "150px"/>
 
 
49
  </p>
50
+ <p align="center"> [ <a href="https://arxiv.org/abs/2407.19835">Paper</a> ]</p>
51
 
52
 
53
  ![image/jpeg](https://cdn-uploads.huggingface.co/production/uploads/64af7c627ab7586520ed8688/SwkKk3Z6kT5VZ3Oj-bVMC.jpeg)
 
67
  </div>
68
 
69
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
70
  ## License
71
 
72
+ The ATHAR dataset and weight diffs are licensed under **CC BY SA 4.0**
73
+ [Creative Commons Attribution-ShareAlike 4.0 International Public License (CC BY-SA 4.0)](https://creativecommons.org/licenses/by-sa/4.0/deed.en).
74
 
75
 
76
 
 
83
  year={2024},
84
  eprint={2407.19835},
85
  archivePrefix={arXiv},
86
+ primaryClass={cs.CL},\
87
  url={https://arxiv.org/abs/2407.19835},
88
  }
89
  ```
 
92
 
93
  ### Arabic
94
 
95
+ * ISO 639-3: ara
96
  * ISO 15924: Arab
97
  * Glottocode: arab1395 <!-- Classical Arabic Code: clas1259 -->
98
 
99
  ### English
100
 
101
+ * ISO 639-3: eng
102
  * ISO 15924: Latn
103
  * Glottocode: stan1293
104
 
 
188
 
189
  **`Arabic`**: فَلم يزل الْفلس يعبد حَتَّى ظهرت دَعْوَة النَّبِي عَلَيْهِ السَّلَام فَبعث إِلَيْهِ على ابْن أَبِي طَالِبٍ فَهَدَمَهُ وَأَخَذَ سَيْفَيْنِ كَانَ الْحَارِثُ بن أبي شمرٍ الغساني, ملك غَسَّان قَلَّدَهُ إِيَّاهُمَا, يُقَالُ لَهُمَا مِخْذَمٌ وَرَسُوبٌ(وَهُمَا السَّيْفَانِ اللَّذَانِ ذَكَرَهُمَا عَلْقَمَةُ بْنُ عَبْدَةَ فِي شِعْرِهِ). فَقَدِمَ بِهِمَا عَلِيُّ بْنُ أَبِي طَالِبٍ عَلَى النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ فَتَقَلَّدَ أَحَدَهُمَا ثُمَّ دَفَعَهُ إِلَى عَلِيِّ بْنِ أَبِي طَالِبٍ, فَهُوَ سَيْفُهُ الَّذِي كَانَ يَتَقَلَّدُهُ
190
 
191
+ **`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