Update dataset card
Browse files
README.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
| 1 |
---
|
| 2 |
-
license: cc
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
configs:
|
| 4 |
- config_name: default
|
| 5 |
data_files:
|
|
@@ -9,7 +24,9 @@ configs:
|
|
| 9 |
path: data/dev-*
|
| 10 |
- split: dev_test
|
| 11 |
path: data/dev_test-*
|
|
|
|
| 12 |
dataset_info:
|
|
|
|
| 13 |
features:
|
| 14 |
- name: id
|
| 15 |
dtype: string
|
|
@@ -23,14 +40,136 @@ dataset_info:
|
|
| 23 |
sequence: string
|
| 24 |
splits:
|
| 25 |
- name: train
|
| 26 |
-
num_bytes: 274812860.5
|
| 27 |
num_examples: 3500
|
| 28 |
- name: dev
|
| 29 |
-
num_bytes: 40130069.0
|
| 30 |
num_examples: 500
|
| 31 |
- name: dev_test
|
| 32 |
-
num_bytes: 38915856.0
|
| 33 |
num_examples: 500
|
| 34 |
-
download_size: 347829887
|
| 35 |
-
dataset_size: 353858785.5
|
| 36 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
license: cc-by-nc-4.0
|
| 3 |
+
language:
|
| 4 |
+
- ar
|
| 5 |
+
task_categories:
|
| 6 |
+
- image-classification
|
| 7 |
+
- image-text-to-text
|
| 8 |
+
pretty_name: ArGuard – Track A (Arabic Hateful Memes)
|
| 9 |
+
tags:
|
| 10 |
+
- hate-speech
|
| 11 |
+
- memes
|
| 12 |
+
- arabic
|
| 13 |
+
- multimodal
|
| 14 |
+
- multi-label
|
| 15 |
+
- arabic-nlp
|
| 16 |
+
size_categories:
|
| 17 |
+
- 1K<n<10K
|
| 18 |
configs:
|
| 19 |
- config_name: default
|
| 20 |
data_files:
|
|
|
|
| 24 |
path: data/dev-*
|
| 25 |
- split: dev_test
|
| 26 |
path: data/dev_test-*
|
| 27 |
+
default: true
|
| 28 |
dataset_info:
|
| 29 |
+
config_name: default
|
| 30 |
features:
|
| 31 |
- name: id
|
| 32 |
dtype: string
|
|
|
|
| 40 |
sequence: string
|
| 41 |
splits:
|
| 42 |
- name: train
|
|
|
|
| 43 |
num_examples: 3500
|
| 44 |
- name: dev
|
|
|
|
| 45 |
num_examples: 500
|
| 46 |
- name: dev_test
|
|
|
|
| 47 |
num_examples: 500
|
|
|
|
|
|
|
| 48 |
---
|
| 49 |
+
|
| 50 |
+
# ArGuard – Track A: Arabic Hateful Memes
|
| 51 |
+
|
| 52 |
+
This repository hosts the official dataset for **Track A** of the
|
| 53 |
+
**ArGuard** shared task: multimodal hateful-meme detection in Arabic.
|
| 54 |
+
Each instance is an Arabic meme (image + OCR-extracted overlaid text)
|
| 55 |
+
manually annotated for hatefulness and fine-grained sub-types.
|
| 56 |
+
|
| 57 |
+
> **Content warning.** The dataset contains text and imagery that is
|
| 58 |
+
> offensive, discriminatory, or otherwise harmful by design. Handle
|
| 59 |
+
> with care.
|
| 60 |
+
|
| 61 |
+
## Track A subtasks
|
| 62 |
+
|
| 63 |
+
Given a meme (image + Arabic text):
|
| 64 |
+
|
| 65 |
+
- **Subtask 1A – Binary.** Classify the meme as `Hateful` or `Not Hateful`.
|
| 66 |
+
- **Subtask 1B – Fine-grained hateful.** For `Hateful` memes, predict the
|
| 67 |
+
applicable fine-grained sub-type(s) (multi-label).
|
| 68 |
+
- **Subtask 1C – Fine-grained non-hateful.** For `Not Hateful` memes,
|
| 69 |
+
predict the applicable sub-type(s) (multi-label).
|
| 70 |
+
|
| 71 |
+
## Splits
|
| 72 |
+
|
| 73 |
+
| Split | Records | Labels | Source | Released |
|
| 74 |
+
|--------------|---------|--------------|----------------------------------------|---------------------------|
|
| 75 |
+
| `train` | 3,500 | full | single-annotated bulk | development phase |
|
| 76 |
+
| `dev` | 500 | full | single-annotated bulk | development phase |
|
| 77 |
+
| `dev_test` | 500 | **dropped** | single-annotated test sample | development phase (leaderboard) |
|
| 78 |
+
| `test` | 500 | full | **triple-annotated gold** (calibration) | final-evaluation phase |
|
| 79 |
+
|
| 80 |
+
- `dev_test` is the **leaderboard set** for the development phase. Labels
|
| 81 |
+
are intentionally stripped (`label = null`, `fine_grained_label = []`)
|
| 82 |
+
and will be released only after the development phase closes.
|
| 83 |
+
- `test` is the **held-out blind test** for final ranking. All 500 records
|
| 84 |
+
are triple-annotated with majority voting. This split is not part of
|
| 85 |
+
the public release and will appear here only when the final-evaluation
|
| 86 |
+
phase begins.
|
| 87 |
+
|
| 88 |
+
### Binary label distribution
|
| 89 |
+
|
| 90 |
+
| Split | Hateful | Not Hateful | % Hateful |
|
| 91 |
+
|------------|--------:|------------:|----------:|
|
| 92 |
+
| train | 1,324 | 2,176 | 37.8% |
|
| 93 |
+
| dev | 189 | 311 | 37.8% |
|
| 94 |
+
| dev_test | 189 | 311 | 37.8% |
|
| 95 |
+
| test | 148 | 352 | 29.6% |
|
| 96 |
+
| **Total** | **1,850** | **3,150** | 37.0% |
|
| 97 |
+
|
| 98 |
+
### Fine-grained sub-types
|
| 99 |
+
|
| 100 |
+
**Hateful sub-types** (Subtask 1B, multi-label):
|
| 101 |
+
Mocking, Incitement, Dehumanization, Slurs, Contempt, Inferiority,
|
| 102 |
+
Exclusion, Stereotyping, Extremism, Threat, Insults, Historical, Other.
|
| 103 |
+
|
| 104 |
+
**Non-hateful sub-types** (Subtask 1C, multi-label):
|
| 105 |
+
Humor, Sarcasm, Other.
|
| 106 |
+
|
| 107 |
+
A meme is never assigned both hateful and non-hateful sub-types
|
| 108 |
+
simultaneously. Sub-types are multi-label, so per-class counts sum to
|
| 109 |
+
more than the meme counts.
|
| 110 |
+
|
| 111 |
+
## Record schema
|
| 112 |
+
|
| 113 |
+
```python
|
| 114 |
+
{
|
| 115 |
+
"id": "f9a8…b1.jpg", # str – original image filename, unique
|
| 116 |
+
"image": <PIL.Image.Image>, # embedded bytes, decoded on access
|
| 117 |
+
"text": "…", # str – OCR-extracted Arabic meme text
|
| 118 |
+
"label": "Hateful" | "Not Hateful" | None, # None on dev_test
|
| 119 |
+
"fine_grained_label": [...], # list[str] – empty on dev_test
|
| 120 |
+
}
|
| 121 |
+
```
|
| 122 |
+
|
| 123 |
+
## Usage
|
| 124 |
+
|
| 125 |
+
```python
|
| 126 |
+
from datasets import load_dataset
|
| 127 |
+
|
| 128 |
+
ds = load_dataset("QCRI/ArGuard-Task1")
|
| 129 |
+
print(ds)
|
| 130 |
+
|
| 131 |
+
train_ex = ds["train"][0]
|
| 132 |
+
train_ex["image"].show()
|
| 133 |
+
print(train_ex["text"], train_ex["label"], train_ex["fine_grained_label"])
|
| 134 |
+
|
| 135 |
+
# dev_test is unlabelled — used only to produce leaderboard submissions
|
| 136 |
+
print(ds["dev_test"][0]["label"]) # -> None
|
| 137 |
+
```
|
| 138 |
+
|
| 139 |
+
## Annotation
|
| 140 |
+
|
| 141 |
+
- All memes are manually annotated following the ArGuard guidelines.
|
| 142 |
+
- **train**, **dev**, **dev_test**: single-annotator labels (bulk
|
| 143 |
+
annotation).
|
| 144 |
+
- **test**: triple-annotated. Binary label is the majority vote; the
|
| 145 |
+
fine-grained label set is the union of sub-types selected by
|
| 146 |
+
annotators whose binary label matches the majority.
|
| 147 |
+
- Inter-annotator agreement on the calibration subset is above 0.81.
|
| 148 |
+
|
| 149 |
+
## Intended use and limitations
|
| 150 |
+
|
| 151 |
+
- **Intended use.** Research on Arabic multimodal hate speech detection,
|
| 152 |
+
including binary classification, fine-grained sub-type prediction,
|
| 153 |
+
and vision-language modelling.
|
| 154 |
+
- **Limitations.** Memes reflect online discourse and contain offensive
|
| 155 |
+
and harmful content. Annotations on `train` / `dev` / `dev_test` are
|
| 156 |
+
single-annotator and may contain noise; only the held-out `test` split
|
| 157 |
+
uses triple-annotated majority-voted labels.
|
| 158 |
+
- **Not for deployment.** This dataset is for research and benchmarking;
|
| 159 |
+
it is not a moderation tool.
|
| 160 |
+
|
| 161 |
+
## License
|
| 162 |
+
|
| 163 |
+
Released under **CC BY-NC 4.0** for non-commercial research use only.
|
| 164 |
+
Not to be used for commercial purposes or for training systems that
|
| 165 |
+
generate harmful content.
|
| 166 |
+
|
| 167 |
+
## Citation
|
| 168 |
+
|
| 169 |
+
A citation will be provided when the shared-task overview paper is
|
| 170 |
+
released. Until then, please cite this repository URL.
|
| 171 |
+
|
| 172 |
+
## Contact
|
| 173 |
+
|
| 174 |
+
ArGuard organisers — see https://araieval.gitlab.io/ for contact
|
| 175 |
+
information and shared-task updates.
|