Datasets:
mteb
/

Modalities:
Text
Formats:
parquet
Languages:
Swedish
ArXiv:
Libraries:
Datasets
pandas
License:
Samoed commited on
Commit
e0703b0
·
verified ·
1 Parent(s): 240a3d4

Add dataset card

Browse files
Files changed (1) hide show
  1. README.md +153 -1
README.md CHANGED
@@ -1,6 +1,14 @@
1
  ---
 
 
2
  language:
3
- - sv
 
 
 
 
 
 
4
  dataset_info:
5
  features:
6
  - name: text
@@ -28,4 +36,148 @@ configs:
28
  path: data/test-*
29
  - split: val
30
  path: data/val-*
 
 
 
31
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ annotations_creators:
3
+ - derived
4
  language:
5
+ - swe
6
+ license: cc-by-sa-4.0
7
+ multilinguality: monolingual
8
+ task_categories:
9
+ - text-classification
10
+ task_ids:
11
+ - Sentiment/Hate speech
12
  dataset_info:
13
  features:
14
  - name: text
 
36
  path: data/test-*
37
  - split: val
38
  path: data/val-*
39
+ tags:
40
+ - mteb
41
+ - text
42
  ---
43
+ <!-- adapted from https://github.com/huggingface/huggingface_hub/blob/v0.30.2/src/huggingface_hub/templates/datasetcard_template.md -->
44
+
45
+ <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;">
46
+ <h1 style="font-size: 3.5rem; color: #1a1a1a; margin: 0 0 20px 0; letter-spacing: 2px; font-weight: 700;">SweRecClassification</h1>
47
+ <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>
48
+ <div style="font-size: 0.9rem; color: #2c5282; margin-top: 10px;">Massive Text Embedding Benchmark</div>
49
+ </div>
50
+
51
+ A Swedish dataset for sentiment classification on review
52
+
53
+ | | |
54
+ |---------------|---------------------------------------------|
55
+ | Task category | t2c |
56
+ | Domains | Reviews, Written |
57
+ | Reference | https://aclanthology.org/2023.nodalida-1.20/ |
58
+
59
+
60
+ ## How to evaluate on this task
61
+
62
+ You can evaluate an embedding model on this dataset using the following code:
63
+
64
+ ```python
65
+ import mteb
66
+
67
+ task = mteb.get_tasks(["SweRecClassification"])
68
+ evaluator = mteb.MTEB(task)
69
+
70
+ model = mteb.get_model(YOUR_MODEL)
71
+ evaluator.run(model)
72
+ ```
73
+
74
+ <!-- Datasets want link to arxiv in readme to autolink dataset with paper -->
75
+ To learn more about how to run models on `mteb` task check out the [GitHub repitory](https://github.com/embeddings-benchmark/mteb).
76
+
77
+ ## Citation
78
+
79
+ 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).
80
+
81
+ ```bibtex
82
+
83
+ @inproceedings{nielsen-2023-scandeval,
84
+ address = {T{\'o}rshavn, Faroe Islands},
85
+ author = {Nielsen, Dan},
86
+ booktitle = {Proceedings of the 24th Nordic Conference on Computational Linguistics (NoDaLiDa)},
87
+ editor = {Alum{\"a}e, Tanel and
88
+ Fishel, Mark},
89
+ month = may,
90
+ pages = {185--201},
91
+ publisher = {University of Tartu Library},
92
+ title = {{S}cand{E}val: A Benchmark for {S}candinavian Natural Language Processing},
93
+ url = {https://aclanthology.org/2023.nodalida-1.20},
94
+ year = {2023},
95
+ }
96
+
97
+
98
+ @article{enevoldsen2025mmtebmassivemultilingualtext,
99
+ title={MMTEB: Massive Multilingual Text Embedding Benchmark},
100
+ 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},
101
+ publisher = {arXiv},
102
+ journal={arXiv preprint arXiv:2502.13595},
103
+ year={2025},
104
+ url={https://arxiv.org/abs/2502.13595},
105
+ doi = {10.48550/arXiv.2502.13595},
106
+ }
107
+
108
+ @article{muennighoff2022mteb,
109
+ author = {Muennighoff, Niklas and Tazi, Nouamane and Magne, Lo{\"\i}c and Reimers, Nils},
110
+ title = {MTEB: Massive Text Embedding Benchmark},
111
+ publisher = {arXiv},
112
+ journal={arXiv preprint arXiv:2210.07316},
113
+ year = {2022}
114
+ url = {https://arxiv.org/abs/2210.07316},
115
+ doi = {10.48550/ARXIV.2210.07316},
116
+ }
117
+ ```
118
+
119
+ # Dataset Statistics
120
+ <details>
121
+ <summary> Dataset Statistics</summary>
122
+
123
+ The following code contains the descriptive statistics from the task. These can also be obtained using:
124
+
125
+ ```python
126
+ import mteb
127
+
128
+ task = mteb.get_task("SweRecClassification")
129
+
130
+ desc_stats = task.metadata.descriptive_stats
131
+ ```
132
+
133
+ ```json
134
+ {
135
+ "test": {
136
+ "num_samples": 2048,
137
+ "number_of_characters": 652973,
138
+ "number_texts_intersect_with_train": 0,
139
+ "min_text_length": 12,
140
+ "average_text_length": 318.83447265625,
141
+ "max_text_length": 11715,
142
+ "unique_text": 2048,
143
+ "unique_labels": 3,
144
+ "labels": {
145
+ "negative": {
146
+ "count": 830
147
+ },
148
+ "neutral": {
149
+ "count": 256
150
+ },
151
+ "positive": {
152
+ "count": 962
153
+ }
154
+ }
155
+ },
156
+ "train": {
157
+ "num_samples": 1024,
158
+ "number_of_characters": 325359,
159
+ "number_texts_intersect_with_train": null,
160
+ "min_text_length": 2,
161
+ "average_text_length": 317.7333984375,
162
+ "max_text_length": 3865,
163
+ "unique_text": 1024,
164
+ "unique_labels": 3,
165
+ "labels": {
166
+ "positive": {
167
+ "count": 481
168
+ },
169
+ "negative": {
170
+ "count": 415
171
+ },
172
+ "neutral": {
173
+ "count": 128
174
+ }
175
+ }
176
+ }
177
+ }
178
+ ```
179
+
180
+ </details>
181
+
182
+ ---
183
+ *This dataset card was automatically generated using [MTEB](https://github.com/embeddings-benchmark/mteb)*