File size: 6,965 Bytes
b9a75db
75f86c2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
b9a75db
75f86c2
b9a75db
75f86c2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
b9a75db
75f86c2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
---
# ---------- REQUIRED METADATA ----------
license: cc-by-sa-4.0
pretty_name: EmotionAnalysisFinal
tags:
  - semeval-2025-task-11
  - cross-lingual-emotion-detection
task_categories:
  - text-classification
task_ids:
  - multi-label-classification # Corrected
multilinguality:
  - multilingual
language:
  - 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

# ---------- DATA FILE LOCATIONS ----------
# This block is good for documentation and Hub UI understanding.
# If a .py loading script (e.g., emotion_analysis_final.py) exists in the repo,
# it will take precedence for `load_dataset`.
# Paths are relative to the root of the dataset repository.
configs:
- config_name: afr
  data_files:
    - split: validation
      path: afr/validation-* 
    - split: test
      path: afr/test-*
- config_name: amh
  data_files:
    - split: validation
      path: amh/validation-*
    - split: test
      path: amh/test-*
- config_name: arq
  data_files:
    - split: validation
      path: arq/validation-*
    - split: test
      path: arq/test-*
- config_name: ary
  data_files:
    - split: validation
      path: ary/validation-*
    - split: test
      path: ary/test-*
- config_name: chn
  data_files:
    - split: validation
      path: chn/validation-*
    - split: test
      path: chn/test-*
- config_name: deu
  data_files:
    - split: validation
      path: deu/validation-*
    - split: test
      path: deu/test-*
- config_name: eng
  data_files:
    - split: validation
      path: eng/validation-*
    - split: test
      path: eng/test-*
- config_name: esp
  data_files:
    - split: validation
      path: esp/validation-*
    - split: test
      path: esp/test-*
- config_name: hau
  data_files:
    - split: validation
      path: hau/validation-*
    - split: test
      path: hau/test-*
- config_name: hin
  data_files:
    - split: validation
      path: hin/validation-*
    - split: test
      path: hin/test-*
- config_name: ibo
  data_files:
    - split: validation
      path: ibo/validation-*
    - split: test
      path: ibo/test-*
- config_name: ind
  data_files:
    - split: validation
      path: ind/validation-*
    - split: test
      path: ind/test-*
- config_name: jav
  data_files:
    - split: validation
      path: jav/validation-*
    - split: test
      path: jav/test-*
- config_name: kin
  data_files:
    - split: validation
      path: kin/validation-*
    - split: test
      path: kin/test-*
- config_name: mar
  data_files:
    - split: validation
      path: mar/validation-*
    - split: test
      path: mar/test-*
- config_name: orm
  data_files:
    - split: validation
      path: orm/validation-*
    - split: test
      path: orm/test-*
- config_name: pcm
  data_files:
    - split: validation
      path: pcm/validation-*
    - split: test
      path: pcm/test-*
- config_name: ron
  data_files:
    - split: validation
      path: ron/validation-*
    - split: test
      path: ron/test-*
- config_name: rus
  data_files:
    - split: validation
      path: rus/validation-*
    - split: test
      path: rus/test-*
- config_name: som
  data_files:
    - split: validation
      path: som/validation-*
    - split: test
      path: som/test-*
- config_name: sun
  data_files:
    - split: validation
      path: sun/validation-*
    - split: test
      path: sun/test-*
- config_name: swa
  data_files:
    - split: validation
      path: swa/validation-*
    - split: test
      path: swa/test-*
- config_name: swe
  data_files:
    - split: validation
      path: swe/validation-*
    - split: test
      path: swe/test-*
- config_name: tat
  data_files:
    - split: validation
      path: tat/validation-*
    - split: test
      path: tat/test-*
- config_name: tir
  data_files:
    - split: validation
      path: tir/validation-*
    - split: test
      path: tir/test-*
- config_name: ukr
  data_files:
    - split: validation
      path: ukr/validation-*
    - split: test
      path: ukr/test-*
- config_name: vmw
  data_files:
    - split: validation
      path: vmw/validation-*
    - split: test
      path: vmw/test-*
- config_name: xho
  data_files:
    - split: validation
      path: xho/validation-*
    - split: test
      path: xho/test-*
- config_name: yor
  data_files:
    - split: validation
      path: yor/validation-*
    - split: test
      path: yor/test-*
- config_name: zul
  data_files:
    - split: validation
      path: zul/validation-*
    - split: test
      path: zul/test-*
---

# Dataset Card for **EmotionAnalysisFinal**

`EmotionAnalysisFinal` is the official dataset for **SemEval-2025 Task 11, Track C: Cross-lingual Emotion Detection in Social Media Text**.
This dataset comprises multilingual social media posts annotated for six basic emotions: anger, disgust, fear, joy, sadness, and surprise.
The annotation schema is multi-label.

Each language-specific configuration (subset) contains `validation` and `test` splits.

| Split        | Original Source | Notes                                      |
|--------------|-----------------|--------------------------------------------|
| `validation` | `dev` CSV files | Used as development set during the task    |
| `test`       | `test` CSV files| Gold labels released after task evaluation |

## Languages and Configuration Names

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):

`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`

## How to Use

Load a specific language and split using `load_dataset`:

```python
from datasets import load_dataset

# Example: Load the Yoruba test split
repo_id = "llama-lang-adapt/EmotionAnalysisFinal"
lang_code = "yor" # Replace with desired language code
split_name = "test" # Or "validation"

# If a .py loading script (e.g., emotion_analysis_final.py) is present in the repo,
# 'load_dataset' will use it. The 'name' parameter corresponds to the config name.
ds = load_dataset(
    repo_id,
    name=lang_code,  # Configuration name (language code)
    split=split_name
)

# Print the first example
print(f"First example from {lang_code} {split_name} split:")
if len(ds) > 0:
    print(ds[0])
else:
    print("Dataset is empty or loading failed for the split.")

# Example: Load the Afrikaans validation split
ds_afr_val = load_dataset(repo_id, name="afr", split="validation")
print(f"\nFirst example from afr validation split:")
if len(ds_afr_val) > 0:
    print(ds_afr_val[0])
else:
    print("Dataset is empty or loading failed for the split.")