extract 0 0 0

d12o6aa/ArabGuard-Egyptian-V1

published by @d12o6aa

Alignment dataset tracked in the /datasets sub-catalog.

Lifetime downloads
445
Last 30 days
80
Likes
5
Size
1.1 MB
Created on HF
2026-02-04
Age
8 months ago

Description

πŸ›‘οΈ ArabGuard-v1: Adversarial Dialectal Dataset for LLM Safety

ArabGuard-v1 is a specialized, manually curated benchmark designed to evaluate and enhance the robustness of Large Language Models (LLMs) against Prompt Injection and Jailbreaking attacks, specifically focusing on the Egyptian Dialect and Franco-Arabic.

πŸ“Œ Overview

Global safety guardrails often exhibit a "Linguistic Blind Spot" when faced with local cultural nuances, slang, or code-switching.… See the full description on the dataset page: https://huggingface.co/datasets/d12o6aa/ArabGuard-Egyptian-V1.

Tags

task_categories:text-classificationlanguage:arlanguage:enlicense:apache-2.0region:ussafetyprompt-injectionegyptian-dialectcybersecurityjailbreak

README current version from Hugging Face


license: apache-2.0
task_categories:

  • text-classification
    language:
  • ar
  • en
    pretty_name: ArabGuard-v1
    size_categories:
  • 1K-10K
    tags:
  • safety
  • prompt-injection
  • egyptian-dialect
  • cybersecurity
  • jailbreak

πŸ›‘οΈ ArabGuard-v1: Adversarial Dialectal Dataset for LLM Safety

ArabGuard-v1 is a specialized, manually curated benchmark designed to evaluate and enhance the robustness of Large Language Models (LLMs) against Prompt Injection and Jailbreaking attacks, specifically focusing on the Egyptian Dialect and Franco-Arabic.

πŸ“Œ Overview

Global safety guardrails often exhibit a "Linguistic Blind Spot" when faced with local cultural nuances, slang, or code-switching. ArabGuard-v1 bridges this gap by providing 2,321 unique samples of adversarial prompts that leverage social engineering, roleplay, and complex logical manipulation (including Gaslighting) in a localized Arabic context.

πŸ“Š Dataset Statistics & Splits

The dataset has been rigorously deduplicated (715 duplicates removed) and partitioned using a stratified split to ensure consistent label distribution across all sets:

Split Samples Malicious (1) Benign (0)
Train 1,856 ~1,014 ~842
Validation 232 ~127 ~105
Test 233 ~127 ~106
Total (Unique) 2,321 1,268 1,053

πŸ” Attack Taxonomy

The dataset covers sophisticated attack vectors tailored to the MENA region:

  • Linguistic Obfuscation: Payload splitting (e.g., Ψͺ-Ψ¬-Ψ§-Ω‡-Ω„) and Franco-Arabic.
  • Gaslighting Traps: Repetitive correction and negative reinforcement to force model compliance.
  • Social Engineering: Leveraging local idioms and authoritative impersonation.
  • Hard Negatives: Benign technical queries (e.g., "How to prevent SQL Injection") to minimize over-refusal.

πŸ—‚οΈ Dataset Structure

  • text: The raw input prompt.
  • attack_type: Category (e.g., gaslighting_trap, prompt_leaking, reverse_psychology).
  • dialect: Linguistic style (egyptian_slang, franco, msa_mixed).
  • intent_goal: The ultimate objective (e.g., exfiltration, manipulation).
  • label: Binary (1: Malicious, 0: Safe).

πŸ› οΈ Usage

To use this dataset with the datasets library:

from datasets import load_dataset
dataset = load_dataset("d12o6aa/ArabGuard-Egyptian-V1")

πŸ“œ License

This dataset is licensed under the Apache License 2.0.

README history 11 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-03-09Upload train.csv - Final Versionaa7fd0d2.4 KB
    Loading...
  2. 2026-03-09Upload ArabGuard_Clean_v2.csv - Final Version0a1752e2.4 KB
    Loading...
  3. 2026-02-12Update README.md7e6d2e52.4 KB
    Loading...
  4. 2026-02-12Upload ArabGuard_Final_v1.csv - Final Version200ddcf2.6 KB
    Loading...
  5. 2026-02-12Upload test.csv - Final Versionf0036c12.6 KB
    Loading...
  6. 2026-02-12Upload val.csv - Final Versionfa3b1d22.6 KB
    Loading...
  7. 2026-02-12Upload train.csv - Final Version22a27a42.6 KB
    Loading...
  8. 2026-02-04Update README.md6501c3d2.6 KB
    Loading...
  9. 2026-02-04Update README.md01447182.6 KB
    Loading...
  10. 2026-02-04Upload ArabGuard_Cleaned.csv7470e8131 B
    Loading...
  11. 2026-02-04initial commit44aa53131 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 1 thread Β· 1 open Β· 1 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-02-05[bot] Conversion to Parquetopen1 πŸ’¬#1
    Loading...

Related datasets same stage Β· extract

Read further

Metadata

License
apache-2.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("d12o6aa/ArabGuard-Egyptian-V1")
Raw snapshot (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="d12o6aa/ArabGuard-Egyptian-V1", repo_type="dataset")
git clone (requires git-lfs)
git clone https://huggingface.co/datasets/d12o6aa/ArabGuard-Egyptian-V1
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