mtalrefaie commited on
Commit
61c38c5
·
verified ·
1 Parent(s): d0fc1c4

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +81 -47
README.md CHANGED
@@ -1,52 +1,6 @@
1
  ---
2
  dataset_info:
3
- features:
4
- - name: id
5
- dtype: int64
6
- - name: text
7
- dtype: string
8
- - name: meta
9
- struct:
10
- - name: warc_headers
11
- struct:
12
- - name: warc-record-id
13
- dtype: string
14
- - name: warc-date
15
- dtype: string
16
- - name: content-type
17
- dtype: string
18
- - name: content-length
19
- dtype: int32
20
- - name: warc-type
21
- dtype: string
22
- - name: warc-identified-content-language
23
- dtype: string
24
- - name: warc-refers-to
25
- dtype: string
26
- - name: warc-target-uri
27
- dtype: string
28
- - name: warc-block-digest
29
- dtype: string
30
- - name: identification
31
- struct:
32
- - name: label
33
- dtype: string
34
- - name: prob
35
- dtype: float32
36
- - name: harmful_pp
37
- dtype: float32
38
- - name: tlsh
39
- dtype: string
40
- - name: quality_warnings
41
- sequence: string
42
- - name: categories
43
- sequence: string
44
- - name: sentence_identifications
45
- list:
46
- - name: label
47
- dtype: string
48
- - name: prob
49
- dtype: float32
50
  splits:
51
  - name: train
52
  num_bytes: 62937755336.483734
@@ -59,3 +13,83 @@ configs:
59
  - split: train
60
  path: data/train-*
61
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  dataset_info:
3
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  splits:
5
  - name: train
6
  num_bytes: 62937755336.483734
 
13
  - split: train
14
  path: data/train-*
15
  ---
