CoolFace
Datasetpublic

AdaMLLab/AraMix

AraMix family: AraMix (minhash and matched) | AraMix-domain-classified (with domain labels) | AraMix-HQ (model-filtered) AraMix (https://arxiv.org/abs/2512.18834) is an Arabic pretraining corpus containing 178 billion tokens across 179 million documents (in the minhash subset). Rather than scraping the web again, AraMix combines seven publicly available Arabic datasets, applies Arabic-specific quality filtering, and performs cross-dataset deduplication. We train a 1.4B… See the full description on the dataset page: https://huggingface.co/datasets/AdaMLLab/AraMix.

sourceHugging Faceotherupdated 8mo agoView on Hugging Face
7likes1.2kdownloads
Dataset Card

<img src="https://huggingface.co/datasets/AdaMLLab/AraMix/resolve/main/finetasksarabicmain_results.png" width="900" alt="Finetasks benchmark scores, showing AraMix-Matched as SOTA.">

<p align="center"> <a href="https://huggingface.co/collections/AdaMLLab/mixminmatch"> <img src="https://img.shields.io/badge/🤗_Collection-MixMinMatch-blue" alt="MixMinMatch Collection"> </a> </p>

AraMix family: AraMix (minhash and matched) | AraMix-domain-classified (with domain labels) | AraMix-HQ (model-filtered)

AraMix (https://arxiv.org/abs/2512.18834) is an Arabic pretraining corpus containing 178 billion tokens across 179 million documents (in the minhash subset). Rather than scraping the web again, AraMix combines seven publicly available Arabic datasets, applies Arabic-specific quality filtering, and performs cross-dataset deduplication.

We train a 1.4B parameter language model through nanotron on 30 billion tokens to show that the matched subset of AraMix, outperforms the previous state-of-the-art model-free approach, arabicweb24 (see Appendix A9 in the Fineweb-2 paper). Furthermore, the minhash_deduped subset performs on-par with nearly 5 times the total number of tokens.

AraMix-Matched also outperforms the previous state-of-the-art model-based approach in pretraining dataset curation, FineWeb2-HQ, while being completely model-free and having significantly more tokens.

Subsets

SubsetDocumentsTokensDescription
sentence_deduped167.6M158.8BMinHash + sentence-level deduplication
minhash_deduped178.9M177.8BDocument-level MinHash deduplication only
matched47.9M54.1BDocuments appearing in 2+ source datasets

The matched subset uses cross-dataset agreement as a signal for quality.

Usage

python
from datasets import load_dataset

ds = load_dataset("AdaMLLab/AraMix", "sentence_deduped")
ds = load_dataset("AdaMLLab/AraMix", "minhash_deduped")
ds = load_dataset("AdaMLLab/AraMix", "matched")

Sources

Tokens were counted using meta-llama/Llama-3.2-3B's tokenizer

SourceTokens (Before)Tokens (MinHash + Quality Filter)Tokens (Sent-Dedup)
CulturaX87.4B (19.8%)42.1B (23.7%)38.4B (24.2%)
ArabicWeb2440.7B (9.2%)35.4B (19.9%)31.6B (19.9%)
HPLT 2.0108.4B (24.5%)34.7B (19.5%)30.4B (19.1%)
FineWeb-267.2B (15.2%)27.5B (15.5%)24.2B (15.2%)
C459.2B (13.4%)22.5B (12.7%)20.4B (12.9%)
101B / ClusterLab49.9B (11.3%)9.5B (5.3%)7.7B (4.8%)
FinePDFs29.7B (6.7%)6.3B (3.5%)6.1B (3.8%)
Total442.5B (100%)177.8B (100%)158.8B (100%)

Pipeline

  1. 1.Quality filtering with Arabic-specific thresholds (terminal punctuation, repetition patterns, script ratio)
  2. 2.Document-level MinHash deduplication (5-gram shingles, 14 bands, 8 hashes per bucket)
  3. 3.Sentence-level deduplication (3-sentence spans, minimum 3 occurrences)

Citation

bib
@misc{alrashed2025mixminmatch,
      title={Mix, MinHash, and Match: Cross-Source Agreement for Multilingual Pretraining Datasets}, 
      author={Sultan Alrashed and Francesco Orabona},
      year={2025},
      eprint={2512.18834v2},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2512.18834v2}, 
}

License

See individual source dataset licenses.