Datasets:
Tasks:
Text Classification
Modalities:
Text
Formats:
parquet
Sub-tasks:
multi-class-classification
Languages:
English
Size:
100K - 1M
Tags:
emotion-classification
License:
Update metadata
Browse files
README.md
CHANGED
|
@@ -7,7 +7,7 @@ language_creators:
|
|
| 7 |
language:
|
| 8 |
- en
|
| 9 |
license:
|
| 10 |
-
-
|
| 11 |
multilinguality:
|
| 12 |
- monolingual
|
| 13 |
size_categories:
|
|
@@ -71,6 +71,7 @@ train-eval-index:
|
|
| 71 |
tags:
|
| 72 |
- emotion-classification
|
| 73 |
dataset_info:
|
|
|
|
| 74 |
features:
|
| 75 |
- name: text
|
| 76 |
dtype: string
|
|
@@ -78,24 +79,44 @@ dataset_info:
|
|
| 78 |
dtype:
|
| 79 |
class_label:
|
| 80 |
names:
|
| 81 |
-
0: sadness
|
| 82 |
-
1: joy
|
| 83 |
-
2: love
|
| 84 |
-
3: anger
|
| 85 |
-
4: fear
|
| 86 |
-
5: surprise
|
| 87 |
splits:
|
| 88 |
- name: train
|
| 89 |
-
num_bytes:
|
| 90 |
num_examples: 16000
|
| 91 |
- name: validation
|
| 92 |
-
num_bytes:
|
| 93 |
num_examples: 2000
|
| 94 |
- name: test
|
| 95 |
-
num_bytes:
|
| 96 |
num_examples: 2000
|
| 97 |
-
download_size:
|
| 98 |
-
dataset_size:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 99 |
---
|
| 100 |
|
| 101 |
# Dataset Card for "emotion"
|
|
@@ -150,49 +171,30 @@ Emotion is a dataset of English Twitter messages with six basic emotions: anger,
|
|
| 150 |
|
| 151 |
### Data Instances
|
| 152 |
|
| 153 |
-
|
| 154 |
-
|
| 155 |
-
- **Size of downloaded dataset files:** 1.97 MB
|
| 156 |
-
- **Size of the generated dataset:** 2.07 MB
|
| 157 |
-
- **Total amount of disk used:** 4.05 MB
|
| 158 |
-
|
| 159 |
-
An example of 'train' looks as follows.
|
| 160 |
```
|
| 161 |
{
|
| 162 |
-
|
| 163 |
-
|
| 164 |
}
|
| 165 |
```
|
| 166 |
|
| 167 |
-
#### emotion
|
| 168 |
-
|
| 169 |
-
- **Size of downloaded dataset files:** 1.97 MB
|
| 170 |
-
- **Size of the generated dataset:** 2.09 MB
|
| 171 |
-
- **Total amount of disk used:** 4.06 MB
|
| 172 |
-
|
| 173 |
-
An example of 'validation' looks as follows.
|
| 174 |
-
```
|
| 175 |
-
|
| 176 |
-
```
|
| 177 |
-
|
| 178 |
### Data Fields
|
| 179 |
|
| 180 |
-
The data fields are
|
| 181 |
-
|
| 182 |
-
#### default
|
| 183 |
- `text`: a `string` feature.
|
| 184 |
- `label`: a classification label, with possible values including `sadness` (0), `joy` (1), `love` (2), `anger` (3), `fear` (4), `surprise` (5).
|
| 185 |
|
| 186 |
-
#### emotion
|
| 187 |
-
- `text`: a `string` feature.
|
| 188 |
-
- `label`: a `string` feature.
|
| 189 |
-
|
| 190 |
### Data Splits
|
| 191 |
|
| 192 |
-
|
| 193 |
-
|
| 194 |
-
|
| 195 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 196 |
|
| 197 |
## Dataset Creation
|
| 198 |
|
|
@@ -246,10 +248,11 @@ The data fields are the same among all splits.
|
|
| 246 |
|
| 247 |
### Licensing Information
|
| 248 |
|
| 249 |
-
|
| 250 |
|
| 251 |
### Citation Information
|
| 252 |
|
|
|
|
| 253 |
```
|
| 254 |
@inproceedings{saravia-etal-2018-carer,
|
| 255 |
title = "{CARER}: Contextualized Affect Representations for Emotion Recognition",
|
|
@@ -268,10 +271,8 @@ The data fields are the same among all splits.
|
|
| 268 |
pages = "3687--3697",
|
| 269 |
abstract = "Emotions are expressed in nuanced ways, which varies by collective or individual experiences, knowledge, and beliefs. Therefore, to understand emotion, as conveyed through text, a robust mechanism capable of capturing and modeling different linguistic nuances and phenomena is needed. We propose a semi-supervised, graph-based algorithm to produce rich structural descriptors which serve as the building blocks for constructing contextualized affect representations from text. The pattern-based representations are further enriched with word embeddings and evaluated through several emotion recognition tasks. Our experimental results demonstrate that the proposed method outperforms state-of-the-art techniques on emotion recognition tasks.",
|
| 270 |
}
|
| 271 |
-
|
| 272 |
```
|
| 273 |
|
| 274 |
-
|
| 275 |
### Contributions
|
| 276 |
|
| 277 |
-
Thanks to [@lhoestq](https://github.com/lhoestq), [@thomwolf](https://github.com/thomwolf), [@lewtun](https://github.com/lewtun) for adding this dataset.
|
|
|
|
| 7 |
language:
|
| 8 |
- en
|
| 9 |
license:
|
| 10 |
+
- other
|
| 11 |
multilinguality:
|
| 12 |
- monolingual
|
| 13 |
size_categories:
|
|
|
|
| 71 |
tags:
|
| 72 |
- emotion-classification
|
| 73 |
dataset_info:
|
| 74 |
+
- config_name: split
|
| 75 |
features:
|
| 76 |
- name: text
|
| 77 |
dtype: string
|
|
|
|
| 79 |
dtype:
|
| 80 |
class_label:
|
| 81 |
names:
|
| 82 |
+
'0': sadness
|
| 83 |
+
'1': joy
|
| 84 |
+
'2': love
|
| 85 |
+
'3': anger
|
| 86 |
+
'4': fear
|
| 87 |
+
'5': surprise
|
| 88 |
splits:
|
| 89 |
- name: train
|
| 90 |
+
num_bytes: 1741597
|
| 91 |
num_examples: 16000
|
| 92 |
- name: validation
|
| 93 |
+
num_bytes: 214703
|
| 94 |
num_examples: 2000
|
| 95 |
- name: test
|
| 96 |
+
num_bytes: 217181
|
| 97 |
num_examples: 2000
|
| 98 |
+
download_size: 740883
|
| 99 |
+
dataset_size: 2173481
|
| 100 |
+
- config_name: unsplit
|
| 101 |
+
features:
|
| 102 |
+
- name: text
|
| 103 |
+
dtype: string
|
| 104 |
+
- name: label
|
| 105 |
+
dtype:
|
| 106 |
+
class_label:
|
| 107 |
+
names:
|
| 108 |
+
'0': sadness
|
| 109 |
+
'1': joy
|
| 110 |
+
'2': love
|
| 111 |
+
'3': anger
|
| 112 |
+
'4': fear
|
| 113 |
+
'5': surprise
|
| 114 |
+
splits:
|
| 115 |
+
- name: train
|
| 116 |
+
num_bytes: 45445685
|
| 117 |
+
num_examples: 416809
|
| 118 |
+
download_size: 15388281
|
| 119 |
+
dataset_size: 45445685
|
| 120 |
---
|
| 121 |
|
| 122 |
# Dataset Card for "emotion"
|
|
|
|
| 171 |
|
| 172 |
### Data Instances
|
| 173 |
|
| 174 |
+
An example looks as follows.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 175 |
```
|
| 176 |
{
|
| 177 |
+
"text": "im feeling quite sad and sorry for myself but ill snap out of it soon",
|
| 178 |
+
"label": 0
|
| 179 |
}
|
| 180 |
```
|
| 181 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 182 |
### Data Fields
|
| 183 |
|
| 184 |
+
The data fields are:
|
|
|
|
|
|
|
| 185 |
- `text`: a `string` feature.
|
| 186 |
- `label`: a classification label, with possible values including `sadness` (0), `joy` (1), `love` (2), `anger` (3), `fear` (4), `surprise` (5).
|
| 187 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 188 |
### Data Splits
|
| 189 |
|
| 190 |
+
The dataset has 2 configurations:
|
| 191 |
+
- split: with a total of 20_000 examples split into train, validation and split
|
| 192 |
+
- unsplit: with a total of 416_809 examples in a single train split
|
| 193 |
+
|
| 194 |
+
| name | train | validation | test |
|
| 195 |
+
|---------|-------:|-----------:|-----:|
|
| 196 |
+
| split | 16000 | 2000 | 2000 |
|
| 197 |
+
| unsplit | 416809 | n/a | n/a |
|
| 198 |
|
| 199 |
## Dataset Creation
|
| 200 |
|
|
|
|
| 248 |
|
| 249 |
### Licensing Information
|
| 250 |
|
| 251 |
+
The dataset should be used for educational and research purposes only.
|
| 252 |
|
| 253 |
### Citation Information
|
| 254 |
|
| 255 |
+
If you use this dataset, please cite:
|
| 256 |
```
|
| 257 |
@inproceedings{saravia-etal-2018-carer,
|
| 258 |
title = "{CARER}: Contextualized Affect Representations for Emotion Recognition",
|
|
|
|
| 271 |
pages = "3687--3697",
|
| 272 |
abstract = "Emotions are expressed in nuanced ways, which varies by collective or individual experiences, knowledge, and beliefs. Therefore, to understand emotion, as conveyed through text, a robust mechanism capable of capturing and modeling different linguistic nuances and phenomena is needed. We propose a semi-supervised, graph-based algorithm to produce rich structural descriptors which serve as the building blocks for constructing contextualized affect representations from text. The pattern-based representations are further enriched with word embeddings and evaluated through several emotion recognition tasks. Our experimental results demonstrate that the proposed method outperforms state-of-the-art techniques on emotion recognition tasks.",
|
| 273 |
}
|
|
|
|
| 274 |
```
|
| 275 |
|
|
|
|
| 276 |
### Contributions
|
| 277 |
|
| 278 |
+
Thanks to [@lhoestq](https://github.com/lhoestq), [@thomwolf](https://github.com/thomwolf), [@lewtun](https://github.com/lewtun) for adding this dataset.
|