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
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ annotations_creators:
3
+ - expert-annotated
4
+ language:
5
+ - kin
6
+ - run
7
+ license: mit
8
+ multilinguality: multilingual
9
+ source_datasets:
10
+ - andreniyongabo/kinnews_kirnews
11
+ task_categories:
12
+ - text-classification
13
+ task_ids:
14
+ - topic-classification
15
+ dataset_info:
16
+ - config_name: kinnews_cleaned
17
+ features:
18
+ - name: text
19
+ dtype: string
20
+ - name: label
21
+ dtype: int64
22
+ splits:
23
+ - name: train
24
+ num_bytes: 20011123
25
+ num_examples: 9075
26
+ - name: test
27
+ num_bytes: 4432204
28
+ num_examples: 2008
29
+ download_size: 13396388
30
+ dataset_size: 24443327
31
+ - config_name: kirnews_cleaned
32
+ features:
33
+ - name: text
34
+ dtype: string
35
+ - name: label
36
+ dtype: int64
37
+ splits:
38
+ - name: train
39
+ num_bytes: 2828871
40
+ num_examples: 1749
41
+ - name: test
42
+ num_bytes: 87818
43
+ num_examples: 65
44
+ download_size: 1629277
45
+ dataset_size: 2916689
46
+ configs:
47
+ - config_name: kinnews_cleaned
48
+ data_files:
49
+ - split: train
50
+ path: kinnews_cleaned/train-*
51
+ - split: test
52
+ path: kinnews_cleaned/test-*
53
+ - config_name: kirnews_cleaned
54
+ data_files:
55
+ - split: train
56
+ path: kirnews_cleaned/train-*
57
+ - split: test
58
+ path: kirnews_cleaned/test-*
59
+ tags:
60
+ - mteb
61
+ - text
62
+ ---
63
+ <!-- adapted from https://github.com/huggingface/huggingface_hub/blob/v0.30.2/src/huggingface_hub/templates/datasetcard_template.md -->
64
+
65
+ <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;">
66
+ <h1 style="font-size: 3.5rem; color: #1a1a1a; margin: 0 0 20px 0; letter-spacing: 2px; font-weight: 700;">KinNewsClassification</h1>
67
+ <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>
68
+ <div style="font-size: 0.9rem; color: #2c5282; margin-top: 10px;">Massive Text Embedding Benchmark</div>
69
+ </div>
70
+
71
+ Kinyarwanda and Kirundi news classification datasets (KINNEWS and KIRNEWS, respectively), which were both collected from Rwanda and Burundi news websites and newspapers, for low-resource monolingual and cross-lingual multiclass classification tasks. Each news article can be classified into one of 14 possible classes: politics, sport, economy, health, entertainment, history, technology, culture, religion, environment, education, relationship.
72
+
73
+ | | |
74
+ |---------------|---------------------------------------------|
75
+ | Task category | t2c |
76
+ | Domains | News, Written |
77
+ | Reference | https://arxiv.org/abs/2010.12174 |
78
+
79
+ Source datasets:
80
+ - [andreniyongabo/kinnews_kirnews](https://huggingface.co/datasets/andreniyongabo/kinnews_kirnews)
81
+
82
+
83
+ ## Dataset Preparation in MTEB
84
+
85
+ This repository is a staging copy of `andreniyongabo/kinnews_kirnews` for MTEB. The intended long-term canonical benchmark copy is `mteb/KinNewsClassification`.
86
+
87
+ ### Transformations
88
+ - Built `text = title + " " + content`
89
+ - Preserved the two source configs: `kinnews_cleaned` and `kirnews_cleaned`
90
+ - Applied dataset cleaning before upload to reduce duplicates and train-test leakage in the benchmark copy
91
+
92
+ ### Label Schema
93
+ - Integer class labels from the source dataset are preserved
94
+
95
+ ### Splits and subsets
96
+ - `kinnews_cleaned`: cleaned train/test splits
97
+ - `kirnews_cleaned`: cleaned train/test splits
98
+
99
+ ## How to evaluate on this task
100
+
101
+ You can evaluate an embedding model on this dataset using the following code:
102
+
103
+ ```python
104
+ import mteb
105
+
106
+ task = mteb.get_task("KinNewsClassification")
107
+ evaluator = mteb.MTEB([task])
108
+
109
+ model = mteb.get_model(YOUR_MODEL)
110
+ evaluator.run(model)
111
+ ```
112
+
113
+ <!-- Datasets want link to arxiv in readme to autolink dataset with paper -->
114
+ To learn more about how to run models on `mteb` task check out the [GitHub repository](https://github.com/embeddings-benchmark/mteb).
115
+
116
+ ## Citation
117
+
118
+ 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).
119
+
120
+ ```bibtex
121
+ @article{niyongabo2020kinnews,
122
+ author = {Niyongabo, Rubungo Andre and Qu, Hong and Kreutzer, Julia and Huang, Li},
123
+ journal = {arXiv preprint arXiv:2010.12174},
124
+ title = {KINNEWS and KIRNEWS: Benchmarking Cross-Lingual Text Classification for Kinyarwanda and Kirundi},
125
+ year = {2020},
126
+ }
127
+
128
+
129
+ @article{enevoldsen2025mmtebmassivemultilingualtext,
130
+ title={MMTEB: Massive Multilingual Text Embedding Benchmark},
131
+ 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},
132
+ publisher = {arXiv},
133
+ journal={arXiv preprint arXiv:2502.13595},
134
+ year={2025},
135
+ url={https://arxiv.org/abs/2502.13595},
136
+ doi = {10.48550/arXiv.2502.13595},
137
+ }
138
+
139
+ @article{muennighoff2022mteb,
140
+ author = {Muennighoff, Niklas and Tazi, Nouamane and Magne, Loïc and Reimers, Nils},
141
+ title = {MTEB: Massive Text Embedding Benchmark},
142
+ publisher = {arXiv},
143
+ journal={arXiv preprint arXiv:2210.07316},
144
+ year = {2022}
145
+ url = {https://arxiv.org/abs/2210.07316},
146
+ doi = {10.48550/ARXIV.2210.07316},
147
+ }
148
+ ```
149
+
150
+ # Dataset Statistics
151
+ <details>
152
+ <summary> Dataset Statistics</summary>
153
+
154
+ The following code contains the descriptive statistics from the task. These can also be obtained using:
155
+
156
+ ```python
157
+ import mteb
158
+
159
+ task = mteb.get_task("KinNewsClassification")
160
+
161
+ desc_stats = task.metadata.descriptive_stats
162
+ ```
163
+
164
+ ```json
165
+ {
166
+ "test": {
167
+ "num_samples": 5177,
168
+ "number_texts_intersect_with_train": 1294,
169
+ "text_statistics": {
170
+ "total_text_length": 9500557,
171
+ "min_text_length": 137,
172
+ "average_text_length": 1835.1471894919837,
173
+ "max_text_length": 32815,
174
+ "unique_texts": 3367
175
+ },
176
+ "image_statistics": null,
177
+ "audio_statistics": null,
178
+ "label_statistics": {
179
+ "min_labels_per_text": 1,
180
+ "average_label_per_text": 1.0,
181
+ "max_labels_per_text": 1,
182
+ "unique_labels": 14,
183
+ "labels": {
184
+ "1": {
185
+ "count": 926
186
+ },
187
+ "10": {
188
+ "count": 162
189
+ },
190
+ "3": {
191
+ "count": 408
192
+ },
193
+ "4": {
194
+ "count": 680
195
+ },
196
+ "0": {
197
+ "count": 1311
198
+ },
199
+ "6": {
200
+ "count": 101
201
+ },
202
+ "2": {
203
+ "count": 971
204
+ },
205
+ "8": {
206
+ "count": 108
207
+ },
208
+ "13": {
209
+ "count": 200
210
+ },
211
+ "9": {
212
+ "count": 43
213
+ },
214
+ "12": {
215
+ "count": 78
216
+ },
217
+ "11": {
218
+ "count": 45
219
+ },
220
+ "5": {
221
+ "count": 67
222
+ },
223
+ "7": {
224
+ "count": 77
225
+ }
226
+ }
227
+ },
228
+ "hf_subset_descriptive_stats": {
229
+ "kinnews_cleaned": {
230
+ "num_samples": 4254,
231
+ "number_texts_intersect_with_train": 678,
232
+ "text_statistics": {
233
+ "total_text_length": 7979747,
234
+ "min_text_length": 137,
235
+ "average_text_length": 1875.822049835449,
236
+ "max_text_length": 32815,
237
+ "unique_texts": 2686
238
+ },
239
+ "image_statistics": null,
240
+ "audio_statistics": null,
241
+ "label_statistics": {
242
+ "min_labels_per_text": 1,
243
+ "average_label_per_text": 1.0,
244
+ "max_labels_per_text": 1,
245
+ "unique_labels": 14,
246
+ "labels": {
247
+ "1": {
248
+ "count": 635
249
+ },
250
+ "10": {
251
+ "count": 154
252
+ },
253
+ "3": {
254
+ "count": 366
255
+ },
256
+ "4": {
257
+ "count": 651
258
+ },
259
+ "0": {
260
+ "count": 979
261
+ },
262
+ "6": {
263
+ "count": 87
264
+ },
265
+ "2": {
266
+ "count": 899
267
+ },
268
+ "8": {
269
+ "count": 95
270
+ },
271
+ "13": {
272
+ "count": 133
273
+ },
274
+ "9": {
275
+ "count": 43
276
+ },
277
+ "12": {
278
+ "count": 34
279
+ },
280
+ "11": {
281
+ "count": 36
282
+ },
283
+ "5": {
284
+ "count": 65
285
+ },
286
+ "7": {
287
+ "count": 77
288
+ }
289
+ }
290
+ }
291
+ },
292
+ "kirnews_cleaned": {
293
+ "num_samples": 923,
294
+ "number_texts_intersect_with_train": 616,
295
+ "text_statistics": {
296
+ "total_text_length": 1520810,
297
+ "min_text_length": 153,
298
+ "average_text_length": 1647.6814734561212,
299
+ "max_text_length": 6449,
300
+ "unique_texts": 681
301
+ },
302
+ "image_statistics": null,
303
+ "audio_statistics": null,
304
+ "label_statistics": {
305
+ "min_labels_per_text": 1,
306
+ "average_label_per_text": 1.0,
307
+ "max_labels_per_text": 1,
308
+ "unique_labels": 12,
309
+ "labels": {
310
+ "1": {
311
+ "count": 291
312
+ },
313
+ "0": {
314
+ "count": 332
315
+ },
316
+ "13": {
317
+ "count": 67
318
+ },
319
+ "12": {
320
+ "count": 44
321
+ },
322
+ "2": {
323
+ "count": 72
324
+ },
325
+ "8": {
326
+ "count": 13
327
+ },
328
+ "4": {
329
+ "count": 29
330
+ },
331
+ "10": {
332
+ "count": 8
333
+ },
334
+ "3": {
335
+ "count": 42
336
+ },
337
+ "11": {
338
+ "count": 9
339
+ },
340
+ "6": {
341
+ "count": 14
342
+ },
343
+ "5": {
344
+ "count": 2
345
+ }
346
+ }
347
+ }
348
+ }
349
+ }
350
+ },
351
+ "train": {
352
+ "num_samples": 20703,
353
+ "number_texts_intersect_with_train": null,
354
+ "text_statistics": {
355
+ "total_text_length": 38259142,
356
+ "min_text_length": 33,
357
+ "average_text_length": 1847.999903395643,
358
+ "max_text_length": 67385,
359
+ "unique_texts": 10824
360
+ },
361
+ "image_statistics": null,
362
+ "audio_statistics": null,
363
+ "label_statistics": {
364
+ "min_labels_per_text": 1,
365
+ "average_label_per_text": 1.0,
366
+ "max_labels_per_text": 1,
367
+ "unique_labels": 14,
368
+ "labels": {
369
+ "2": {
370
+ "count": 3835
371
+ },
372
+ "4": {
373
+ "count": 2685
374
+ },
375
+ "1": {
376
+ "count": 3578
377
+ },
378
+ "6": {
379
+ "count": 408
380
+ },
381
+ "0": {
382
+ "count": 5239
383
+ },
384
+ "10": {
385
+ "count": 668
386
+ },
387
+ "11": {
388
+ "count": 226
389
+ },
390
+ "3": {
391
+ "count": 1770
392
+ },
393
+ "9": {
394
+ "count": 162
395
+ },
396
+ "8": {
397
+ "count": 380
398
+ },
399
+ "7": {
400
+ "count": 301
401
+ },
402
+ "13": {
403
+ "count": 928
404
+ },
405
+ "12": {
406
+ "count": 314
407
+ },
408
+ "5": {
409
+ "count": 209
410
+ }
411
+ }
412
+ },
413
+ "hf_subset_descriptive_stats": {
414
+ "kinnews_cleaned": {
415
+ "num_samples": 17014,
416
+ "number_texts_intersect_with_train": null,
417
+ "text_statistics": {
418
+ "total_text_length": 31840528,
419
+ "min_text_length": 33,
420
+ "average_text_length": 1871.431056776772,
421
+ "max_text_length": 67385,
422
+ "unique_texts": 9075
423
+ },
424
+ "image_statistics": null,
425
+ "audio_statistics": null,
426
+ "label_statistics": {
427
+ "min_labels_per_text": 1,
428
+ "average_label_per_text": 1.0,
429
+ "max_labels_per_text": 1,
430
+ "unique_labels": 14,
431
+ "labels": {
432
+ "2": {
433
+ "count": 3519
434
+ },
435
+ "4": {
436
+ "count": 2578
437
+ },
438
+ "1": {
439
+ "count": 2469
440
+ },
441
+ "6": {
442
+ "count": 352
443
+ },
444
+ "0": {
445
+ "count": 3929
446
+ },
447
+ "10": {
448
+ "count": 628
449
+ },
450
+ "11": {
451
+ "count": 177
452
+ },
453
+ "3": {
454
+ "count": 1548
455
+ },
456
+ "9": {
457
+ "count": 162
458
+ },
459
+ "8": {
460
+ "count": 341
461
+ },
462
+ "7": {
463
+ "count": 301
464
+ },
465
+ "13": {
466
+ "count": 667
467
+ },
468
+ "12": {
469
+ "count": 152
470
+ },
471
+ "5": {
472
+ "count": 191
473
+ }
474
+ }
475
+ }
476
+ },
477
+ "kirnews_cleaned": {
478
+ "num_samples": 3689,
479
+ "number_texts_intersect_with_train": null,
480
+ "text_statistics": {
481
+ "total_text_length": 6418614,
482
+ "min_text_length": 117,
483
+ "average_text_length": 1739.9333152615884,
484
+ "max_text_length": 10925,
485
+ "unique_texts": 1749
486
+ },
487
+ "image_statistics": null,
488
+ "audio_statistics": null,
489
+ "label_statistics": {
490
+ "min_labels_per_text": 1,
491
+ "average_label_per_text": 1.0,
492
+ "max_labels_per_text": 1,
493
+ "unique_labels": 12,
494
+ "labels": {
495
+ "0": {
496
+ "count": 1310
497
+ },
498
+ "1": {
499
+ "count": 1109
500
+ },
501
+ "3": {
502
+ "count": 222
503
+ },
504
+ "4": {
505
+ "count": 107
506
+ },
507
+ "2": {
508
+ "count": 316
509
+ },
510
+ "10": {
511
+ "count": 40
512
+ },
513
+ "6": {
514
+ "count": 56
515
+ },
516
+ "8": {
517
+ "count": 39
518
+ },
519
+ "5": {
520
+ "count": 18
521
+ },
522
+ "13": {
523
+ "count": 261
524
+ },
525
+ "12": {
526
+ "count": 162
527
+ },
528
+ "11": {
529
+ "count": 49
530
+ }
531
+ }
532
+ }
533
+ }
534
+ }
535
+ }
536
+ }
537
+ ```
538
+
539
+ </details>
540
+
541
+ ---
542
+ *This dataset card was automatically generated using [MTEB](https://github.com/embeddings-benchmark/mteb)*
kinnews_cleaned/test-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:876f2ffbe8b8703b3397b7720f975a434133fef6cb6eef71538915bdcf321c53
3
+ size 2439691
kinnews_cleaned/train-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c3214a7b7e09d4ff11fec5a22c1fe35a71f6c346cda67ddc47da280a616a8575
3
+ size 10956697
kirnews_cleaned/test-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9ce6bc80dd6c10772315da0bdd75f45632b6e05c07485bbd56fcfe5b9d8a0a2a
3
+ size 53429
kirnews_cleaned/train-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ea0b61483cd9b140c9db20deecf240c50df69b27b832a4fc2cfad65558f9167a
3
+ size 1575848