Datasets:
Tasks:
Text Classification
Formats:
parquet
Sub-tasks:
multi-label-classification
Size:
10K - 100K
License:
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,29 +1,286 @@
|
|
| 1 |
---
|
|
|
|
| 2 |
license: cc-by-sa-4.0
|
| 3 |
-
pretty_name:
|
| 4 |
-
# No 'configs' block for this test.
|
| 5 |
-
# We will define data_files for ONE language directly.
|
| 6 |
-
data_files:
|
| 7 |
-
afr:
|
| 8 |
-
validation: "afr/validation-*.parquet"
|
| 9 |
-
test: "afr/test-*.parquet"
|
| 10 |
-
# We can add other languages here if this works for 'afr'
|
| 11 |
-
# amh:
|
| 12 |
-
# validation: "amh/validation-*.parquet"
|
| 13 |
-
# test: "amh/test-*.parquet"
|
| 14 |
tags:
|
| 15 |
- semeval-2025-task-11
|
|
|
|
| 16 |
task_categories:
|
| 17 |
- text-classification
|
| 18 |
task_ids:
|
| 19 |
-
- multi-label-classification
|
| 20 |
multilinguality:
|
| 21 |
- multilingual
|
| 22 |
language:
|
| 23 |
- afr
|
| 24 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
|
| 29 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
# ---------- REQUIRED METADATA ----------
|
| 3 |
license: cc-by-sa-4.0
|
| 4 |
+
pretty_name: EmotionAnalysisFinal
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
tags:
|
| 6 |
- semeval-2025-task-11
|
| 7 |
+
- cross-lingual-emotion-detection
|
| 8 |
task_categories:
|
| 9 |
- text-classification
|
| 10 |
task_ids:
|
| 11 |
+
- multi-label-classification # Corrected
|
| 12 |
multilinguality:
|
| 13 |
- multilingual
|
| 14 |
language:
|
| 15 |
- afr
|
| 16 |
+
- amh
|
| 17 |
+
- arq
|
| 18 |
+
- ary
|
| 19 |
+
- chn
|
| 20 |
+
- deu
|
| 21 |
+
- eng
|
| 22 |
+
- esp
|
| 23 |
+
- hau
|
| 24 |
+
- hin
|
| 25 |
+
- ibo
|
| 26 |
+
- ind
|
| 27 |
+
- jav
|
| 28 |
+
- kin
|
| 29 |
+
- mar
|
| 30 |
+
- orm
|
| 31 |
+
- pcm
|
| 32 |
+
- ron
|
| 33 |
+
- rus
|
| 34 |
+
- som
|
| 35 |
+
- sun
|
| 36 |
+
- swa
|
| 37 |
+
- swe
|
| 38 |
+
- tat
|
| 39 |
+
- tir
|
| 40 |
+
- ukr
|
| 41 |
+
- vmw
|
| 42 |
+
- xho
|
| 43 |
+
- yor
|
| 44 |
+
- zul
|
| 45 |
+
|
| 46 |
+
# ---------- DATA FILE LOCATIONS ----------
|
| 47 |
+
# This block is good for documentation and Hub UI understanding.
|
| 48 |
+
# If a .py loading script (e.g., emotion_analysis_final.py) exists in the repo,
|
| 49 |
+
# it will take precedence for `load_dataset`.
|
| 50 |
+
# Paths are relative to the root of the dataset repository.
|
| 51 |
+
configs:
|
| 52 |
+
- config_name: afr
|
| 53 |
+
data_files:
|
| 54 |
+
- split: validation
|
| 55 |
+
path: afr/validation-*
|
| 56 |
+
- split: test
|
| 57 |
+
path: afr/test-*
|
| 58 |
+
- config_name: amh
|
| 59 |
+
data_files:
|
| 60 |
+
- split: validation
|
| 61 |
+
path: amh/validation-*
|
| 62 |
+
- split: test
|
| 63 |
+
path: amh/test-*
|
| 64 |
+
- config_name: arq
|
| 65 |
+
data_files:
|
| 66 |
+
- split: validation
|
| 67 |
+
path: arq/validation-*
|
| 68 |
+
- split: test
|
| 69 |
+
path: arq/test-*
|
| 70 |
+
- config_name: ary
|
| 71 |
+
data_files:
|
| 72 |
+
- split: validation
|
| 73 |
+
path: ary/validation-*
|
| 74 |
+
- split: test
|
| 75 |
+
path: ary/test-*
|
| 76 |
+
- config_name: chn
|
| 77 |
+
data_files:
|
| 78 |
+
- split: validation
|
| 79 |
+
path: chn/validation-*
|
| 80 |
+
- split: test
|
| 81 |
+
path: chn/test-*
|
| 82 |
+
- config_name: deu
|
| 83 |
+
data_files:
|
| 84 |
+
- split: validation
|
| 85 |
+
path: deu/validation-*
|
| 86 |
+
- split: test
|
| 87 |
+
path: deu/test-*
|
| 88 |
+
- config_name: eng
|
| 89 |
+
data_files:
|
| 90 |
+
- split: validation
|
| 91 |
+
path: eng/validation-*
|
| 92 |
+
- split: test
|
| 93 |
+
path: eng/test-*
|
| 94 |
+
- config_name: esp
|
| 95 |
+
data_files:
|
| 96 |
+
- split: validation
|
| 97 |
+
path: esp/validation-*
|
| 98 |
+
- split: test
|
| 99 |
+
path: esp/test-*
|
| 100 |
+
- config_name: hau
|
| 101 |
+
data_files:
|
| 102 |
+
- split: validation
|
| 103 |
+
path: hau/validation-*
|
| 104 |
+
- split: test
|
| 105 |
+
path: hau/test-*
|
| 106 |
+
- config_name: hin
|
| 107 |
+
data_files:
|
| 108 |
+
- split: validation
|
| 109 |
+
path: hin/validation-*
|
| 110 |
+
- split: test
|
| 111 |
+
path: hin/test-*
|
| 112 |
+
- config_name: ibo
|
| 113 |
+
data_files:
|
| 114 |
+
- split: validation
|
| 115 |
+
path: ibo/validation-*
|
| 116 |
+
- split: test
|
| 117 |
+
path: ibo/test-*
|
| 118 |
+
- config_name: ind
|
| 119 |
+
data_files:
|
| 120 |
+
- split: validation
|
| 121 |
+
path: ind/validation-*
|
| 122 |
+
- split: test
|
| 123 |
+
path: ind/test-*
|
| 124 |
+
- config_name: jav
|
| 125 |
+
data_files:
|
| 126 |
+
- split: validation
|
| 127 |
+
path: jav/validation-*
|
| 128 |
+
- split: test
|
| 129 |
+
path: jav/test-*
|
| 130 |
+
- config_name: kin
|
| 131 |
+
data_files:
|
| 132 |
+
- split: validation
|
| 133 |
+
path: kin/validation-*
|
| 134 |
+
- split: test
|
| 135 |
+
path: kin/test-*
|
| 136 |
+
- config_name: mar
|
| 137 |
+
data_files:
|
| 138 |
+
- split: validation
|
| 139 |
+
path: mar/validation-*
|
| 140 |
+
- split: test
|
| 141 |
+
path: mar/test-*
|
| 142 |
+
- config_name: orm
|
| 143 |
+
data_files:
|
| 144 |
+
- split: validation
|
| 145 |
+
path: orm/validation-*
|
| 146 |
+
- split: test
|
| 147 |
+
path: orm/test-*
|
| 148 |
+
- config_name: pcm
|
| 149 |
+
data_files:
|
| 150 |
+
- split: validation
|
| 151 |
+
path: pcm/validation-*
|
| 152 |
+
- split: test
|
| 153 |
+
path: pcm/test-*
|
| 154 |
+
- config_name: ron
|
| 155 |
+
data_files:
|
| 156 |
+
- split: validation
|
| 157 |
+
path: ron/validation-*
|
| 158 |
+
- split: test
|
| 159 |
+
path: ron/test-*
|
| 160 |
+
- config_name: rus
|
| 161 |
+
data_files:
|
| 162 |
+
- split: validation
|
| 163 |
+
path: rus/validation-*
|
| 164 |
+
- split: test
|
| 165 |
+
path: rus/test-*
|
| 166 |
+
- config_name: som
|
| 167 |
+
data_files:
|
| 168 |
+
- split: validation
|
| 169 |
+
path: som/validation-*
|
| 170 |
+
- split: test
|
| 171 |
+
path: som/test-*
|
| 172 |
+
- config_name: sun
|
| 173 |
+
data_files:
|
| 174 |
+
- split: validation
|
| 175 |
+
path: sun/validation-*
|
| 176 |
+
- split: test
|
| 177 |
+
path: sun/test-*
|
| 178 |
+
- config_name: swa
|
| 179 |
+
data_files:
|
| 180 |
+
- split: validation
|
| 181 |
+
path: swa/validation-*
|
| 182 |
+
- split: test
|
| 183 |
+
path: swa/test-*
|
| 184 |
+
- config_name: swe
|
| 185 |
+
data_files:
|
| 186 |
+
- split: validation
|
| 187 |
+
path: swe/validation-*
|
| 188 |
+
- split: test
|
| 189 |
+
path: swe/test-*
|
| 190 |
+
- config_name: tat
|
| 191 |
+
data_files:
|
| 192 |
+
- split: validation
|
| 193 |
+
path: tat/validation-*
|
| 194 |
+
- split: test
|
| 195 |
+
path: tat/test-*
|
| 196 |
+
- config_name: tir
|
| 197 |
+
data_files:
|
| 198 |
+
- split: validation
|
| 199 |
+
path: tir/validation-*
|
| 200 |
+
- split: test
|
| 201 |
+
path: tir/test-*
|
| 202 |
+
- config_name: ukr
|
| 203 |
+
data_files:
|
| 204 |
+
- split: validation
|
| 205 |
+
path: ukr/validation-*
|
| 206 |
+
- split: test
|
| 207 |
+
path: ukr/test-*
|
| 208 |
+
- config_name: vmw
|
| 209 |
+
data_files:
|
| 210 |
+
- split: validation
|
| 211 |
+
path: vmw/validation-*
|
| 212 |
+
- split: test
|
| 213 |
+
path: vmw/test-*
|
| 214 |
+
- config_name: xho
|
| 215 |
+
data_files:
|
| 216 |
+
- split: validation
|
| 217 |
+
path: xho/validation-*
|
| 218 |
+
- split: test
|
| 219 |
+
path: xho/test-*
|
| 220 |
+
- config_name: yor
|
| 221 |
+
data_files:
|
| 222 |
+
- split: validation
|
| 223 |
+
path: yor/validation-*
|
| 224 |
+
- split: test
|
| 225 |
+
path: yor/test-*
|
| 226 |
+
- config_name: zul
|
| 227 |
+
data_files:
|
| 228 |
+
- split: validation
|
| 229 |
+
path: zul/validation-*
|
| 230 |
+
- split: test
|
| 231 |
+
path: zul/test-*
|
| 232 |
---
|
| 233 |
|
| 234 |
+
# Dataset Card for **EmotionAnalysisFinal**
|
| 235 |
+
|
| 236 |
+
`EmotionAnalysisFinal` is the official dataset for **SemEval-2025 Task 11, Track C: Cross-lingual Emotion Detection in Social Media Text**.
|
| 237 |
+
This dataset comprises multilingual social media posts annotated for six basic emotions: anger, disgust, fear, joy, sadness, and surprise.
|
| 238 |
+
The annotation schema is multi-label.
|
| 239 |
+
|
| 240 |
+
Each language-specific configuration (subset) contains `validation` and `test` splits.
|
| 241 |
+
|
| 242 |
+
| Split | Original Source | Notes |
|
| 243 |
+
|--------------|-----------------|--------------------------------------------|
|
| 244 |
+
| `validation` | `dev` CSV files | Used as development set during the task |
|
| 245 |
+
| `test` | `test` CSV files| Gold labels released after task evaluation |
|
| 246 |
+
|
| 247 |
+
## Languages and Configuration Names
|
| 248 |
+
|
| 249 |
+
The dataset supports the following languages, accessible via their ISO 639-3 or custom codes as configuration names (which correspond to the `name` parameter in `load_dataset` if using the accompanying Python loading script, or the second argument if loading via metadata only):
|
| 250 |
+
|
| 251 |
+
`afr, amh, arq, ary, chn, deu, eng, esp, hau, hin, ibo, ind, jav, kin, mar, orm, pcm, ron, rus, som, sun, swa, swe, tat, tir, ukr, vmw, xho, yor, zul`
|
| 252 |
+
|
| 253 |
+
## How to Use
|
| 254 |
+
|
| 255 |
+
Load a specific language and split using `load_dataset`:
|
| 256 |
+
|
| 257 |
+
```python
|
| 258 |
+
from datasets import load_dataset
|
| 259 |
+
|
| 260 |
+
# Example: Load the Yoruba test split
|
| 261 |
+
repo_id = "llama-lang-adapt/EmotionAnalysisFinal"
|
| 262 |
+
lang_code = "yor" # Replace with desired language code
|
| 263 |
+
split_name = "test" # Or "validation"
|
| 264 |
+
|
| 265 |
+
# If a .py loading script (e.g., emotion_analysis_final.py) is present in the repo,
|
| 266 |
+
# 'load_dataset' will use it. The 'name' parameter corresponds to the config name.
|
| 267 |
+
ds = load_dataset(
|
| 268 |
+
repo_id,
|
| 269 |
+
name=lang_code, # Configuration name (language code)
|
| 270 |
+
split=split_name
|
| 271 |
+
)
|
| 272 |
+
|
| 273 |
+
# Print the first example
|
| 274 |
+
print(f"First example from {lang_code} {split_name} split:")
|
| 275 |
+
if len(ds) > 0:
|
| 276 |
+
print(ds[0])
|
| 277 |
+
else:
|
| 278 |
+
print("Dataset is empty or loading failed for the split.")
|
| 279 |
|
| 280 |
+
# Example: Load the Afrikaans validation split
|
| 281 |
+
ds_afr_val = load_dataset(repo_id, name="afr", split="validation")
|
| 282 |
+
print(f"\nFirst example from afr validation split:")
|
| 283 |
+
if len(ds_afr_val) > 0:
|
| 284 |
+
print(ds_afr_val[0])
|
| 285 |
+
else:
|
| 286 |
+
print("Dataset is empty or loading failed for the split.")
|