fine-tune 0 0 0

Prickly-Labs/1.9M-Egyptian-Corpus

published by @Prickly-Labs

Alignment dataset tracked in the /datasets sub-catalog.

Lifetime downloads
485
Last 30 days
82
Likes
2
Size
617.7 MB
Created on HF
2026-04-16
Age
6 months ago

Description

1.92M Egyptian Arabic Corpus πŸ‡ͺπŸ‡¬ β€” Prickly Labs

A corpus of 1.92 million Egyptian Arabic samples combining synthetic generation and real web data, built for continued pretraining and dialect adaptation of Arabic language models. Designed to reflect how Egyptians actually speak β€” not textbook MSA.

⚠️ This dataset contains uncensored, informal Arabic including sarcasm, humor, slang, and profanity. Use with care for public-facing applications.

πŸ“Œ Overview… See the full description on the dataset page: https://huggingface.co/datasets/Prickly-Labs/1.9M-Egyptian-Corpus.

Tags

task_categories:text-generationlanguage:arlicense:cc-by-sa-4.0size_categories:1M<n<10Mformat:parquetformat:optimized-parquetmodality:textlibrary:datasetslibrary:dasklibrary:polarslibrary:mlcroissantregion:us

README current version from Hugging Face


dataset_info:
features:

  • name: text
    dtype: string
    splits:
  • name: train
    num_bytes: 1347332093
    num_examples: 1922049
    download_size: 647712671
    dataset_size: 1347332093
    configs:
  • config_name: default
    data_files:
    • split: train
      path: data/train-*
      task_categories:
  • text-generation
    language:
  • ar
    size_categories:
  • 1M<n<10M
    license: cc-by-sa-4.0

1.92M Egyptian Arabic Corpus πŸ‡ͺπŸ‡¬ β€” Prickly Labs

A corpus of 1.92 million Egyptian Arabic samples combining synthetic generation and real web data, built for continued pretraining and dialect adaptation of Arabic language models. Designed to reflect how Egyptians actually speak β€” not textbook MSA.

⚠️ This dataset contains uncensored, informal Arabic including sarcasm, humor, slang, and profanity. Use with care for public-facing applications.


πŸ“Œ Overview

Property Value
Samples 1,922,049
Language Egyptian Arabic (ΨΉΨ§Ω…ΩŠΨ© Ω…Ψ΅Ψ±ΩŠΨ©)
Script Arabic (no tashkeel, normalized alef)
Use Cases Continued pretraining (CPT), dialectal pre-SFT, informal Arabic modeling, ChatML finetuning
Sources Synthetic (Gemini API, LearnLM) + Reddit scrape (Egyptian subreddits)
License CC BY-SA 4.0

πŸ—‚οΈ Data Sources

Synthetic β€” majority of corpus

Generated using a custom multi-worker pipeline built on the Gemini API. The pipeline randomized topics, tones, and prompt structures across parallel instances to maximize variety. A significant portion of the synthetic data was generated as structured multi-turn dialogues and converted to ChatML format via regex extraction before being flattened into plain text for this release.

Reddit scrape β€” minority of corpus

Scraped from Egyptian Arabic subreddits over approximately one week of daily collection runs. Provides authentic, unscripted dialect and slang that synthetic generation cannot fully replicate.


πŸ”§ Preprocessing

This corpus went through several rounds of filtering and cleaning:

  • Deduplication applied per source batch and again after merging β€” Gemini outputs at scale produce significant repetition which was aggressively removed

  • Language filtering β€” any sample with more than ~40% non-Arabic characters was removed

  • Character filtering β€” samples containing non-Arabic scripts were dropped

  • Emoji filtering β€” emoji-only or emoji-heavy samples removed

  • Tashkeel removal β€” all Arabic diacritics stripped to reduce tokenizer vocabulary noise

  • Alef normalization β€” أ، Ψ₯، Ψ’ all normalized to Ψ§ for tokenizer consistency

  • Manual fixes β€” early batches required character-level corrections before scripted filtering was in place

  • Loop filtering β€” samples with repeating chunks (a known Gemini API artifact at scale) were detected and removed; approximately 20,000 samples removed in this pass

