Datasets:
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,105 +1,186 @@
|
|
| 1 |
---
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
-
|
| 11 |
-
|
| 12 |
-
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
-
|
| 17 |
-
|
| 18 |
-
-
|
| 19 |
-
dtype: string
|
| 20 |
-
- name: start_time
|
| 21 |
-
dtype: float64
|
| 22 |
-
- name: end_time
|
| 23 |
-
dtype: float64
|
| 24 |
-
- name: duration
|
| 25 |
-
dtype: float64
|
| 26 |
-
- name: emotion
|
| 27 |
-
dtype: string
|
| 28 |
-
- name: emotion_full
|
| 29 |
-
dtype: string
|
| 30 |
-
- name: emotion_4class
|
| 31 |
-
dtype: string
|
| 32 |
-
- name: valence
|
| 33 |
-
dtype: float64
|
| 34 |
-
- name: activation
|
| 35 |
-
dtype: float64
|
| 36 |
-
- name: dominance
|
| 37 |
-
dtype: float64
|
| 38 |
-
- name: n_annotators_categorical
|
| 39 |
-
dtype: int64
|
| 40 |
-
- name: n_annotators_attribute
|
| 41 |
-
dtype: int64
|
| 42 |
-
- name: emotion_votes
|
| 43 |
-
dtype: string
|
| 44 |
-
- name: majority_votes
|
| 45 |
-
dtype: int64
|
| 46 |
-
- name: agreement_ratio
|
| 47 |
-
dtype: float64
|
| 48 |
-
- name: unanimous
|
| 49 |
-
dtype: bool
|
| 50 |
-
- name: has_majority
|
| 51 |
-
dtype: bool
|
| 52 |
-
- name: annotators_categorical
|
| 53 |
-
dtype: string
|
| 54 |
-
- name: annotators_categorical_comments
|
| 55 |
-
dtype: string
|
| 56 |
-
- name: annotators_attribute
|
| 57 |
-
dtype: string
|
| 58 |
-
- name: annotators_attribute_comments
|
| 59 |
-
dtype: string
|
| 60 |
-
- name: self_categorical
|
| 61 |
-
dtype: string
|
| 62 |
-
- name: self_attribute
|
| 63 |
-
dtype: string
|
| 64 |
-
- name: valence_std
|
| 65 |
-
dtype: float64
|
| 66 |
-
- name: activation_std
|
| 67 |
-
dtype: float64
|
| 68 |
-
- name: dominance_std
|
| 69 |
-
dtype: float64
|
| 70 |
-
- name: audio
|
| 71 |
-
dtype:
|
| 72 |
-
audio:
|
| 73 |
-
sampling_rate: 16000
|
| 74 |
-
splits:
|
| 75 |
-
- name: session1
|
| 76 |
-
num_bytes: 265905639.284
|
| 77 |
-
num_examples: 1819
|
| 78 |
-
- name: session2
|
| 79 |
-
num_bytes: 264644408.876
|
| 80 |
-
num_examples: 1811
|
| 81 |
-
- name: session3
|
| 82 |
-
num_bytes: 300155224.728
|
| 83 |
-
num_examples: 2136
|
| 84 |
-
- name: session4
|
| 85 |
-
num_bytes: 292025357.478
|
| 86 |
-
num_examples: 2103
|
| 87 |
-
- name: session5
|
| 88 |
-
num_bytes: 303536228.18
|
| 89 |
-
num_examples: 2170
|
| 90 |
-
download_size: 1406686600
|
| 91 |
-
dataset_size: 1426266858.546
|
| 92 |
configs:
|
| 93 |
-
- config_name: default
|
| 94 |
-
|
| 95 |
-
|
| 96 |
-
|
| 97 |
-
|
| 98 |
-
|
| 99 |
-
|
| 100 |
-
|
| 101 |
-
|
| 102 |
-
|
| 103 |
-
|
| 104 |
-
|
| 105 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
pretty_name: IEMOCAP (full release)
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
license: other
|
| 6 |
+
license_name: usc-sail-iemocap-academic-license
|
| 7 |
+
license_link: https://sail.usc.edu/iemocap/iemocap_release.htm
|
| 8 |
+
tags:
|
| 9 |
+
- speech-emotion-recognition
|
| 10 |
+
- emotion
|
| 11 |
+
- valence-arousal-dominance
|
| 12 |
+
- dyadic-conversation
|
| 13 |
+
- audio
|
| 14 |
+
task_categories:
|
| 15 |
+
- audio-classification
|
| 16 |
+
- automatic-speech-recognition
|
| 17 |
+
size_categories:
|
| 18 |
+
- 10K<n<100K
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
configs:
|
| 20 |
+
- config_name: default
|
| 21 |
+
data_files:
|
| 22 |
+
- split: session1
|
| 23 |
+
path: data/session1-*
|
| 24 |
+
- split: session2
|
| 25 |
+
path: data/session2-*
|
| 26 |
+
- split: session3
|
| 27 |
+
path: data/session3-*
|
| 28 |
+
- split: session4
|
| 29 |
+
path: data/session4-*
|
| 30 |
+
- split: session5
|
| 31 |
+
path: data/session5-*
|
| 32 |
---
|
| 33 |
+
|
| 34 |
+
# IEMOCAP — full release, utterance level
|
| 35 |
+
|
| 36 |
+
All 10,039 segmented utterances of the USC-SAIL **IEMOCAP** corpus with 16 kHz audio,
|
| 37 |
+
transcripts, consensus emotion labels, consensus VAD ratings, per-annotator raw labels,
|
| 38 |
+
and annotator-agreement statistics.
|
| 39 |
+
|
| 40 |
+
**This is a private mirror.** IEMOCAP is distributed under the USC SAIL academic license,
|
| 41 |
+
which requires an individually signed agreement and does not permit redistribution.
|
| 42 |
+
Do not make this repository public. Anyone needing the data should obtain it from
|
| 43 |
+
[sail.usc.edu/iemocap](https://sail.usc.edu/iemocap/iemocap_release.htm).
|
| 44 |
+
|
| 45 |
+
## Loading
|
| 46 |
+
|
| 47 |
+
```python
|
| 48 |
+
from datasets import load_dataset, concatenate_datasets
|
| 49 |
+
|
| 50 |
+
ds = load_dataset("cairocode/iemocap") # 5 splits, one per session
|
| 51 |
+
ds["session1"][0]["audio"] # {'array': ..., 'sampling_rate': 16000}
|
| 52 |
+
|
| 53 |
+
# Leave-one-session-out: hold out session 5
|
| 54 |
+
train = concatenate_datasets([ds[f"session{i}"] for i in (1, 2, 3, 4)])
|
| 55 |
+
test = ds["session5"]
|
| 56 |
+
|
| 57 |
+
# Standard 4-class benchmark subset (5,531 utterances)
|
| 58 |
+
four = train.filter(lambda r: r["emotion_4class"] is not None)
|
| 59 |
+
```
|
| 60 |
+
|
| 61 |
+
Splits are the five recording sessions, each with a disjoint pair of actors, so
|
| 62 |
+
session-wise splitting is automatically speaker-independent. Concatenate all five for
|
| 63 |
+
the full corpus.
|
| 64 |
+
|
| 65 |
+
## Fields
|
| 66 |
+
|
| 67 |
+
### Identification
|
| 68 |
+
| Field | Type | Description |
|
| 69 |
+
|---|---|---|
|
| 70 |
+
| `utterance_id` | str | e.g. `Ses01F_impro01_F000` |
|
| 71 |
+
| `session` | int | Recording session, 1–5 |
|
| 72 |
+
| `dialog_id` | str | Parent dialogue, e.g. `Ses01F_impro01` |
|
| 73 |
+
| `script_type` | str | `improvisation` (4,784) or `script` (5,255) |
|
| 74 |
+
| `speaker_id` | str | One of 10 actors, e.g. `Ses01F` |
|
| 75 |
+
| `speaker_gender` | str | `female` (4,800) / `male` (5,239) |
|
| 76 |
+
| `marker_actor_gender` | str | Which actor wore the MoCap markers in this dialogue |
|
| 77 |
+
| `start_time`, `end_time`, `duration` | float | Seconds, relative to the parent dialogue |
|
| 78 |
+
|
| 79 |
+
### Audio and text
|
| 80 |
+
| Field | Type | Description |
|
| 81 |
+
|---|---|---|
|
| 82 |
+
| `audio` | Audio | 16 kHz mono, PCM-16, embedded. Native rate — nothing was resampled |
|
| 83 |
+
| `transcript` | str | Manual transcription. Present for all 10,039 rows |
|
| 84 |
+
|
| 85 |
+
### Consensus labels
|
| 86 |
+
| Field | Type | Description |
|
| 87 |
+
|---|---|---|
|
| 88 |
+
| `emotion` | str | Majority-vote code, or `xxx` when no majority exists |
|
| 89 |
+
| `emotion_full` | str | Same, spelled out (`undecided` for `xxx`) |
|
| 90 |
+
| `emotion_4class` | str \| None | `angry` / `happy` / `neutral` / `sad`, with `exc` merged into `happy`. `None` for the other 4,508 rows |
|
| 91 |
+
| `valence`, `activation`, `dominance` | float | Corpus-provided mean over the external dimensional annotators, on a 1–5 scale. Self-evaluations are excluded, per the corpus README |
|
| 92 |
+
|
| 93 |
+
`emotion` is the corpus's own ground-truth field, not recomputed here.
|
| 94 |
+
|
| 95 |
+
### Agreement
|
| 96 |
+
| Field | Type | Description |
|
| 97 |
+
|---|---|---|
|
| 98 |
+
| `n_annotators_categorical` | int | Always 3 external annotators |
|
| 99 |
+
| `n_annotators_attribute` | int | Dimensional annotators: 2 (8,666), 3 (1,279), 4 (58), 1 (36) |
|
| 100 |
+
| `emotion_votes` | JSON str | Category → vote count, e.g. `{"fru": 2, "neu": 1}` |
|
| 101 |
+
| `majority_votes` | int | Votes for the most-chosen category |
|
| 102 |
+
| `agreement_ratio` | float | `majority_votes / 3`. Corpus mean **0.673** |
|
| 103 |
+
| `unanimous` | bool | All 3 annotators gave the same primary label (2,132 rows, 21.2%) |
|
| 104 |
+
| `has_majority` | bool | `emotion != "xxx"` (7,532 rows, 75.0%) |
|
| 105 |
+
| `valence_std`, `activation_std`, `dominance_std` | float | Sample standard deviation across external dimensional annotators |
|
| 106 |
+
|
| 107 |
+
Annotators could assign **more than one** category to an utterance, so vote counts in
|
| 108 |
+
`emotion_votes` may sum to more than 3. `agreement_ratio` and `unanimous` are computed
|
| 109 |
+
over each annotator's *first* (primary) label.
|
| 110 |
+
|
| 111 |
+
Corpus-level **Fleiss' κ = 0.276** on primary labels (3 raters, 10 categories, N = 10,039)
|
| 112 |
+
— low, which is characteristic of the corpus and the reason a quarter of utterances have
|
| 113 |
+
no majority label.
|
| 114 |
+
|
| 115 |
+
### Per-annotator raw labels
|
| 116 |
+
| Field | Type | Description |
|
| 117 |
+
|---|---|---|
|
| 118 |
+
| `annotators_categorical` | JSON str | `{"E2": ["neu"], "E3": ["neu"], "E4": ["neu", "ang"]}` |
|
| 119 |
+
| `annotators_attribute` | JSON str | `{"E3": [3, 2, 2], "E4": [2, 3, 3]}` — `[valence, activation, dominance]`, 1–5 |
|
| 120 |
+
| `annotators_categorical_comments` | JSON str | Free-text annotator notes, where given |
|
| 121 |
+
| `annotators_attribute_comments` | JSON str | As above, for dimensional ratings |
|
| 122 |
+
| `self_categorical` | JSON str \| None | The performing actor's own categorical rating |
|
| 123 |
+
| `self_attribute` | JSON str \| None | The actor's own `[val, act, dom]` |
|
| 124 |
+
|
| 125 |
+
Annotator codes are the corpus's own (`E1`–`E6` external; `F*`/`M*` the actors themselves).
|
| 126 |
+
These are *not* stable identities across sessions: `E2` in session 1 is not necessarily
|
| 127 |
+
`E2` in session 3. Do not model annotator identity across sessions.
|
| 128 |
+
|
| 129 |
+
Self-evaluations cover only **2,409 of 10,039** utterances, and **session 4 has none at
|
| 130 |
+
all** — these columns are `None` elsewhere. They are excluded from the consensus VAD.
|
| 131 |
+
|
| 132 |
+
JSON-encoded columns are strings; `json.loads` them.
|
| 133 |
+
|
| 134 |
+
## Label distribution
|
| 135 |
+
|
| 136 |
+
| Code | Emotion | Count | Share |
|
| 137 |
+
|---|---|---|---|
|
| 138 |
+
| `xxx` | undecided | 2,507 | 25.0% |
|
| 139 |
+
| `fru` | frustrated | 1,849 | 18.4% |
|
| 140 |
+
| `neu` | neutral | 1,708 | 17.0% |
|
| 141 |
+
| `ang` | angry | 1,103 | 11.0% |
|
| 142 |
+
| `sad` | sad | 1,084 | 10.8% |
|
| 143 |
+
| `exc` | excited | 1,041 | 10.4% |
|
| 144 |
+
| `hap` | happy | 595 | 5.9% |
|
| 145 |
+
| `sur` | surprised | 107 | 1.1% |
|
| 146 |
+
| `fea` | fearful | 40 | 0.4% |
|
| 147 |
+
| `oth` | other | 3 | 0.0% |
|
| 148 |
+
| `dis` | disgusted | 2 | 0.0% |
|
| 149 |
+
|
| 150 |
+
4-class subset: neutral 1,708 · happy 1,636 (595 `hap` + 1,041 `exc`) · angry 1,103 · sad 1,084 = **5,531**.
|
| 151 |
+
|
| 152 |
+
Rows per session: 1,819 / 1,811 / 2,136 / 2,103 / 2,170. Total speech: **12.44 hours**.
|
| 153 |
+
|
| 154 |
+
## Provenance
|
| 155 |
+
|
| 156 |
+
Built from `IEMOCAP_full_release` by parsing the aggregate
|
| 157 |
+
`SessionX/dialog/EmoEvaluation/*.txt` files (151 dialogues), joined to
|
| 158 |
+
`SessionX/dialog/transcriptions/` and `SessionX/sentences/wav/`. Every utterance matched a
|
| 159 |
+
wav file and a transcript; no rows were dropped or imputed.
|
| 160 |
+
|
| 161 |
+
The aggregate `EmoEvaluation` files are the authoritative source. The
|
| 162 |
+
`EmoEvaluation/Categorical/`, `Attribute/` and `Self-evaluation/` subdirectories duplicate
|
| 163 |
+
the same annotations but encode the numeric scales on an inconsistent polarity — the same
|
| 164 |
+
annotator, utterance and free-text comment appears there with different numbers. Those
|
| 165 |
+
subdirectories were deliberately **not** used.
|
| 166 |
+
|
| 167 |
+
### Not included
|
| 168 |
+
Dialogue-level audio and video, MoCap (face, head, hand), forced alignments
|
| 169 |
+
(`ForcedAlignment/*.wdseg|phseg|syseg`), and the `.anvil` annotation sources. All remain in
|
| 170 |
+
the local `IEMOCAP_full_release` tree and can be added on request.
|
| 171 |
+
|
| 172 |
+
## Citation
|
| 173 |
+
|
| 174 |
+
Any published work using IEMOCAP must cite:
|
| 175 |
+
|
| 176 |
+
```bibtex
|
| 177 |
+
@article{busso2008iemocap,
|
| 178 |
+
title={IEMOCAP: Interactive emotional dyadic motion capture database},
|
| 179 |
+
author={Busso, Carlos and Bulut, Murtaza and Lee, Chi-Chun and Kazemzadeh, Abe and
|
| 180 |
+
Mower, Emily and Kim, Samuel and Chang, Jeannette N. and Lee, Sungbok and
|
| 181 |
+
Narayanan, Shrikanth S.},
|
| 182 |
+
journal={Language Resources and Evaluation},
|
| 183 |
+
volume={42}, number={4}, pages={335--359}, year={2008},
|
| 184 |
+
publisher={Springer}
|
| 185 |
+
}
|
| 186 |
+
```
|