Datasets:
mteb
/

Modalities:
Text
Formats:
parquet
Languages:
English
ArXiv:
Libraries:
Datasets
pandas
License:
Samoed commited on
Commit
84af475
·
verified ·
1 Parent(s): e1d6261

Add dataset card

Browse files
Files changed (1) hide show
  1. README.md +176 -0
README.md CHANGED
@@ -1,4 +1,17 @@
1
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  dataset_info:
3
  features:
4
  - name: text
@@ -26,4 +39,167 @@ configs:
26
  path: data/validation-*
27
  - split: test
28
  path: data/test-*
 
 
 
29
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ annotations_creators:
3
+ - human-annotated
4
+ language:
5
+ - eng
6
+ license: cc-by-4.0
7
+ multilinguality: monolingual
8
+ task_categories:
9
+ - text-classification
10
+ task_ids:
11
+ - sentiment-analysis
12
+ - sentiment-scoring
13
+ - sentiment-classification
14
+ - hate-speech-detection
15
  dataset_info:
16
  features:
17
  - name: text
 
39
  path: data/validation-*
40
  - split: test
41
  path: data/test-*
42
+ tags:
43
+ - mteb
44
+ - text
45
  ---
46
+ <!-- adapted from https://github.com/huggingface/huggingface_hub/blob/v0.30.2/src/huggingface_hub/templates/datasetcard_template.md -->
47
+
48
+ <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;">
49
+ <h1 style="font-size: 3.5rem; color: #1a1a1a; margin: 0 0 20px 0; letter-spacing: 2px; font-weight: 700;">PoemSentimentClassification</h1>
50
+ <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>
51
+ <div style="font-size: 0.9rem; color: #2c5282; margin-top: 10px;">Massive Text Embedding Benchmark</div>
52
+ </div>
53
+
54
+ Poem Sentiment is a sentiment dataset of poem verses from Project Gutenberg.
55
+
56
+ | | |
57
+ |---------------|---------------------------------------------|
58
+ | Task category | t2c |
59
+ | Domains | Reviews, Written |
60
+ | Reference | https://arxiv.org/abs/2011.02686 |
61
+
62
+
63
+ ## How to evaluate on this task
64
+
65
+ You can evaluate an embedding model on this dataset using the following code:
66
+
67
+ ```python
68
+ import mteb
69
+
70
+ task = mteb.get_tasks(["PoemSentimentClassification"])
71
+ evaluator = mteb.MTEB(task)
72
+
73
+ model = mteb.get_model(YOUR_MODEL)
74
+ evaluator.run(model)
75
+ ```
76
+
77
+ <!-- Datasets want link to arxiv in readme to autolink dataset with paper -->
78
+ To learn more about how to run models on `mteb` task check out the [GitHub repitory](https://github.com/embeddings-benchmark/mteb).
79
+
80
+ ## Citation
81
+
82
+ 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).
83
+
84
+ ```bibtex
85
+
86
+ @misc{sheng2020investigating,
87
+ archiveprefix = {arXiv},
88
+ author = {Emily Sheng and David Uthus},
89
+ eprint = {2011.02686},
90
+ primaryclass = {cs.CL},
91
+ title = {Investigating Societal Biases in a Poetry Composition System},
92
+ year = {2020},
93
+ }
94
+
95
+
96
+ @article{enevoldsen2025mmtebmassivemultilingualtext,
97
+ title={MMTEB: Massive Multilingual Text Embedding Benchmark},
98
+ 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},
99
+ publisher = {arXiv},
100
+ journal={arXiv preprint arXiv:2502.13595},
101
+ year={2025},
102
+ url={https://arxiv.org/abs/2502.13595},
103
+ doi = {10.48550/arXiv.2502.13595},
104
+ }
105
+
106
+ @article{muennighoff2022mteb,
107
+ author = {Muennighoff, Niklas and Tazi, Nouamane and Magne, Lo{\"\i}c and Reimers, Nils},
108
+ title = {MTEB: Massive Text Embedding Benchmark},
109
+ publisher = {arXiv},
110
+ journal={arXiv preprint arXiv:2210.07316},
111
+ year = {2022}
112
+ url = {https://arxiv.org/abs/2210.07316},
113
+ doi = {10.48550/ARXIV.2210.07316},
114
+ }
115
+ ```
116
+
117
+ # Dataset Statistics
118
+ <details>
119
+ <summary> Dataset Statistics</summary>
120
+
121
+ The following code contains the descriptive statistics from the task. These can also be obtained using:
122
+
123
+ ```python
124
+ import mteb
125
+
126
+ task = mteb.get_task("PoemSentimentClassification")
127
+
128
+ desc_stats = task.metadata.descriptive_stats
129
+ ```
130
+
131
+ ```json
132
+ {
133
+ "validation": {
134
+ "num_samples": 105,
135
+ "number_of_characters": 4096,
136
+ "number_texts_intersect_with_train": 0,
137
+ "min_text_length": 12,
138
+ "average_text_length": 39.00952380952381,
139
+ "max_text_length": 64,
140
+ "unique_text": 105,
141
+ "unique_labels": 3,
142
+ "labels": {
143
+ "2": {
144
+ "count": 69
145
+ },
146
+ "1": {
147
+ "count": 17
148
+ },
149
+ "0": {
150
+ "count": 19
151
+ }
152
+ }
153
+ },
154
+ "test": {
155
+ "num_samples": 104,
156
+ "number_of_characters": 3907,
157
+ "number_texts_intersect_with_train": 0,
158
+ "min_text_length": 9,
159
+ "average_text_length": 37.56730769230769,
160
+ "max_text_length": 75,
161
+ "unique_text": 104,
162
+ "unique_labels": 3,
163
+ "labels": {
164
+ "2": {
165
+ "count": 69
166
+ },
167
+ "1": {
168
+ "count": 16
169
+ },
170
+ "0": {
171
+ "count": 19
172
+ }
173
+ }
174
+ },
175
+ "train": {
176
+ "num_samples": 892,
177
+ "number_of_characters": 34197,
178
+ "number_texts_intersect_with_train": null,
179
+ "min_text_length": 7,
180
+ "average_text_length": 38.337443946188344,
181
+ "max_text_length": 109,
182
+ "unique_text": 892,
183
+ "unique_labels": 4,
184
+ "labels": {
185
+ "1": {
186
+ "count": 133
187
+ },
188
+ "2": {
189
+ "count": 555
190
+ },
191
+ "0": {
192
+ "count": 155
193
+ },
194
+ "3": {
195
+ "count": 49
196
+ }
197
+ }
198
+ }
199
+ }
200
+ ```
201
+
202
+ </details>
203
+
204
+ ---
205
+ *This dataset card was automatically generated using [MTEB](https://github.com/embeddings-benchmark/mteb)*