File size: 5,846 Bytes
2a91129
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
a91abd4
 
 
 
 
 
 
e2b5178
a91abd4
 
e2b5178
69af4ee
 
2a91129
a91abd4
 
e2b5178
a91abd4
e040893
a91abd4
e040893
e2b5178
e040893
a91abd4
 
 
 
e2b5178
a91abd4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9ee51ea
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
69af4ee
9ee51ea
 
 
 
 
 
 
 
 
 
 
 
 
 
69af4ee
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
---
dataset_info:
  features:
  - name: text
    dtype: string
  - name: Joy
    dtype: bool
  - name: Trust
    dtype: bool
  - name: Anticipation
    dtype: bool
  - name: Surprise
    dtype: bool
  - name: Fear
    dtype: bool
  - name: Sadness
    dtype: bool
  - name: Disgust
    dtype: bool
  - name: Anger
    dtype: bool
  - name: Positive
    dtype: bool
  - name: Negative
    dtype: bool
  - name: Neutral
    dtype: bool
  splits:
  - name: train
    num_bytes: 869804
    num_examples: 7169
  - name: val
    num_bytes: 160871
    num_examples: 1401
  - name: test
    num_bytes: 176693
    num_examples: 1431
  download_size: 840179
  dataset_size: 1207368
configs:
- config_name: default
  data_files:
  - split: train
    path: data/train-*
  - split: val
    path: data/val-*
  - split: test
    path: data/test-*
task_categories:
- text-classification
language:
- pl
tags:
- emotion
- sentence-classification
- emotion recognition
task_ids:
- multi-label-classification
license: cc-by-4.0
size_categories:
- n<1K
---

## Dataset
The dataset is made up of consumer reviews written in Polish. Those reviews belong to four domains: hotels, medicine, products, and university. This collection also contains non-opinion informative texts belonging to the same domains (meaning they are mostly neutral). Each sentence, as well as all the reviews as a whole, are annotated with emotions from the Plutchnik's wheel of emotions (joy, trust, anticipation, surprise, fear, sadness, disgust, anger), as well as the perceived sentiment (positive, negative, neutral), with ambivalent sentiment being labeled using both positive and negative labels. The dataset was annotated by six people who did not see each other's decisions. These annotations were aggregated by selecting labels annotated by at least 2 out of 6 people, meaning controversial texts and sentences can be annotated with opposing emotions. While each sentence has its own annotation, they were created in the context of the whole review.

For more information about this dataset, see the articles in the Citation Information section.

### Dataset split set
Training data consists of 776 reviews containing 6393 sentences randomly selected from the whole dataset. The split was done on the level of whole reviews, meaning no reviews are split between sets.
The validaion set continas 167 reviews and 1234 sentence annotations. The test set contains 167 reviews and 1264 sentence annotations.

### Dataset format
The datasets are stored in three directories (training and two test sets). All datasets have the same format.

Input rows contain ordered sentences of reviews. Each review ends with a sentence made out of only the symbol #. This sentence annotation corresponds to the annotation of the whole review and is not a sentence annotation. This sentence is not a part of the original review and should not be treated as such. It only marks the end of the current review and the row that contains the corresponding review annotation. The next row after such a sentence corresponds to the first sentence of a different review.

Example:

This fragment of the training input file:
```
Była to pierwsza wizyta ale moze i ostatnia.
Lakarz troche apatyczny, nie wypowiadajacy sie jasno.
Mam zrobic jakies badanie ale nie dardzo wiem jakie.
Nie napisal skierowania/zalecenia, chyba mowil o gastrologii.
Powinnam byla byc bardzej wymagajaca i dopytujaca.
Nie polecam tego lekarza.
###########################
```
corresponds to annotations:
```
False	False	True	False	False	True	False	False	False	True	False
False	False	False	False	False	True	True	False	False	True	False
False	False	False	True	False	True	False	False	False	True	False
False	False	False	True	False	True	False	False	False	True	False
False	False	False	True	False	True	False	True	False	True	False
False	False	False	False	False	True	False	False	False	True	False
False	False	False	True	False	True	False	False	False	True	False
```
meaning sentences are labeled as:
```
"Była to pierwsza wizyta ale moze i ostatnia." - anticipation, sadness, negative
"Lakarz troche apatyczny, nie wypowiadajacy sie jasno." - sadness, disgust, negative
"Mam zrobic jakies badanie ale nie dardzo wiem jakie." - surprise, sadness, negative
"Nie napisal skierowania/zalecenia, chyba mowil o gastrologii." - surprise, sadness, negative
"Powinnam byla byc bardzej wymagajaca i dopytujaca." - surprise, sadness, anger, negative
"Nie polecam tego lekarza." - sadness, negative
```
and the review as a whole, starting from "Była to pierwsza wizyta ale moze i ostatnia." and ending at "Nie polecam tego lekarza." is labeled as: surprise, sadness, negative.


### Licensing Information

[CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)

### Citation Information

```
@article{kocon2023chatgpt,
  title={ChatGPT: Jack of all trades, master of none},
  author={Koco{'n}, Jan and Cichecki, Igor and Kaszyca, Oliwier and Kochanek, Mateusz and Szyd{\l}o, Dominika and Baran, Joanna and Bielaniewicz, Julita and Gruza, Marcin and Janz, Arkadiusz and Kanclerz, Kamil and others},
  journal={Information Fusion},
  volume={99},
  pages={101861},
  year={2023},
  publisher={Elsevier}
}

@inproceedings{koptyra2023clarin,
  title={Clarin-Emo: Training emotion recognition models using human annotation and ChatGPT},
  author={Koptyra, Bart{\l}omiej and Ngo, Anh and Radli{'n}ski, {\L}ukasz and Koco{'n}, Jan},
  booktitle={International Conference on Computational Science},
  pages={365--379},
  year={2023},
  organization={Springer}
}

@inproceedings{koptyra2024poleval,
  title={PolEval 2024 Task 2: Emotion and Sentiment Recognition},
  author={Koptyra, Bart{\l}omiej and Koco{'n}, Jan},
  booktitle={Proceedings of the PolEval 2024 Workshop},
  year={2024},
  organization={Institute of Computer Science, Polish Academy of Sciences}
}
```