Datasets:
Tasks:
Text Classification
Modalities:
Text
Formats:
parquet
Sub-tasks:
multi-label-classification
Languages:
English
Size:
< 1K
License:
Add POCAAffectClassification (MTurk GEW-20; z>=1 + top-1; train/test stratified)
Browse files- README.md +155 -0
- data/test-00000-of-00001.parquet +3 -0
- data/train-00000-of-00001.parquet +3 -0
- dataset_infos.yaml +40 -0
- label_taxonomy.json +158 -0
README.md
ADDED
|
@@ -0,0 +1,155 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
task_categories:
|
| 4 |
+
- text-classification
|
| 5 |
+
task_ids:
|
| 6 |
+
- multi-label-classification
|
| 7 |
+
language:
|
| 8 |
+
- en
|
| 9 |
+
multilinguality:
|
| 10 |
+
- monolingual
|
| 11 |
+
size_categories:
|
| 12 |
+
- n<1K
|
| 13 |
+
pretty_name: POCAAffectClassification
|
| 14 |
+
tags:
|
| 15 |
+
- poetry
|
| 16 |
+
- english
|
| 17 |
+
- affect
|
| 18 |
+
- emotion-classification
|
| 19 |
+
- multi-label-classification
|
| 20 |
+
- geneva-emotion-wheel
|
| 21 |
+
- mteb
|
| 22 |
+
- poetrymteb
|
| 23 |
+
- embedding-evaluation
|
| 24 |
+
annotations_creators:
|
| 25 |
+
- crowdsourced
|
| 26 |
+
source_datasets:
|
| 27 |
+
- POCA
|
| 28 |
+
configs:
|
| 29 |
+
- config_name: default
|
| 30 |
+
data_files:
|
| 31 |
+
- split: train
|
| 32 |
+
path: data/train-*
|
| 33 |
+
- split: test
|
| 34 |
+
path: data/test-*
|
| 35 |
+
default: true
|
| 36 |
+
dataset_info:
|
| 37 |
+
- config_name: default
|
| 38 |
+
features:
|
| 39 |
+
- name: id
|
| 40 |
+
dtype: string
|
| 41 |
+
- name: title
|
| 42 |
+
dtype: string
|
| 43 |
+
- name: author
|
| 44 |
+
dtype: string
|
| 45 |
+
- name: poem
|
| 46 |
+
dtype: string
|
| 47 |
+
- name: labels
|
| 48 |
+
sequence: int64
|
| 49 |
+
- name: label_names
|
| 50 |
+
sequence: string
|
| 51 |
+
- name: scores
|
| 52 |
+
sequence: float64
|
| 53 |
+
- name: n_annotators
|
| 54 |
+
dtype: int64
|
| 55 |
+
splits:
|
| 56 |
+
- name: train
|
| 57 |
+
num_examples: 227
|
| 58 |
+
- name: test
|
| 59 |
+
num_examples: 61
|
| 60 |
+
---
|
| 61 |
+
|
| 62 |
+
# POCAAffectClassification
|
| 63 |
+
|
| 64 |
+
Multi-label **affect / emotion classification** for English poetry (PoetryMTEB), derived from the [POCA](https://doi.org/10.17863/CAM.73749) dataset (Khan, Hopkins & Gunes, ACII 2021).
|
| 65 |
+
|
| 66 |
+
Poems are annotated on the **Geneva Emotion Wheel** (20 discrete affects, intensity 0–10) via Mechanical Turk; we binarize to multi-labels for embedding evaluation.
|
| 67 |
+
|
| 68 |
+
## Dataset Card
|
| 69 |
+
|
| 70 |
+
| Item | Description |
|
| 71 |
+
|------|-------------|
|
| 72 |
+
| **Source** | POCA supplementary data (`mturk/combined.csv` + `poems/`) |
|
| 73 |
+
| **Paper** | [Multi-dimensional Affect in Poetry (POCA) Dataset](https://doi.org/10.17863/CAM.73749) (ACII 2021); DOI [10.1109/ACII52823.2021.9597451](https://doi.org/10.1109/acii52823.2021.9597451) |
|
| 74 |
+
| **Languages** | English (`en`) |
|
| 75 |
+
| **Unit** | Full poem text |
|
| 76 |
+
| **Labels** | Multi-label subset of **20** affects |
|
| 77 |
+
| **Size** | train=227; test=61 (matched poems with text) |
|
| 78 |
+
| **Splits** | Stratified by primary (highest-mean) affect ≈ 80% / 20%, seed=42 |
|
| 79 |
+
| **Evaluation metrics** | Multi-label classification on embeddings: **macro/micro F1**, **Average Precision (AP)** |
|
| 80 |
+
|
| 81 |
+
### Label binarization (from score statistics)
|
| 82 |
+
|
| 83 |
+
MTurk scores are noisy (annotator std ≈ 2.6 on a 0–10 scale) and absolute thresholds leave many empty / over-dense label sets. We therefore use:
|
| 84 |
+
|
| 85 |
+
1. Aggregate **mean** score per affect across annotators for each poem.
|
| 86 |
+
2. Compute **within-poem z-scores**; keep affects with \(z \ge 1.0\).
|
| 87 |
+
3. Always include the **top-1** affect (guarantees ≥1 label).
|
| 88 |
+
|
| 89 |
+
Mean labels/poem ≈ 3.12.
|
| 90 |
+
|
| 91 |
+
## Label taxonomy (20)
|
| 92 |
+
|
| 93 |
+
| id | label_name | train | test | total |
|
| 94 |
+
|---:|------------|------:|-----:|------:|
|
| 95 |
+
| 0 | `Admiration` | 56 | 11 | 67 |
|
| 96 |
+
| 1 | `Amusement` | 95 | 28 | 123 |
|
| 97 |
+
| 2 | `Anger` | 8 | 1 | 9 |
|
| 98 |
+
| 3 | `Compassion` | 33 | 5 | 38 |
|
| 99 |
+
| 4 | `Contempt` | 16 | 1 | 17 |
|
| 100 |
+
| 5 | `Disappointment` | 42 | 8 | 50 |
|
| 101 |
+
| 6 | `Disgust` | 33 | 10 | 43 |
|
| 102 |
+
| 7 | `Fear` | 8 | 1 | 9 |
|
| 103 |
+
| 8 | `Guilt` | 13 | 6 | 19 |
|
| 104 |
+
| 9 | `Hate` | 10 | 2 | 12 |
|
| 105 |
+
| 10 | `Interest` | 9 | 2 | 11 |
|
| 106 |
+
| 11 | `Joy` | 128 | 35 | 163 |
|
| 107 |
+
| 12 | `Pleasure` | 36 | 8 | 44 |
|
| 108 |
+
| 13 | `Love` | 40 | 10 | 50 |
|
| 109 |
+
| 14 | `Contentment` | 41 | 12 | 53 |
|
| 110 |
+
| 15 | `Pride` | 27 | 13 | 40 |
|
| 111 |
+
| 16 | `Regret` | 12 | 8 | 20 |
|
| 112 |
+
| 17 | `Relief` | 24 | 2 | 26 |
|
| 113 |
+
| 18 | `Sadness` | 67 | 18 | 85 |
|
| 114 |
+
| 19 | `Shame` | 19 | 2 | 21 |
|
| 115 |
+
|
| 116 |
+
Codebook: `label_taxonomy.json`.
|
| 117 |
+
|
| 118 |
+
## Features
|
| 119 |
+
|
| 120 |
+
| Field | Type | Description |
|
| 121 |
+
|-------|------|-------------|
|
| 122 |
+
| `id` | string | Example id |
|
| 123 |
+
| `title` | string | Poem title |
|
| 124 |
+
| `author` | string | Poet |
|
| 125 |
+
| `poem` | string | Full poem body |
|
| 126 |
+
| `labels` | list[int64] | Affect class indices |
|
| 127 |
+
| `label_names` | list[string] | Canonical affect names |
|
| 128 |
+
| `scores` | list[float64] | Mean MTurk intensities (length 20, taxonomy order) |
|
| 129 |
+
| `n_annotators` | int64 | Number of MTurk annotations aggregated |
|
| 130 |
+
|
| 131 |
+
## Construction method
|
| 132 |
+
|
| 133 |
+
1. Load MTurk `combined.csv`; group by `(title, Author)`; average the 20 affect columns.
|
| 134 |
+
2. Resolve poem text from `poems/` via normalized filename matching.
|
| 135 |
+
3. Binarize with within-poem \(z \ge 1.0\) + top-1.
|
| 136 |
+
4. Stratified train/test split by primary affect.
|
| 137 |
+
|
| 138 |
+
## Citation
|
| 139 |
+
|
| 140 |
+
```bibtex
|
| 141 |
+
@article{khan_hopkins_gunes_2021,
|
| 142 |
+
title={Multi-dimensional Affect in Poetry (POCA) Dataset: Acquisition, Annotation and Baseline Results},
|
| 143 |
+
url={https://www.repository.cam.ac.uk/handle/1810/326293},
|
| 144 |
+
DOI={10.17863/CAM.73749},
|
| 145 |
+
publisher={IEEE},
|
| 146 |
+
author={Khan, Akbir and Hopkins, Jack and Gunes, Hatice},
|
| 147 |
+
year={2021}
|
| 148 |
+
}
|
| 149 |
+
```
|
| 150 |
+
|
| 151 |
+
Also: https://doi.org/10.1109/ACII52823.2021.9597451
|
| 152 |
+
|
| 153 |
+
## License
|
| 154 |
+
|
| 155 |
+
Follow upstream POCA / Cambridge repository terms (research use; rights reserved by authors/publisher unless otherwise noted).
|
data/test-00000-of-00001.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2b2738e9ba52b44e6baf9b56e53ac4212ac3735e1221b562d3534a45303206ce
|
| 3 |
+
size 52390
|
data/train-00000-of-00001.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cae687d6850324e6b18adbbe4caf3c02f56f2dcc2e7ecfaa3881dac4fc0e6194
|
| 3 |
+
size 226618
|
dataset_infos.yaml
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
configs:
|
| 2 |
+
- config_name: default
|
| 3 |
+
data_files:
|
| 4 |
+
- path: data/train-*.parquet
|
| 5 |
+
split: train
|
| 6 |
+
- path: data/test-*.parquet
|
| 7 |
+
split: test
|
| 8 |
+
default: true
|
| 9 |
+
dataset_info:
|
| 10 |
+
configs:
|
| 11 |
+
- config_name: default
|
| 12 |
+
dataset_size: 279008
|
| 13 |
+
download_size: 279008
|
| 14 |
+
features:
|
| 15 |
+
- dtype: string
|
| 16 |
+
name: id
|
| 17 |
+
- dtype: string
|
| 18 |
+
name: title
|
| 19 |
+
- dtype: string
|
| 20 |
+
name: author
|
| 21 |
+
- dtype: string
|
| 22 |
+
name: poem
|
| 23 |
+
- sequence:
|
| 24 |
+
dtype: int64
|
| 25 |
+
name: labels
|
| 26 |
+
- sequence:
|
| 27 |
+
dtype: string
|
| 28 |
+
name: label_names
|
| 29 |
+
- sequence:
|
| 30 |
+
dtype: float64
|
| 31 |
+
name: scores
|
| 32 |
+
- dtype: int64
|
| 33 |
+
name: n_annotators
|
| 34 |
+
splits:
|
| 35 |
+
- name: train
|
| 36 |
+
num_bytes: 226618
|
| 37 |
+
num_examples: 227
|
| 38 |
+
- name: test
|
| 39 |
+
num_bytes: 52390
|
| 40 |
+
num_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20,
|
| 3 |
+
"labels": [
|
| 4 |
+
{
|
| 5 |
+
"id": 0,
|
| 6 |
+
"name": "Admiration"
|
| 7 |
+
},
|
| 8 |
+
{
|
| 9 |
+
"id": 1,
|
| 10 |
+
"name": "Amusement"
|
| 11 |
+
},
|
| 12 |
+
{
|
| 13 |
+
"id": 2,
|
| 14 |
+
"name": "Anger"
|
| 15 |
+
},
|
| 16 |
+
{
|
| 17 |
+
"id": 3,
|
| 18 |
+
"name": "Compassion"
|
| 19 |
+
},
|
| 20 |
+
{
|
| 21 |
+
"id": 4,
|
| 22 |
+
"name": "Contempt"
|
| 23 |
+
},
|
| 24 |
+
{
|
| 25 |
+
"id": 5,
|
| 26 |
+
"name": "Disappointment"
|
| 27 |
+
},
|
| 28 |
+
{
|
| 29 |
+
"id": 6,
|
| 30 |
+
"name": "Disgust"
|
| 31 |
+
},
|
| 32 |
+
{
|
| 33 |
+
"id": 7,
|
| 34 |
+
"name": "Fear"
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"id": 8,
|
| 38 |
+
"name": "Guilt"
|
| 39 |
+
},
|
| 40 |
+
{
|
| 41 |
+
"id": 9,
|
| 42 |
+
"name": "Hate"
|
| 43 |
+
},
|
| 44 |
+
{
|
| 45 |
+
"id": 10,
|
| 46 |
+
"name": "Interest"
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"id": 11,
|
| 50 |
+
"name": "Joy"
|
| 51 |
+
},
|
| 52 |
+
{
|
| 53 |
+
"id": 12,
|
| 54 |
+
"name": "Pleasure"
|
| 55 |
+
},
|
| 56 |
+
{
|
| 57 |
+
"id": 13,
|
| 58 |
+
"name": "Love"
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"id": 14,
|
| 62 |
+
"name": "Contentment"
|
| 63 |
+
},
|
| 64 |
+
{
|
| 65 |
+
"id": 15,
|
| 66 |
+
"name": "Pride"
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"id": 16,
|
| 70 |
+
"name": "Regret"
|
| 71 |
+
},
|
| 72 |
+
{
|
| 73 |
+
"id": 17,
|
| 74 |
+
"name": "Relief"
|
| 75 |
+
},
|
| 76 |
+
{
|
| 77 |
+
"id": 18,
|
| 78 |
+
"name": "Sadness"
|
| 79 |
+
},
|
| 80 |
+
{
|
| 81 |
+
"id": 19,
|
| 82 |
+
"name": "Shame"
|
| 83 |
+
}
|
| 84 |
+
],
|
| 85 |
+
"binarization": {
|
| 86 |
+
"rule": "within-poem z>=1.0 + always include top-1",
|
| 87 |
+
"score_aggregation": "mean over MTurk annotators",
|
| 88 |
+
"score_scale": "0-10"
|
| 89 |
+
},
|
| 90 |
+
"counts": {
|
| 91 |
+
"train": {
|
| 92 |
+
"Disappointment": 42,
|
| 93 |
+
"Pride": 27,
|
| 94 |
+
"Contentment": 41,
|
| 95 |
+
"Pleasure": 36,
|
| 96 |
+
"Love": 40,
|
| 97 |
+
"Amusement": 95,
|
| 98 |
+
"Compassion": 33,
|
| 99 |
+
"Sadness": 67,
|
| 100 |
+
"Admiration": 56,
|
| 101 |
+
"Joy": 128,
|
| 102 |
+
"Relief": 24,
|
| 103 |
+
"Disgust": 33,
|
| 104 |
+
"Contempt": 16,
|
| 105 |
+
"Regret": 12,
|
| 106 |
+
"Anger": 8,
|
| 107 |
+
"Hate": 10,
|
| 108 |
+
"Interest": 9,
|
| 109 |
+
"Shame": 19,
|
| 110 |
+
"Guilt": 13,
|
| 111 |
+
"Fear": 8
|
| 112 |
+
},
|
| 113 |
+
"test": {
|
| 114 |
+
"Sadness": 18,
|
| 115 |
+
"Amusement": 28,
|
| 116 |
+
"Joy": 35,
|
| 117 |
+
"Disappointment": 8,
|
| 118 |
+
"Love": 10,
|
| 119 |
+
"Pleasure": 8,
|
| 120 |
+
"Contentment": 12,
|
| 121 |
+
"Pride": 13,
|
| 122 |
+
"Fear": 1,
|
| 123 |
+
"Guilt": 6,
|
| 124 |
+
"Disgust": 10,
|
| 125 |
+
"Anger": 1,
|
| 126 |
+
"Hate": 2,
|
| 127 |
+
"Regret": 8,
|
| 128 |
+
"Admiration": 11,
|
| 129 |
+
"Relief": 2,
|
| 130 |
+
"Compassion": 5,
|
| 131 |
+
"Interest": 2,
|
| 132 |
+
"Shame": 2,
|
| 133 |
+
"Contempt": 1
|
| 134 |
+
},
|
| 135 |
+
"all": {
|
| 136 |
+
"Amusement": 123,
|
| 137 |
+
"Anger": 9,
|
| 138 |
+
"Disgust": 43,
|
| 139 |
+
"Guilt": 19,
|
| 140 |
+
"Contempt": 17,
|
| 141 |
+
"Relief": 26,
|
| 142 |
+
"Pleasure": 44,
|
| 143 |
+
"Regret": 20,
|
| 144 |
+
"Joy": 163,
|
| 145 |
+
"Love": 50,
|
| 146 |
+
"Sadness": 85,
|
| 147 |
+
"Disappointment": 50,
|
| 148 |
+
"Fear": 9,
|
| 149 |
+
"Compassion": 38,
|
| 150 |
+
"Admiration": 67,
|
| 151 |
+
"Pride": 40,
|
| 152 |
+
"Contentment": 53,
|
| 153 |
+
"Hate": 12,
|
| 154 |
+
"Shame": 21,
|
| 155 |
+
"Interest": 11
|
| 156 |
+
}
|
| 157 |
+
}
|
| 158 |
+
}
|