File size: 2,600 Bytes
f001f11 aa33db0 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 |
---
dataset_info:
features:
- name: text
dtype: string
- name: prediction
struct:
- name: prediction_confidence
dtype: float64
- name: prediction_label
dtype: string
splits:
- name: train
num_bytes: 5595607628.85211
num_examples: 21420806
download_size: 2351016812
dataset_size: 5595607628.85211
configs:
- config_name: default
data_files:
- split: train
path: data/train-*
---
# 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'
}
} |