Dataset Viewer
Duplicate
The dataset viewer is not available for this split.
Cannot load the dataset split (in streaming mode) to extract the first rows.
Error code:   StreamingRowsError
Exception:    CastError
Message:      Couldn't cast
question_code: string
category: string
subcategory: string
question_text: string
answer_text: string
response_time_ms: int64
quality_score: int64
country: string
answered_at: string
quality_grade: string
speaker_hash: string
text: null
dialect_group: null
msa_text: null
context: null
to
{'text': Value('string'), 'category': Value('string'), 'country': Value('string'), 'dialect_group': Value('string'), 'quality_score': Value('int32'), 'msa_text': Value('string'), 'context': Value('string'), 'speaker_hash': Value('string')}
because column names don't match
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/src/worker/utils.py", line 99, in get_rows_or_raise
                  return get_rows(
                         ^^^^^^^^^
                File "/src/libs/libcommon/src/libcommon/utils.py", line 272, in decorator
                  return func(*args, **kwargs)
                         ^^^^^^^^^^^^^^^^^^^^^
                File "/src/services/worker/src/worker/utils.py", line 77, in get_rows
                  rows_plus_one = list(itertools.islice(ds, rows_max_number + 1))
                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2543, in __iter__
                  for key, example in ex_iterable:
                                      ^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2060, in __iter__
                  for key, pa_table in self._iter_arrow():
                                       ^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2092, in _iter_arrow
                  pa_table = cast_table_to_features(pa_table, self.features)
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2192, in cast_table_to_features
                  raise CastError(
              datasets.table.CastError: Couldn't cast
              question_code: string
              category: string
              subcategory: string
              question_text: string
              answer_text: string
              response_time_ms: int64
              quality_score: int64
              country: string
              answered_at: string
              quality_grade: string
              speaker_hash: string
              text: null
              dialect_group: null
              msa_text: null
              context: null
              to
              {'text': Value('string'), 'category': Value('string'), 'country': Value('string'), 'dialect_group': Value('string'), 'quality_score': Value('int32'), 'msa_text': Value('string'), 'context': Value('string'), 'speaker_hash': Value('string')}
              because column names don't match

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

๐Ÿ›ก๏ธ ArSyra Content Moderation โ€” Arabic Safety Dataset

Moving Arabic content moderation beyond MSA-only approaches.



Dataset Summary

Training data for Arabic content moderation and online safety systems. Combines taboo content with cultural context labels, sentiment-annotated text for toxicity detection, quality control annotations for reliability scoring, and informal slang that often triggers false positives in rule-based filters.

Covers the nuanced spectrum of Arabic content that automated moderation systems frequently misclassify โ€” including dialect-specific expressions, culturally contextual language, and code-switched content. Designed for teams building Arabic content moderation at scale.

Statistic Value
Total Records 5,238
Linguistic Categories 4
Countries Represented 16 (Tunisia, Syria, EU, Egypt, Saudi Arabia, Morocco, Algeria, Iraq, Jordan, Lebanon, UAE, Sudan, Yemen, Libya, Kuwait, Palestine)
Dialect Groups 7 (Maghrebi, Levantine, Egyptian, Gulf, Iraqi, Sudanese, Other)
Average Quality Score 79.1/100
License Commercial
Last Updated 2026-02-21

How ArSyra Compares to Existing Arabic Datasets

Dataset Records Dialects Countries Categories Crowdsourced MSAโ†”Dialect Pairs
ArSyra (arsyra-content-mod) 5,238 7 16 4 โœ… โœ…
NADI (shared task) ~20K 4 21 1 โŒ (Twitter) โŒ
MADAR ~12K 6 25 1 โœ… (paid) โœ…
AOC (Arabic Online Commentary) ~100K โ€” โ€” 3 โŒ (scraped) โŒ
DART (Dialect Arabic) ~25K 5 โ€” 1 โŒ (Twitter) โŒ
ArSentD-LEV ~4K 1 4 1 โŒ (Twitter) โŒ

ArSyra's advantages: Authentic native-speaker data (not scraped), multi-category structure, parallel MSAโ†”dialect text, quality scored, and continuously growing.

Related ArSyra Datasets

Explore our other specialized Arabic dialect datasets:

Browse all datasets: huggingface.co/ArSyra | arsyra.com/datasets.html

Supported Tasks

  • Text Classification โ€” Train classifiers for dialect identification, sentiment analysis, and content categorization.
  • Text Generation โ€” Fine-tune language models to generate authentic dialectal Arabic text.

Languages

Primary Language: Arabic (ar)

This dataset contains text in Modern Standard Arabic (MSA) and the following regional dialect groups: Maghrebi, Levantine, Egyptian, Gulf, Iraqi, Sudanese, Other. Country-level dialect codes: ar-TN, ar-SY, ar-EU, ar-EG, ar-SA, ar-MA, ar-DZ, ar-IQ, ar-JO, ar-LB, ar-AE, ar-SD, ar-YE, ar-LY, ar-KW, ar-PS.


Dataset Structure

Data Instances

Each record represents a single response from a verified native Arabic speaker to a structured linguistic prompt:

{
  "question_code": "TB-0035",
  "category": "taboo",
  "subcategory": "sexual",
  "question_text": "ูƒูŠู ุชู‚ูˆู„ \"ุฎูŠุงู†ุฉ ุฒูˆุฌูŠุฉ\" ุจู„ู‡ุฌุชูƒุŸ",
  "answer_text": "ุฎูŠุงู†ู‡ ุฒูˆุฌูŠุฉ",
  "response_time_ms": 31788,
  "quality_score": 100,
  "country": "TN",
  "answered_at": "2026-02-17T21:02:40.042Z",
  "quality_grade": "A",
  "speaker_hash": "anon-d2ViLTE3"
}

Data Fields

Field Type Description
text string The Arabic text content โ€” may be in dialect, MSA, or a mix
category string Linguistic category (e.g., dialect, proverbs, sentiment, conversation_pairs)
country string ISO 3166-1 alpha-2 country code of the speaker (e.g., EG, SA, MA)
dialect_group string Broad dialect group: egyptian, levantine, gulf, maghrebi, iraqi, or sudanese
quality_score int Human-assigned quality rating from 0 to 100
msa_text string Modern Standard Arabic equivalent (where available)
context string Additional context about the prompt or response
speaker_hash string Anonymized speaker identifier

Data Splits

Split Examples
train 5,238

Note: A single train split is provided. We recommend creating your own train/validation/test splits based on your use case. For dialect-fair evaluation, stratify by country or dialect_group.

Category Breakdown

Category Records % of Total
slang 2,392 45.7%
taboo 1,827 34.9%
sentiment 719 13.7%
control 300 5.7%

Dataset Creation

Curation Rationale

Arabic content moderation is plagued by high false-positive rates because most systems are trained on MSA and misinterpret dialectal expressions. Harmless Gulf slang gets flagged as offensive, while genuinely toxic Maghrebi content slips through. This dataset provides the dialectally-diverse training data needed to build accurate Arabic moderation at scale.

Source Data

Initial Data Collection and Normalization

Data was collected through the ArSyra platform (arsyra.com), a gamified crowdsourcing system where verified native Arabic speakers answer structured linguistic prompts about their dialect. The platform:

  1. Verifies speakers through phone number verification (region-specific) and language verification questions
  2. Presents structured prompts across multiple linguistic categories: dialect translations, conversation pairs, proverbs, slang, code-switching, sentiment expressions, instruction following, formality registers, and more
  3. Gamifies collection through points, leaderboards, and incentive systems to maintain engagement and data quality
  4. Automatically enriches responses with metadata: country, dialect group, category, and quality indicators

Who are the source language producers?

Native Arabic speakers from 16 countries across the Arab world (Tunisia, Syria, EU, Egypt, Saudi Arabia, Morocco, Algeria, Iraq, Jordan, Lebanon, UAE, Sudan, Yemen, Libya, Kuwait, Palestine), participating voluntarily through the ArSyra platform. Speakers represent diverse demographics including age groups, education levels, and urban/rural backgrounds.

Annotations

Annotation Process

Each response receives:

  • Automatic quality scoring based on response length, character set validation, and consistency checks
  • Category labeling derived from the prompt type
  • Dialect group classification based on the speaker's registered country
  • Cross-speaker validation where multiple speakers from the same region answer the same prompts

Who are the annotators?

The primary "annotators" are the native speakers themselves, who provide dialectal data along with structured metadata. Quality scoring is automated. No external annotators are used for labeling.

Personal and Sensitive Information

  • All speaker identifiers are anonymized โ€” original user IDs are replaced with non-reversible hashed identifiers
  • No personally identifiable information (names, locations, phone numbers) is included
  • Taboo and sensitive content (where present) is clearly labeled by category
  • Speakers provided informed consent during registration for their anonymized data to be used for research

Considerations for Using the Data

Social Impact

This dataset contributes to Arabic NLP equity by providing training data for the dialects actually spoken by 400+ million people. Most existing Arabic NLP resources focus exclusively on Modern Standard Arabic, which is no one's native language. By bridging this gap, ArSyra helps ensure that Arabic-speaking populations benefit equally from advances in language technology.

Discussion of Biases

Known biases to consider:

  1. Platform access bias โ€” Contributors need internet access and a smartphone, potentially underrepresenting older, rural, or lower-income speakers
  2. Country representation โ€” Some countries may be overrepresented depending on recruitment channels
  3. Urban bias โ€” Online populations tend to be more urban, potentially underrepresenting rural dialect variants
  4. Literacy bias โ€” Written responses may differ from purely spoken dialect, as speakers may unconsciously shift toward MSA
  5. Self-selection bias โ€” Voluntary participants may not represent the full demographic spectrum

Other Known Limitations

  • Written approximations โ€” Dialectal Arabic has limited standardized orthography; spelling varies across speakers
  • Prompt influence โ€” Structured prompts may elicit more formal responses than spontaneous speech
  • Quality variation โ€” Despite quality scoring, some responses may be lower quality
  • Temporal snapshot โ€” Language evolves; slang and expressions may become dated over time

Additional Information

Use Cases

  • Training Arabic content moderation classifiers
  • Building toxicity detection for Arabic social media
  • Reducing false positives in dialect-heavy content
  • Trust & safety systems for Arabic-speaking markets

Get the Full Dataset

This repository contains a preview sample of 50 records out of 5,238 total. Purchase the full dataset instantly at arsyra.com/datasets.html

Pricing

Preview (this repo) 50 sample records โ€” free to download and evaluate
Full Dataset 5,238 records โ€” instant download after purchase
Academic License From $29 โ€” for research and non-commercial use
Commercial License From $99 โ€” for products, SaaS, and enterprise use

๐Ÿ›’ Buy Now โ†’

What you get with the full dataset:

  • All 5,238 quality-filtered records
  • Per-category JSONL splits for easy loading
  • Instant download as ZIP after payment
  • Regular updates as our community grows
  • Priority support for integration questions

Questions? Email support@arsyra.com


Quick Start

from datasets import load_dataset

# Load the preview sample
dataset = load_dataset("ArSyra/arsyra-content-mod")
print(f"Preview: {len(dataset['train'])} sample records")

# Browse examples
for example in dataset["train"].select(range(5)):
    print(f"{example['country']} ({example['dialect_group']}): {example['text'][:80]}...")

# For the full dataset (5,238 records), visit: https://arsyra.com/datasets.html

Licensing Information

This dataset is available under a Commercial license. Purchase access โ†’ or email support@arsyra.com for custom licensing.

Citation Information

If you use this dataset in your research, please cite:

@dataset{arsyra_arsyra_content_mod_2026,
  title     = {ArSyra Content Moderation โ€” Arabic Safety Dataset},
  author    = {{ArSyra Team}},
  year      = {2026},
  url       = {https://huggingface.co/datasets/ArSyra/arsyra-content-mod},
  publisher = {HuggingFace},
  license   = {Commercial},
  note      = {Crowdsourced Arabic dialect dataset with 5,238 records from 16 countries}
}

Contributions

Thanks to the Arabic-speaking community who contributed their dialectal knowledge through the ArSyra platform. To contribute, visit arsyra.com.


Dataset card generated by the ArSyra Publish Pipeline. Last updated: 2026-02-21.

Downloads last month
17