Upload dataset
Browse files# Moroccan Darija Dataset (Filtered from FineWeb2)
This dataset contains Moroccan Darija samples extracted from the [FineWeb2](https://huggingface.co/datasets/Omartificial-Intelligence-Space/FineWeb2-Moroccan-Arabic) dataset.
The extraction was performed using a [custom model](https://huggingface.co/atlasia/SfaIA-Arabic-Dialect-Identifier/tree/main/) trained to classify Arabic dialects, including Moroccan Darija (here we used the version `model_binary_v3_1fpr.bin`).
Here, we kept samples with a high confidence score (above 0.6) for Moroccan Darija.
This dataset aims to advance research and development in Moroccan Darija NLP tasks.
---
## Dataset Description
Moroccan Darija, a widely spoken Arabic dialect in Morocco, is underrepresented in NLP resources. This dataset fills that gap by filtering FineWeb2 using an advanced classifier designed to accurately identify Moroccan Darija text. The resulting dataset is a valuable resource for tasks such as:
- Language modeling
- Sentiment analysis
- Machine translation
- Dialectal classification
---
## Extraction Methodology
1. **Base Dataset**: FineWeb2, a large-scale multilingual web dataset.
1. **First extraction using GlotLID**: [A version](https://huggingface.co/datasets/Omartificial-Intelligence-Space/FineWeb2-Moroccan-Arabic) with extraction using GlotLID.
2. **SfaIA Model**: A fasttext model trained to identify Arabic dialects, including Moroccan Darija with better performances than GlotLID.
3. **Pipeline**:
- Text samples from the [dataset](https://huggingface.co/datasets/Omartificial-Intelligence-Space/FineWeb2-Moroccan-Arabic) were passed through the SfaIA classifier.
- Only samples with a high confidence score (above 0.6) for Moroccan Darija were retained.
---
## Dataset Structure
- `text`: The raw text sample in Moroccan Darija.
- `prediction`:
- `prediction_confidence`: Model confidence score for each sample.
- `prediction_label`: Model predicted label.
Example entry:
```json
{
"text": "السلام عليكم، كيف دايرين؟",
"prediction": {
'prediction_confidence': 0.652466607093811,
'prediction_label': 'Morocco'
}
}
- README.md +23 -0
- data/train-00000-of-00015.parquet +3 -0
- data/train-00001-of-00015.parquet +3 -0
- data/train-00002-of-00015.parquet +3 -0
- data/train-00003-of-00015.parquet +3 -0
- data/train-00004-of-00015.parquet +3 -0
- data/train-00005-of-00015.parquet +3 -0
- data/train-00006-of-00015.parquet +3 -0
- data/train-00007-of-00015.parquet +3 -0
- data/train-00008-of-00015.parquet +3 -0
- data/train-00009-of-00015.parquet +3 -0
- data/train-00010-of-00015.parquet +3 -0
- data/train-00011-of-00015.parquet +3 -0
- data/train-00012-of-00015.parquet +3 -0
- data/train-00013-of-00015.parquet +3 -0
- data/train-00014-of-00015.parquet +3 -0
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
dataset_info:
|
3 |
+
features:
|
4 |
+
- name: text
|
5 |
+
dtype: string
|
6 |
+
- name: prediction
|
7 |
+
struct:
|
8 |
+
- name: prediction_confidence
|
9 |
+
dtype: float64
|
10 |
+
- name: prediction_label
|
11 |
+
dtype: string
|
12 |
+
splits:
|
13 |
+
- name: train
|
14 |
+
num_bytes: 7436938915.663112
|
15 |
+
num_examples: 28469692
|
16 |
+
download_size: 3479461701
|
17 |
+
dataset_size: 7436938915.663112
|
18 |
+
configs:
|
19 |
+
- config_name: default
|
20 |
+
data_files:
|
21 |
+
- split: train
|
22 |
+
path: data/train-*
|
23 |
+
---
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f5df15c44f89bd2f7af5e87f0dfbe416984fcedc8bc9217f310c7fd307eb548f
|
3 |
+
size 271319272
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7744fea5e071123b37faf90b7b4f0a4d0500a23a5196b46e0b28500d45060f89
|
3 |
+
size 269343770
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c927d9d225c1603f5f71010c1fb0da68fea478cec53ac302bdc41b878f7c8668
|
3 |
+
size 265951424
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a6f427475c4f8ce955663cc6fe6ff6d1edb8fe8b57330d69f9f4e5be9bc4c54f
|
3 |
+
size 262444124
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ab8153b1a46dc704145ba5fb5f64b9dfc8edeec6310ce362e6cc70bd09ad5e3e
|
3 |
+
size 259641261
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:180031b9e5bbc84a5da32a7e30f04498f4427cb92ebdd5577b8f0c2e0e68b652
|
3 |
+
size 255751877
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a3e35be39e6da133821d98851804577086591962125edea11e217c7042745882
|
3 |
+
size 252447894
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:219dc5a0db588a8cc1f426abed20c0720d88cd972e9fcab02b89a77e3942f37c
|
3 |
+
size 249437926
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b35c312c24fb1d13aae0bdd0d4d1167b265a396c1b55dd3f528a760619ab5bef
|
3 |
+
size 246484580
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1a6b5f441d087d4ee44f93e3001ca608aa34fa18fa51808774a4bb684e4eb328
|
3 |
+
size 241108358
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1c25625ab90c60d3e3c63acfddc45204202427966575cdcdc4ee38ab6c3b2b82
|
3 |
+
size 239224848
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7577f0506247d519e9af8fd765f0ae10bea9a88272d922e918dd3119d8859987
|
3 |
+
size 235963072
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5d3b4729ac51509142fb2bd2f634ca9c3d3bbb2027d97a0c07292b5a72278b84
|
3 |
+
size 204320330
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:85c923b329267ab859a150c8b530ee96c847b4a7c07b36e0af0520e8c246e84f
|
3 |
+
size 117537042
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:664a99ea1eed9d4f386a70262851c27619773c8f1a44c5f82860fa768b4a5ab8
|
3 |
+
size 108485923
|