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.9) 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.9) 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.952466607093811,
'prediction_label': 'Morocco'
}
}
- README.md +23 -0
- data/train-00000-of-00012.parquet +3 -0
- data/train-00001-of-00012.parquet +3 -0
- data/train-00002-of-00012.parquet +3 -0
- data/train-00003-of-00012.parquet +3 -0
- data/train-00004-of-00012.parquet +3 -0
- data/train-00005-of-00012.parquet +3 -0
- data/train-00006-of-00012.parquet +3 -0
- data/train-00007-of-00012.parquet +3 -0
- data/train-00008-of-00012.parquet +3 -0
- data/train-00009-of-00012.parquet +3 -0
- data/train-00010-of-00012.parquet +3 -0
- data/train-00011-of-00012.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: 5595607628.85211
|
15 |
+
num_examples: 21420806
|
16 |
+
download_size: 2351016812
|
17 |
+
dataset_size: 5595607628.85211
|
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:075404d753d2420b1edf8c9d601f83d6ec2db29af53a52affee8b2f2cffb6470
|
3 |
+
size 230041202
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2d19b723f79df138574551f4a97b44a4085c92e3dec7764b62dba97abf0b1c47
|
3 |
+
size 227379382
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:44df6ec62a3d825c6ed30a5b7e5f094bc425612675152b97fa09a17a3c9ff2b2
|
3 |
+
size 223701101
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f56ca1f4cae14af398877edfdaebbd437916819b237da982ab1173c45f0e2395
|
3 |
+
size 220146552
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6d2002be0d263a5a4bc29ab65e9a8ecf29c35a7922dd581442ca487eb3129c7e
|
3 |
+
size 216524791
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:751de5bc60e9055d189594ec9b8dab98e7ffa40d1f9439376831a57287f2fce7
|
3 |
+
size 213088438
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3d28e0b382fcbc140681f5706675d2fc1ee7a96805c27f36b0f7e3cfdb6fd693
|
3 |
+
size 209048538
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4a5ec05b965d1d9b49bcc87a8849a02fd24eedc0b2fa2dade82e55ac1084ab27
|
3 |
+
size 204176470
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:75b047ffbbf550c153ab492f6469598236353a62ed29ec19abb7a9b7f0cd08b7
|
3 |
+
size 200899661
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:aab230acb8be8e689050c6e4283025dc60a99d637c2f5d12b2e759d8e1e90d26
|
3 |
+
size 196864104
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3370bb4233f28a6c3913dcb81f68244abf49a333ec8c2838d40ac81b21fa092d
|
3 |
+
size 112691473
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e43517c0badc67b6ed86bfd9e00bc8d987c886ec135b1872a6ba7a723fd6314e
|
3 |
+
size 96455100
|