Datasets:

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

Add dataset card

Browse files
Files changed (1) hide show
  1. README.md +326 -0
README.md CHANGED
@@ -1,4 +1,14 @@
1
  ---
 
 
 
 
 
 
 
 
 
 
2
  dataset_info:
3
  - config_name: catalan
4
  features:
@@ -53,4 +63,320 @@ configs:
53
  path: spanish/test-*
54
  - split: validation
55
  path: spanish/validation-*
 
 
 
56
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ annotations_creators:
3
+ - expert-annotated
4
+ language:
5
+ - cat
6
+ - spa
7
+ license: cc-by-sa-4.0
8
+ multilinguality: multilingual
9
+ task_categories:
10
+ - text-classification
11
+ task_ids: []
12
  dataset_info:
13
  - config_name: catalan
14
  features:
 
63
  path: spanish/test-*
64
  - split: validation
65
  path: spanish/validation-*
66
+ tags:
67
+ - mteb
68
+ - text
69
  ---
70
+ <!-- adapted from https://github.com/huggingface/huggingface_hub/blob/v0.30.2/src/huggingface_hub/templates/datasetcard_template.md -->
71
+
72
+ <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;">
73
+ <h1 style="font-size: 3.5rem; color: #1a1a1a; margin: 0 0 20px 0; letter-spacing: 2px; font-weight: 700;">CataloniaTweetClassification</h1>
74
+ <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>
75
+ <div style="font-size: 0.9rem; color: #2c5282; margin-top: 10px;">Massive Text Embedding Benchmark</div>
76
+ </div>
77
+
78
+ This dataset contains two corpora in Spanish and Catalan that consist of annotated Twitter
79
+ messages for automatic stance detection. The data was collected over 12 days during February and March
80
+ of 2019 from tweets posted in Barcelona, and during September of 2018 from tweets posted in the town of Terrassa, Catalonia.
81
+ Each corpus is annotated with three classes: AGAINST, FAVOR and NEUTRAL, which express the stance
82
+ towards the target - independence of Catalonia.
83
+
84
+
85
+ | | |
86
+ |---------------|---------------------------------------------|
87
+ | Task category | t2c |
88
+ | Domains | Social, Government, Written |
89
+ | Reference | https://aclanthology.org/2020.lrec-1.171/ |
90
+
91
+
92
+ ## How to evaluate on this task
93
+
94
+ You can evaluate an embedding model on this dataset using the following code:
95
+
96
+ ```python
97
+ import mteb
98
+
99
+ task = mteb.get_tasks(["CataloniaTweetClassification"])
100
+ evaluator = mteb.MTEB(task)
101
+
102
+ model = mteb.get_model(YOUR_MODEL)
103
+ evaluator.run(model)
104
+ ```
105
+
106
+ <!-- Datasets want link to arxiv in readme to autolink dataset with paper -->
107
+ To learn more about how to run models on `mteb` task check out the [GitHub repitory](https://github.com/embeddings-benchmark/mteb).
108
+
109
+ ## Citation
110
+
111
+ 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).
112
+
113
+ ```bibtex
114
+
115
+ @inproceedings{zotova-etal-2020-multilingual,
116
+ author = {Zotova, Elena and
117
+ Agerri, Rodrigo and
118
+ Nu{\~n}ez, Manuel and
119
+ Rigau, German},
120
+ booktitle = {Proceedings of the Twelfth Language Resources and Evaluation Conference},
121
+ editor = {Calzolari, Nicoletta and
122
+ B{\'e}chet, Fr{\'e}d{\'e}ric and
123
+ Blache, Philippe and
124
+ Choukri, Khalid and
125
+ Cieri, Christopher and
126
+ Declerck, Thierry and
127
+ Goggi, Sara and
128
+ Isahara, Hitoshi and
129
+ Maegaard, Bente and
130
+ Mariani, Joseph and
131
+ Mazo, H{\'e}l{\`e}ne and
132
+ Moreno, Asuncion and
133
+ Odijk, Jan and
134
+ Piperidis, Stelios},
135
+ isbn = {979-10-95546-34-4},
136
+ month = may,
137
+ pages = {1368--1375},
138
+ publisher = {European Language Resources Association},
139
+ title = {Multilingual Stance Detection in Tweets: The {C}atalonia Independence Corpus},
140
+ year = {2020},
141
+ }
142
+
143
+
144
+ @article{enevoldsen2025mmtebmassivemultilingualtext,
145
+ title={MMTEB: Massive Multilingual Text Embedding Benchmark},
146
+ 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},
147
+ publisher = {arXiv},
148
+ journal={arXiv preprint arXiv:2502.13595},
149
+ year={2025},
150
+ url={https://arxiv.org/abs/2502.13595},
151
+ doi = {10.48550/arXiv.2502.13595},
152
+ }
153
+
154
+ @article{muennighoff2022mteb,
155
+ author = {Muennighoff, Niklas and Tazi, Nouamane and Magne, Lo{\"\i}c and Reimers, Nils},
156
+ title = {MTEB: Massive Text Embedding Benchmark},
157
+ publisher = {arXiv},
158
+ journal={arXiv preprint arXiv:2210.07316},
159
+ year = {2022}
160
+ url = {https://arxiv.org/abs/2210.07316},
161
+ doi = {10.48550/ARXIV.2210.07316},
162
+ }
163
+ ```
164
+
165
+ # Dataset Statistics
166
+ <details>
167
+ <summary> Dataset Statistics</summary>
168
+
169
+ The following code contains the descriptive statistics from the task. These can also be obtained using:
170
+
171
+ ```python
172
+ import mteb
173
+
174
+ task = mteb.get_task("CataloniaTweetClassification")
175
+
176
+ desc_stats = task.metadata.descriptive_stats
177
+ ```
178
+
179
+ ```json
180
+ {
181
+ "validation": {
182
+ "num_samples": 4025,
183
+ "number_of_characters": 814740,
184
+ "number_texts_intersect_with_train": 5,
185
+ "min_text_length": 17,
186
+ "average_text_length": 202.4198757763975,
187
+ "max_text_length": 956,
188
+ "unique_text": 4025,
189
+ "unique_labels": 3,
190
+ "labels": {
191
+ "1": {
192
+ "count": 1545
193
+ },
194
+ "0": {
195
+ "count": 1676
196
+ },
197
+ "2": {
198
+ "count": 804
199
+ }
200
+ },
201
+ "hf_subset_descriptive_stats": {
202
+ "spanish": {
203
+ "num_samples": 2015,
204
+ "number_of_characters": 424553,
205
+ "number_texts_intersect_with_train": 5,
206
+ "min_text_length": 17,
207
+ "average_text_length": 210.69627791563275,
208
+ "max_text_length": 956,
209
+ "unique_text": 2015,
210
+ "unique_labels": 3,
211
+ "labels": {
212
+ "1": {
213
+ "count": 782
214
+ },
215
+ "0": {
216
+ "count": 856
217
+ },
218
+ "2": {
219
+ "count": 377
220
+ }
221
+ }
222
+ },
223
+ "catalan": {
224
+ "num_samples": 2010,
225
+ "number_of_characters": 390187,
226
+ "number_texts_intersect_with_train": 0,
227
+ "min_text_length": 26,
228
+ "average_text_length": 194.1228855721393,
229
+ "max_text_length": 753,
230
+ "unique_text": 2010,
231
+ "unique_labels": 3,
232
+ "labels": {
233
+ "1": {
234
+ "count": 763
235
+ },
236
+ "2": {
237
+ "count": 427
238
+ },
239
+ "0": {
240
+ "count": 820
241
+ }
242
+ }
243
+ }
244
+ }
245
+ },
246
+ "test": {
247
+ "num_samples": 4026,
248
+ "number_of_characters": 807122,
249
+ "number_texts_intersect_with_train": 4,
250
+ "min_text_length": 21,
251
+ "average_text_length": 200.47739692001988,
252
+ "max_text_length": 911,
253
+ "unique_text": 4026,
254
+ "unique_labels": 3,
255
+ "labels": {
256
+ "0": {
257
+ "count": 1581
258
+ },
259
+ "1": {
260
+ "count": 1611
261
+ },
262
+ "2": {
263
+ "count": 834
264
+ }
265
+ },
266
+ "hf_subset_descriptive_stats": {
267
+ "spanish": {
268
+ "num_samples": 2016,
269
+ "number_of_characters": 421522,
270
+ "number_texts_intersect_with_train": 1,
271
+ "min_text_length": 21,
272
+ "average_text_length": 209.08829365079364,
273
+ "max_text_length": 911,
274
+ "unique_text": 2016,
275
+ "unique_labels": 3,
276
+ "labels": {
277
+ "0": {
278
+ "count": 829
279
+ },
280
+ "1": {
281
+ "count": 807
282
+ },
283
+ "2": {
284
+ "count": 380
285
+ }
286
+ }
287
+ },
288
+ "catalan": {
289
+ "num_samples": 2010,
290
+ "number_of_characters": 385600,
291
+ "number_texts_intersect_with_train": 0,
292
+ "min_text_length": 26,
293
+ "average_text_length": 191.8407960199005,
294
+ "max_text_length": 781,
295
+ "unique_text": 2010,
296
+ "unique_labels": 3,
297
+ "labels": {
298
+ "1": {
299
+ "count": 804
300
+ },
301
+ "2": {
302
+ "count": 454
303
+ },
304
+ "0": {
305
+ "count": 752
306
+ }
307
+ }
308
+ }
309
+ }
310
+ },
311
+ "train": {
312
+ "num_samples": 12074,
313
+ "number_of_characters": 2421991,
314
+ "number_texts_intersect_with_train": null,
315
+ "min_text_length": 16,
316
+ "average_text_length": 200.59557727348022,
317
+ "max_text_length": 938,
318
+ "unique_text": 12070,
319
+ "unique_labels": 3,
320
+ "labels": {
321
+ "0": {
322
+ "count": 4836
323
+ },
324
+ "2": {
325
+ "count": 2388
326
+ },
327
+ "1": {
328
+ "count": 4850
329
+ }
330
+ },
331
+ "hf_subset_descriptive_stats": {
332
+ "spanish": {
333
+ "num_samples": 6046,
334
+ "number_of_characters": 1266286,
335
+ "number_texts_intersect_with_train": null,
336
+ "min_text_length": 16,
337
+ "average_text_length": 209.44194508766125,
338
+ "max_text_length": 938,
339
+ "unique_text": 6043,
340
+ "unique_labels": 3,
341
+ "labels": {
342
+ "0": {
343
+ "count": 2420
344
+ },
345
+ "2": {
346
+ "count": 1111
347
+ },
348
+ "1": {
349
+ "count": 2515
350
+ }
351
+ }
352
+ },
353
+ "catalan": {
354
+ "num_samples": 6028,
355
+ "number_of_characters": 1155705,
356
+ "number_texts_intersect_with_train": null,
357
+ "min_text_length": 30,
358
+ "average_text_length": 191.72279362972793,
359
+ "max_text_length": 828,
360
+ "unique_text": 6028,
361
+ "unique_labels": 3,
362
+ "labels": {
363
+ "0": {
364
+ "count": 2416
365
+ },
366
+ "1": {
367
+ "count": 2335
368
+ },
369
+ "2": {
370
+ "count": 1277
371
+ }
372
+ }
373
+ }
374
+ }
375
+ }
376
+ }
377
+ ```
378
+
379
+ </details>
380
+
381
+ ---
382
+ *This dataset card was automatically generated using [MTEB](https://github.com/embeddings-benchmark/mteb)*