Approximately 300,000 samples were lost across filtering passes. The final 1.92M represents what survived all stages.


πŸ“‚ Format

File type: .parquet

Structure:

{"text": "..."}

Load with Hugging Face Datasets:

from datasets import load_dataset

dataset = load_dataset("Prickly-Labs/1.9M-Egyptian-Corpus", split="train")

Supports streaming:

dataset = load_dataset("Prickly-Labs/1.9M-Egyptian-Corpus", split="train", streaming=True)

⚠️ Known Limitations

  • Topic distribution β€” synthetic portion skews toward informational and explanatory content due to prompt design; conversational and narrative registers are present but less dominant
  • Alef normalization β€” Ψ£ / Ψ₯ / Ψ’ collapsed to Ψ§ loses some orthographic disambiguation; models trained on this data will inherit that normalization
  • No tashkeel β€” not suitable as-is for tasks requiring fully vocalized Arabic
  • Synthetic artifacts β€” despite deduplication, synthetic data may carry subtle repetition patterns in phrasing or structure
  • Mixed register β€” Reddit portion introduces some MSA and mixed Arabic-dialect text alongside pure Egyptian dialect

πŸ› οΈ Built By

Ahmed Sherief β€” Founder of Prickly Labs, designed and built the generation pipeline, scraping infrastructure, and all filtering and preprocessing scripts.

These contributors ran generation workers on their own machines and helped accelerate the data collection process:

  • Mohamed Hafez
  • Moaaz Saad

πŸ“œ License

Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)

You are free to use, share, and adapt this dataset for any purpose including commercial use, provided that:

  • You give appropriate credit to Prickly Labs
  • Any models or datasets derived from this work are released under the same CC BY-SA 4.0 license

β†’ https://creativecommons.org/licenses/by-sa/4.0/


πŸ§ͺ About Prickly Labs

Prickly Labs builds emotionally grounded, culturally fluent Arabic AI β€” crafted by Arabs, for Arabs.
We believe language models should reflect how people truly speak, not just textbook MSA.

β†’ https://huggingface.co/Prickly-Labs

README history 3 revisions

Every night we snapshot the README of every dataset in the catalog. When the SHA changes we archive the new version and diff it against the last. This is the evolving thought record of the alignment-data field: what the author decided to say about the corpus, and how that framing shifted over time.

  1. 2026-04-16Update README.md0dc71245 KB
    Loading...
  2. 2026-04-16Upload dataset6c72b4f285 B
    Loading...
  3. 2026-04-16initial commit469c7590 B
    Loading...

Used by abliterated models none yet

No abliterated models in our catalog have declared this dataset in their YAML metadata yet. This can mean the dataset is used but not declared, is used outside abliteration workflows, or is new. The link will populate automatically as models are indexed.

Community discussions 2 threads Β· 2 open Β· 3 comments

Threads posted by the community on Hugging Face: bug reports, questions about usage, pull requests on the README, license clarifications. Click any thread to expand and read the full conversation inline. Newest first.

  1. 2026-10-11Sub-Corporaopen2 πŸ’¬#2
    Loading...
  2. 2026-04-17[bot] Conversion to Parquetopen1 πŸ’¬#1
    Loading...

Related datasets same stage Β· fine-tune

Read further

Metadata

License
cc-by-sa-4.0

Repository

Download the dataset

0

Copy any of these snippets into your notebook or terminal. All three fetch directly from Hugging Face using your own credentials.

Recommended: datasets library (Python)
from datasets import load_dataset
ds = load_dataset("Prickly-Labs/1.9M-Egyptian-Corpus")
Raw snapshot (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="Prickly-Labs/1.9M-Egyptian-Corpus", repo_type="dataset")
git clone (requires git-lfs)
git clone https://huggingface.co/datasets/Prickly-Labs/1.9M-Egyptian-Corpus
Catalog is the map. Apps are the tools.

Run models on your own machine, not in the cloud.

Every model page has an "Open in Abliteration" button that hands the model directly to the first-party desktop client, at the quantization your rig can actually run. No API keys, no subscription, no prompt leakage.

Open in Abliteration