Datasets:

Modalities:
Text
Formats:
parquet
ArXiv:
Libraries:
Datasets
pandas
License:
Samoed commited on
Commit
c28be06
·
verified ·
1 Parent(s): a8f382b

Add dataset card

Browse files
Files changed (1) hide show
  1. README.md +341 -0
README.md CHANGED
@@ -1,4 +1,20 @@
1
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  dataset_info:
3
  - config_name: hau
4
  features:
@@ -85,4 +101,329 @@ configs:
85
  path: yor/train-*
86
  - split: test
87
  path: yor/test-*
 
 
 
88
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ annotations_creators:
3
+ - expert-annotated
4
+ language:
5
+ - hau
6
+ - ibo
7
+ - pcm
8
+ - yor
9
+ license: cc-by-4.0
10
+ multilinguality: multilingual
11
+ task_categories:
12
+ - text-classification
13
+ task_ids:
14
+ - sentiment-analysis
15
+ - sentiment-scoring
16
+ - sentiment-classification
17
+ - hate-speech-detection
18
  dataset_info:
19
  - config_name: hau
20
  features:
 
101
  path: yor/train-*
102
  - split: test
103
  path: yor/test-*
104
+ tags:
105
+ - mteb
106
+ - text
107
  ---
108
+ <!-- adapted from https://github.com/huggingface/huggingface_hub/blob/v0.30.2/src/huggingface_hub/templates/datasetcard_template.md -->
109
+
110
+ <div align="center" style="padding: 40px 20px; background-color: white; border-radius: 12px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); max-width: 600px; margin: 0 auto;">
111
+ <h1 style="font-size: 3.5rem; color: #1a1a1a; margin: 0 0 20px 0; letter-spacing: 2px; font-weight: 700;">NaijaSenti</h1>
112
+ <div style="font-size: 1.5rem; color: #4a4a4a; margin-bottom: 5px; font-weight: 300;">An <a href="https://github.com/embeddings-benchmark/mteb" style="color: #2c5282; font-weight: 600; text-decoration: none;" onmouseover="this.style.textDecoration='underline'" onmouseout="this.style.textDecoration='none'">MTEB</a> dataset</div>
113
+ <div style="font-size: 0.9rem; color: #2c5282; margin-top: 10px;">Massive Text Embedding Benchmark</div>
114
+ </div>
115
+
116
+ NaijaSenti is the first large-scale human-annotated Twitter sentiment dataset for the four most widely spoken languages in Nigeria — Hausa, Igbo, Nigerian-Pidgin, and Yorùbá — consisting of around 30,000 annotated tweets per language, including a significant fraction of code-mixed tweets.
117
+
118
+ | | |
119
+ |---------------|---------------------------------------------|
120
+ | Task category | t2c |
121
+ | Domains | Social, Written |
122
+ | Reference | https://github.com/hausanlp/NaijaSenti |
123
+
124
+
125
+ ## How to evaluate on this task
126
+
127
+ You can evaluate an embedding model on this dataset using the following code:
128
+
129
+ ```python
130
+ import mteb
131
+
132
+ task = mteb.get_tasks(["NaijaSenti"])
133
+ evaluator = mteb.MTEB(task)
134
+
135
+ model = mteb.get_model(YOUR_MODEL)
136
+ evaluator.run(model)
137
+ ```
138
+
139
+ <!-- Datasets want link to arxiv in readme to autolink dataset with paper -->
140
+ To learn more about how to run models on `mteb` task check out the [GitHub repitory](https://github.com/embeddings-benchmark/mteb).
141
+
142
+ ## Citation
143
+
144
+ If you use this dataset, please cite the dataset as well as [mteb](https://github.com/embeddings-benchmark/mteb), as this dataset likely includes additional processing as a part of the [MMTEB Contribution](https://github.com/embeddings-benchmark/mteb/tree/main/docs/mmteb).
145
+
146
+ ```bibtex
147
+
148
+ @inproceedings{muhammad-etal-2022-naijasenti,
149
+ address = {Marseille, France},
150
+ author = {Muhammad, Shamsuddeen Hassan and
151
+ Adelani, David Ifeoluwa and
152
+ Ruder, Sebastian and
153
+ Ahmad, Ibrahim Sa{'}id and
154
+ Abdulmumin, Idris and
155
+ Bello, Bello Shehu and
156
+ Choudhury, Monojit and
157
+ Emezue, Chris Chinenye and
158
+ Abdullahi, Saheed Salahudeen and
159
+ Aremu, Anuoluwapo and
160
+ Jorge, Al{\'\i}pio and
161
+ Brazdil, Pavel},
162
+ booktitle = {Proceedings of the Thirteenth Language Resources and Evaluation Conference},
163
+ month = jun,
164
+ pages = {590--602},
165
+ publisher = {European Language Resources Association},
166
+ title = {{N}aija{S}enti: A {N}igerian {T}witter Sentiment Corpus for Multilingual Sentiment Analysis},
167
+ url = {https://aclanthology.org/2022.lrec-1.63},
168
+ year = {2022},
169
+ }
170
+
171
+
172
+ @article{enevoldsen2025mmtebmassivemultilingualtext,
173
+ title={MMTEB: Massive Multilingual Text Embedding Benchmark},
174
+ author={Kenneth Enevoldsen and Isaac Chung and Imene Kerboua and Márton Kardos and Ashwin Mathur and David Stap and Jay Gala and Wissam Siblini and Dominik Krzemiński and Genta Indra Winata and Saba Sturua and Saiteja Utpala and Mathieu Ciancone and Marion Schaeffer and Gabriel Sequeira and Diganta Misra and Shreeya Dhakal and Jonathan Rystrøm and Roman Solomatin and Ömer Çağatan and Akash Kundu and Martin Bernstorff and Shitao Xiao and Akshita Sukhlecha and Bhavish Pahwa and Rafał Poświata and Kranthi Kiran GV and Shawon Ashraf and Daniel Auras and Björn Plüster and Jan Philipp Harries and Loïc Magne and Isabelle Mohr and Mariya Hendriksen and Dawei Zhu and Hippolyte Gisserot-Boukhlef and Tom Aarsen and Jan Kostkan and Konrad Wojtasik and Taemin Lee and Marek Šuppa and Crystina Zhang and Roberta Rocca and Mohammed Hamdy and Andrianos Michail and John Yang and Manuel Faysse and Aleksei Vatolin and Nandan Thakur and Manan Dey and Dipam Vasani and Pranjal Chitale and Simone Tedeschi and Nguyen Tai and Artem Snegirev and Michael Günther and Mengzhou Xia and Weijia Shi and Xing Han Lù and Jordan Clive and Gayatri Krishnakumar and Anna Maksimova and Silvan Wehrli and Maria Tikhonova and Henil Panchal and Aleksandr Abramov and Malte Ostendorff and Zheng Liu and Simon Clematide and Lester James Miranda and Alena Fenogenova and Guangyu Song and Ruqiya Bin Safi and Wen-Ding Li and Alessia Borghini and Federico Cassano and Hongjin Su and Jimmy Lin and Howard Yen and Lasse Hansen and Sara Hooker and Chenghao Xiao and Vaibhav Adlakha and Orion Weller and Siva Reddy and Niklas Muennighoff},
175
+ publisher = {arXiv},
176
+ journal={arXiv preprint arXiv:2502.13595},
177
+ year={2025},
178
+ url={https://arxiv.org/abs/2502.13595},
179
+ doi = {10.48550/arXiv.2502.13595},
180
+ }
181
+
182
+ @article{muennighoff2022mteb,
183
+ author = {Muennighoff, Niklas and Tazi, Nouamane and Magne, Lo{\"\i}c and Reimers, Nils},
184
+ title = {MTEB: Massive Text Embedding Benchmark},
185
+ publisher = {arXiv},
186
+ journal={arXiv preprint arXiv:2210.07316},
187
+ year = {2022}
188
+ url = {https://arxiv.org/abs/2210.07316},
189
+ doi = {10.48550/ARXIV.2210.07316},
190
+ }
191
+ ```
192
+
193
+ # Dataset Statistics
194
+ <details>
195
+ <summary> Dataset Statistics</summary>
196
+
197
+ The following code contains the descriptive statistics from the task. These can also be obtained using:
198
+
199
+ ```python
200
+ import mteb
201
+
202
+ task = mteb.get_task("NaijaSenti")
203
+
204
+ desc_stats = task.metadata.descriptive_stats
205
+ ```
206
+
207
+ ```json
208
+ {
209
+ "test": {
210
+ "num_samples": 17654,
211
+ "number_of_characters": 1295492,
212
+ "number_texts_intersect_with_train": 926,
213
+ "min_text_length": 6,
214
+ "average_text_length": 73.38234960915374,
215
+ "max_text_length": 276,
216
+ "unique_text": 17654,
217
+ "unique_labels": 3,
218
+ "labels": {
219
+ "0": {
220
+ "count": 6188
221
+ },
222
+ "1": {
223
+ "count": 5457
224
+ },
225
+ "2": {
226
+ "count": 6009
227
+ }
228
+ },
229
+ "hf_subset_descriptive_stats": {
230
+ "hau": {
231
+ "num_samples": 5303,
232
+ "number_of_characters": 355133,
233
+ "number_texts_intersect_with_train": 0,
234
+ "min_text_length": 8,
235
+ "average_text_length": 66.9683198189704,
236
+ "max_text_length": 275,
237
+ "unique_text": 5303,
238
+ "unique_labels": 3,
239
+ "labels": {
240
+ "0": {
241
+ "count": 1755
242
+ },
243
+ "1": {
244
+ "count": 1789
245
+ },
246
+ "2": {
247
+ "count": 1759
248
+ }
249
+ }
250
+ },
251
+ "ibo": {
252
+ "num_samples": 3682,
253
+ "number_of_characters": 175228,
254
+ "number_texts_intersect_with_train": 0,
255
+ "min_text_length": 9,
256
+ "average_text_length": 47.59043997827268,
257
+ "max_text_length": 269,
258
+ "unique_text": 3682,
259
+ "unique_labels": 3,
260
+ "labels": {
261
+ "0": {
262
+ "count": 1118
263
+ },
264
+ "1": {
265
+ "count": 1621
266
+ },
267
+ "2": {
268
+ "count": 943
269
+ }
270
+ }
271
+ },
272
+ "pcm": {
273
+ "num_samples": 4154,
274
+ "number_of_characters": 375268,
275
+ "number_texts_intersect_with_train": 926,
276
+ "min_text_length": 8,
277
+ "average_text_length": 90.3389504092441,
278
+ "max_text_length": 276,
279
+ "unique_text": 4154,
280
+ "unique_labels": 3,
281
+ "labels": {
282
+ "0": {
283
+ "count": 1397
284
+ },
285
+ "1": {
286
+ "count": 431
287
+ },
288
+ "2": {
289
+ "count": 2326
290
+ }
291
+ }
292
+ },
293
+ "yor": {
294
+ "num_samples": 4515,
295
+ "number_of_characters": 389863,
296
+ "number_texts_intersect_with_train": 0,
297
+ "min_text_length": 6,
298
+ "average_text_length": 86.3483942414175,
299
+ "max_text_length": 266,
300
+ "unique_text": 4515,
301
+ "unique_labels": 3,
302
+ "labels": {
303
+ "0": {
304
+ "count": 1918
305
+ },
306
+ "1": {
307
+ "count": 1616
308
+ },
309
+ "2": {
310
+ "count": 981
311
+ }
312
+ }
313
+ }
314
+ }
315
+ },
316
+ "train": {
317
+ "num_samples": 38007,
318
+ "number_of_characters": 3412356,
319
+ "number_texts_intersect_with_train": null,
320
+ "min_text_length": 9,
321
+ "average_text_length": 89.7823032599258,
322
+ "max_text_length": 354,
323
+ "unique_text": 37495,
324
+ "unique_labels": 3,
325
+ "labels": {
326
+ "2": {
327
+ "count": 12286
328
+ },
329
+ "1": {
330
+ "count": 12600
331
+ },
332
+ "0": {
333
+ "count": 13121
334
+ }
335
+ },
336
+ "hf_subset_descriptive_stats": {
337
+ "hau": {
338
+ "num_samples": 14172,
339
+ "number_of_characters": 1106209,
340
+ "number_texts_intersect_with_train": null,
341
+ "min_text_length": 17,
342
+ "average_text_length": 78.055955405024,
343
+ "max_text_length": 337,
344
+ "unique_text": 14172,
345
+ "unique_labels": 3,
346
+ "labels": {
347
+ "2": {
348
+ "count": 4573
349
+ },
350
+ "1": {
351
+ "count": 4912
352
+ },
353
+ "0": {
354
+ "count": 4687
355
+ }
356
+ }
357
+ },
358
+ "ibo": {
359
+ "num_samples": 10192,
360
+ "number_of_characters": 709705,
361
+ "number_texts_intersect_with_train": null,
362
+ "min_text_length": 11,
363
+ "average_text_length": 69.6335361067504,
364
+ "max_text_length": 354,
365
+ "unique_text": 10192,
366
+ "unique_labels": 3,
367
+ "labels": {
368
+ "2": {
369
+ "count": 2600
370
+ },
371
+ "1": {
372
+ "count": 4508
373
+ },
374
+ "0": {
375
+ "count": 3084
376
+ }
377
+ }
378
+ },
379
+ "pcm": {
380
+ "num_samples": 5121,
381
+ "number_of_characters": 594073,
382
+ "number_texts_intersect_with_train": null,
383
+ "min_text_length": 9,
384
+ "average_text_length": 116.00722515133764,
385
+ "max_text_length": 279,
386
+ "unique_text": 4609,
387
+ "unique_labels": 3,
388
+ "labels": {
389
+ "2": {
390
+ "count": 3241
391
+ },
392
+ "1": {
393
+ "count": 72
394
+ },
395
+ "0": {
396
+ "count": 1808
397
+ }
398
+ }
399
+ },
400
+ "yor": {
401
+ "num_samples": 8522,
402
+ "number_of_characters": 1002369,
403
+ "number_texts_intersect_with_train": null,
404
+ "min_text_length": 9,
405
+ "average_text_length": 117.62133302041774,
406
+ "max_text_length": 354,
407
+ "unique_text": 8522,
408
+ "unique_labels": 3,
409
+ "labels": {
410
+ "2": {
411
+ "count": 1872
412
+ },
413
+ "1": {
414
+ "count": 3108
415
+ },
416
+ "0": {
417
+ "count": 3542
418
+ }
419
+ }
420
+ }
421
+ }
422
+ }
423
+ }
424
+ ```
425
+
426
+ </details>
427
+
428
+ ---
429
+ *This dataset card was automatically generated using [MTEB](https://github.com/embeddings-benchmark/mteb)*