Add dataset card
Browse files
README.md
CHANGED
@@ -1,4 +1,17 @@
|
|
1 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
dataset_info:
|
3 |
features:
|
4 |
- name: text
|
@@ -26,4 +39,156 @@ configs:
|
|
26 |
path: data/validation-*
|
27 |
- split: test
|
28 |
path: data/test-*
|
|
|
|
|
|
|
29 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
+
annotations_creators:
|
3 |
+
- derived
|
4 |
+
language:
|
5 |
+
- pol
|
6 |
+
license: cc-by-sa-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;">PolEmo2.0-IN</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 |
+
A collection of Polish online reviews from four domains: medicine, hotels, products and school. The PolEmo2.0-IN task is to predict the sentiment of in-domain (medicine and hotels) reviews.
|
55 |
+
|
56 |
+
| | |
|
57 |
+
|---------------|---------------------------------------------|
|
58 |
+
| Task category | t2c |
|
59 |
+
| Domains | Written, Social |
|
60 |
+
| Reference | https://aclanthology.org/K19-1092.pdf |
|
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(["PolEmo2.0-IN"])
|
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 |
+
@inproceedings{kocon-etal-2019-multi,
|
87 |
+
abstract = {In this article we present an extended version of PolEmo {--} a corpus of consumer reviews from 4 domains: medicine, hotels, products and school. Current version (PolEmo 2.0) contains 8,216 reviews having 57,466 sentences. Each text and sentence was manually annotated with sentiment in 2+1 scheme, which gives a total of 197,046 annotations. We obtained a high value of Positive Specific Agreement, which is 0.91 for texts and 0.88 for sentences. PolEmo 2.0 is publicly available under a Creative Commons copyright license. We explored recent deep learning approaches for the recognition of sentiment, such as Bi-directional Long Short-Term Memory (BiLSTM) and Bidirectional Encoder Representations from Transformers (BERT).},
|
88 |
+
address = {Hong Kong, China},
|
89 |
+
author = {Koco{\'n}, Jan and
|
90 |
+
Mi{\l}kowski, Piotr and
|
91 |
+
Za{\'s}ko-Zieli{\'n}ska, Monika},
|
92 |
+
booktitle = {Proceedings of the 23rd Conference on Computational Natural Language Learning (CoNLL)},
|
93 |
+
doi = {10.18653/v1/K19-1092},
|
94 |
+
month = nov,
|
95 |
+
pages = {980--991},
|
96 |
+
publisher = {Association for Computational Linguistics},
|
97 |
+
title = {Multi-Level Sentiment Analysis of {P}ol{E}mo 2.0: Extended Corpus of Multi-Domain Consumer Reviews},
|
98 |
+
url = {https://aclanthology.org/K19-1092},
|
99 |
+
year = {2019},
|
100 |
+
}
|
101 |
+
|
102 |
+
|
103 |
+
@article{enevoldsen2025mmtebmassivemultilingualtext,
|
104 |
+
title={MMTEB: Massive Multilingual Text Embedding Benchmark},
|
105 |
+
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},
|
106 |
+
publisher = {arXiv},
|
107 |
+
journal={arXiv preprint arXiv:2502.13595},
|
108 |
+
year={2025},
|
109 |
+
url={https://arxiv.org/abs/2502.13595},
|
110 |
+
doi = {10.48550/arXiv.2502.13595},
|
111 |
+
}
|
112 |
+
|
113 |
+
@article{muennighoff2022mteb,
|
114 |
+
author = {Muennighoff, Niklas and Tazi, Nouamane and Magne, Lo{\"\i}c and Reimers, Nils},
|
115 |
+
title = {MTEB: Massive Text Embedding Benchmark},
|
116 |
+
publisher = {arXiv},
|
117 |
+
journal={arXiv preprint arXiv:2210.07316},
|
118 |
+
year = {2022}
|
119 |
+
url = {https://arxiv.org/abs/2210.07316},
|
120 |
+
doi = {10.48550/ARXIV.2210.07316},
|
121 |
+
}
|
122 |
+
```
|
123 |
+
|
124 |
+
# Dataset Statistics
|
125 |
+
<details>
|
126 |
+
<summary> Dataset Statistics</summary>
|
127 |
+
|
128 |
+
The following code contains the descriptive statistics from the task. These can also be obtained using:
|
129 |
+
|
130 |
+
```python
|
131 |
+
import mteb
|
132 |
+
|
133 |
+
task = mteb.get_task("PolEmo2.0-IN")
|
134 |
+
|
135 |
+
desc_stats = task.metadata.descriptive_stats
|
136 |
+
```
|
137 |
+
|
138 |
+
```json
|
139 |
+
{
|
140 |
+
"test": {
|
141 |
+
"num_samples": 722,
|
142 |
+
"number_of_characters": 545967,
|
143 |
+
"number_texts_intersect_with_train": 0,
|
144 |
+
"min_text_length": 29,
|
145 |
+
"average_text_length": 756.1869806094182,
|
146 |
+
"max_text_length": 2567,
|
147 |
+
"unique_text": 722,
|
148 |
+
"unique_labels": 4,
|
149 |
+
"labels": {
|
150 |
+
"1": {
|
151 |
+
"count": 300
|
152 |
+
},
|
153 |
+
"3": {
|
154 |
+
"count": 117
|
155 |
+
},
|
156 |
+
"2": {
|
157 |
+
"count": 197
|
158 |
+
},
|
159 |
+
"0": {
|
160 |
+
"count": 108
|
161 |
+
}
|
162 |
+
}
|
163 |
+
},
|
164 |
+
"train": {
|
165 |
+
"num_samples": 5783,
|
166 |
+
"number_of_characters": 4514027,
|
167 |
+
"number_texts_intersect_with_train": null,
|
168 |
+
"min_text_length": 1,
|
169 |
+
"average_text_length": 780.56839010894,
|
170 |
+
"max_text_length": 5391,
|
171 |
+
"unique_text": 5783,
|
172 |
+
"unique_labels": 4,
|
173 |
+
"labels": {
|
174 |
+
"2": {
|
175 |
+
"count": 1568
|
176 |
+
},
|
177 |
+
"1": {
|
178 |
+
"count": 2194
|
179 |
+
},
|
180 |
+
"0": {
|
181 |
+
"count": 1050
|
182 |
+
},
|
183 |
+
"3": {
|
184 |
+
"count": 971
|
185 |
+
}
|
186 |
+
}
|
187 |
+
}
|
188 |
+
}
|
189 |
+
```
|
190 |
+
|
191 |
+
</details>
|
192 |
+
|
193 |
+
---
|
194 |
+
*This dataset card was automatically generated using [MTEB](https://github.com/embeddings-benchmark/mteb)*
|