16
+
17
+
18
+ # The Arabic Pile
19
+
20
+ ![image/png](https://cdn-uploads.huggingface.co/production/uploads/64da0fd923557cdce3e514c3/J0oY67lVvecV75SOlWpjc.png)
21
+
22
+ ## Introduction:
23
+ The Arabic Pile is a comprehensive dataset meticulously designed to parallel the structure of The Pile and The Nordic Pile. Focused on the Arabic language, the dataset encompasses a vast array of linguistic nuances, incorporating both Modern Standard Arabic (MSA) and various Levantine, North African, and Egyptian dialects. Tailored for the training and fine-tuning of large language models, the dataset consists of 13 subsets, each uniquely crafted to cater to different linguistic domains.
24
+
25
+ ## The Web Subset:
26
+ This dataset has a collection of Arabic web articles based on Common Crawl.
27
+
28
+ ## Other Subsets:
29
+ 1. premio-ai/TheArabicPile
30
+ 2. premio-ai/TheArabicPile_Web
31
+ 3. premio-ai/TheArabicPile_Lyrics
32
+ 4. premio-ai/TheArabicPile_Reviews
33
+ 5. premio-ai/TheArabicPile_Dialects
34
+ 6. premio-ai/TheArabicPile_Mathematics
35
+ 7. premio-ai/TheArabicPile_Conversational
36
+ 8. premio-ai/TheArabicPile_Articles
37
+ 9. premio-ai/TheArabicPile_Poetry
38
+ 10. premio-ai/TheArabicPile_Medical
39
+ 11. premio-ai/TheArabicPile_Miscellaneous
40
+ 12. premio-ai/TheArabicPile_SocialMedia
41
+ 13. premio-ai/TheArabicPile_Translations
42
+ 14. premio-ai/TheArabicPile_Books
43
+
44
+ These subsets serve distinct purposes, ranging from mathematical content to conversational dialogue, medical texts, and more. Notably, there's a dedicated subset, "premio-ai/TheArabicPile_SocialMedia," emphasizing the inclusion of language commonly found in social media contexts.
45
+
46
+ ## Dataset Description
47
+ * Curated by: Premio.AI team
48
+ * Language(s) (NLP): Arabic, multiple languages on the translation dataset.
49
+ * License: CC BY-NC 4.0 Deed - Non Commercial.
50
+ * For any commercial uses or licensing, please contact mo@premio.ai.
51
+
52
+
53
+ ## Data Structure
54
+ The datasets are divided into two main subsets:
55
+ 1. Original Subset: The raw data as collected from sources, without modifications.
56
+ 2. Deduplication Subset: A filtered and cleaned version, enhancing usability for large language models by reducing redundancy and noise.
57
+ The Arabic Pile extends an invitation not only for training and fine-tuning large language models but also for diverse applications across linguistic domains. Whether for research, analysis, or other linguistic endeavors, The Arabic Pile stands as a rich resource for the exploration of Arabic language intricacies.
58
+
59
+ ## Data Collection
60
+ Please refer to the paper for more details on our data collection procedures.
61
+
62
+ ## Data Format
63
+ The dataset has one single column called text. The text should contain the required meta data and the body combined. This was done to make sure that it will be a good fit for direct training or fine-tuning of large language models.
64
+
65
+ Please note that the meta data might require to be repeated if your training context window won’t fit the entire body of text.
66
+
67
+ ## Potential Bias
68
+ As with any large-scale dataset, The Arabic Pile is not immune to potential biases that may influence the training and performance of language models. It's crucial to transparently address these biases to ensure responsible usage and interpretation of the dataset. Here are some considerations:
69
+ 1. Dialectal Imbalance: The dataset incorporates various Arabic dialects, with a focus on Levantine, North African, and Egyptian variants. However, there might be variations in the representation of these dialects, potentially leading to an imbalance in the training data.
70
+ 2. Source Influence: Bias may arise from the sources of the original data. The dataset collects information from diverse platforms and domains, and biases inherent in those sources could transfer to the dataset.
71
+ 3. Social Media Context: Some of our datasets have language from social media platforms and online platforms. This subset may introduce biases inherent in online discourse, such as informal language, colloquial expressions, and potential subjectivity in politics, religion or culture.
72
+ 4. Genre and Domain Bias: Different subsets cater to distinct linguistic domains, such as medical texts, poetry, reviews, and more. Each domain carries its own linguistic characteristics, potentially leading to biases based on the genres represented.
73
+
74
+ ## License Information for The Arabic Pile: No Commercial Use
75
+
76
+ The Arabic Pile is released under the Creative Commons Attribution-NonCommercial 4.0 International License (CC BY-NC 4.0). This license is designed to facilitate the open sharing and collaboration of the dataset while ensuring responsible and non-commercial usage.
77
+ Key Points of the License:
78
+ * Attribution (BY): Users are free to share, adapt, and build upon the dataset, even commercially, as long as they provide appropriate attribution to the dataset creators.
79
+ * Non-Commercial (NC): The dataset may not be used for commercial purposes. Any use for commercial gain requires explicit permission from the dataset creators.
80
+ * No Additional Restrictions: The license allows for maximum freedom of use, provided the terms of attribution and non-commercial use are adhered to.
81
+ How to Cite: When using The Arabic Pile in your work, please include a proper citation to acknowledge the dataset creators. A recommended citation can be found in the model card for easy reference.
82
+ License Deed: For a comprehensive understanding of the terms and conditions, please refer to the CC BY-NC 4.0 License Deed.
83
+ By adopting this license, we aim to foster a collaborative and open environment for the exploration and advancement of Arabic language understanding and natural language processing.
84
+
85
+ ## Citation
86
+ When utilizing The Arabic Pile in your research, development, or other projects, we kindly request that you cite the dataset using the following format:
87
+
88
+ @article{alrefaie2024arabicpile,
89
+ author = {Mohamed Taher Alrefaie, Mahmoud Ibrahim Barbary, Ahmed Yasser Hassanein, Shiref Khaled Elhalawany, Karim Ashraf Elsayed, Ahmed Yasser },
90
+ title = {The Arabic Pile: A Large Scale Dataset of Diverse Text for Large Language Modeling},
91
+ year = {2024},
92
+ url = {https://huggingface.co/datasets/premio-ai/TheArabicPile}
93
+ }
94
+
95
+