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ICENSE
|
| 5 |
+
language:
|
| 6 |
+
- en
|
| 7 |
+
task_categories:
|
| 8 |
+
- video-classification
|
| 9 |
+
- audio-classification
|
| 10 |
+
- text-classification
|
| 11 |
+
tags:
|
| 12 |
+
- multimodal
|
| 13 |
+
- sarcasm-detection
|
| 14 |
+
- humor-detection
|
| 15 |
+
- mustard
|
| 16 |
+
- ur-funny
|
| 17 |
+
- affective-computing
|
| 18 |
+
size_categories:
|
| 19 |
+
- 1K<n<10K
|
| 20 |
+
---
|
| 21 |
+
|
| 22 |
+
# CTM Affective Benchmarks: MUStARD + UR-FUNNY
|
| 23 |
+
|
| 24 |
+
Preprocessed multimodal media and text splits for the two affective-reasoning
|
| 25 |
+
benchmarks used in the `ctm-ai` `exp_affective` experiments:
|
| 26 |
+
|
| 27 |
+
- **MUStARD** — multimodal sarcasm detection from TV sitcom clips
|
| 28 |
+
(*Friends*, *The Big Bang Theory*, *The Golden Girls*, *Sarcasmaholics*).
|
| 29 |
+
- **UR-FUNNY** — multimodal humor detection from TED talk clips.
|
| 30 |
+
|
| 31 |
+
This repo bundles the **derived media** (raw clips, muted video streams, and
|
| 32 |
+
extracted audio) alongside the **JSON text splits**, so an experiment run can
|
| 33 |
+
fetch everything from one place.
|
| 34 |
+
|
| 35 |
+
## Repository layout
|
| 36 |
+
|
| 37 |
+
```
|
| 38 |
+
mustard/
|
| 39 |
+
mmsd_raw_data/utterances_final/ 690 mp4 — raw clips (video + audio)
|
| 40 |
+
mustard_muted_videos/ 690 mp4 — video-only (audio stream removed)
|
| 41 |
+
mustard_audios/ 356 mp4 — audio-only, test split only
|
| 42 |
+
mustard_dataset/ 9 json — test split + evaluation subsets
|
| 43 |
+
mustard_smoke3.json — 3-example smoke test
|
| 44 |
+
|
| 45 |
+
urfunny/
|
| 46 |
+
urfunny_videos/ 992 mp4 — raw clips (video + audio)
|
| 47 |
+
urfunny_muted_videos/ 992 mp4 — video-only (audio stream removed)
|
| 48 |
+
urfunny_audios/ 992 mp4 — audio-only
|
| 49 |
+
data_raw/ 5 json — test split + evaluation subsets
|
| 50 |
+
urfunny_smoke3.json — 3-example smoke test
|
| 51 |
+
```
|
| 52 |
+
|
| 53 |
+
Total: 4,728 files, ~4.55 GB.
|
| 54 |
+
|
| 55 |
+
### Naming conventions
|
| 56 |
+
|
| 57 |
+
- MUStARD clip ids look like `1_10004` (non-sarcastic pool) and `2_223`
|
| 58 |
+
(sarcastic pool). Audio files add an `_audio` suffix: `2_223_audio.mp4`.
|
| 59 |
+
- UR-FUNNY clip ids are plain integers (`1008`), with audio also suffixed
|
| 60 |
+
`_audio` (`1008_audio.mp4`).
|
| 61 |
+
- Media files carry the `.mp4` container throughout, **including the
|
| 62 |
+
audio-only tracks** — they are audio streams in an mp4 container, not video.
|
| 63 |
+
|
| 64 |
+
### Coverage note
|
| 65 |
+
|
| 66 |
+
`mustard_audios/` contains **356** files, not 690: audio was extracted only for
|
| 67 |
+
the clips in `mustard_dataset/mustard_dataset_test.json` (the 356-example test
|
| 68 |
+
split). Those 356 ids are a strict subset of the 690 ids in
|
| 69 |
+
`mustard_muted_videos/` and `mmsd_raw_data/utterances_final/`. UR-FUNNY has
|
| 70 |
+
full 992/992/992 coverage across all three modality folders.
|
| 71 |
+
|
| 72 |
+
## Text split schemas
|
| 73 |
+
|
| 74 |
+
`mustard/mustard_dataset/mustard_dataset_test.json` — a dict keyed by clip id
|
| 75 |
+
(356 entries):
|
| 76 |
+
|
| 77 |
+
| field | description |
|
| 78 |
+
|---|---|
|
| 79 |
+
| `utterance` | the target utterance text |
|
| 80 |
+
| `speaker` | speaker of the target utterance |
|
| 81 |
+
| `context` | list of preceding utterances |
|
| 82 |
+
| `context_speakers` | speakers for each context utterance |
|
| 83 |
+
| `show` | source sitcom |
|
| 84 |
+
| `sarcasm` | boolean label |
|
| 85 |
+
|
| 86 |
+
`urfunny/data_raw/urfunny_dataset_test.json` — a dict keyed by clip id
|
| 87 |
+
(992 entries):
|
| 88 |
+
|
| 89 |
+
| field | description |
|
| 90 |
+
|---|---|
|
| 91 |
+
| `context_sentences` | list of setup sentences |
|
| 92 |
+
| `punchline_sentence` | the punchline |
|
| 93 |
+
| `label` | humor label |
|
| 94 |
+
|
| 95 |
+
The remaining JSON files in each folder are evaluation subsets
|
| 96 |
+
(`*_subset_5/6/20/100.json`) and retry/missing-id lists used for partial reruns.
|
| 97 |
+
|
| 98 |
+
## Usage
|
| 99 |
+
|
| 100 |
+
```python
|
| 101 |
+
from huggingface_hub import snapshot_download
|
| 102 |
+
|
| 103 |
+
# everything (~4.55 GB)
|
| 104 |
+
snapshot_download("lwaekfjlk/ctm-affective", repo_type="dataset")
|
| 105 |
+
|
| 106 |
+
# just the MUStARD text splits
|
| 107 |
+
snapshot_download(
|
| 108 |
+
"lwaekfjlk/ctm-affective",
|
| 109 |
+
repo_type="dataset",
|
| 110 |
+
allow_patterns="mustard/mustard_dataset/*",
|
| 111 |
+
)
|
| 112 |
+
|
| 113 |
+
# just UR-FUNNY audio
|
| 114 |
+
snapshot_download(
|
| 115 |
+
"lwaekfjlk/ctm-affective",
|
| 116 |
+
repo_type="dataset",
|
| 117 |
+
allow_patterns="urfunny/urfunny_audios/*",
|
| 118 |
+
)
|
| 119 |
+
```
|
| 120 |
+
|
| 121 |
+
There is intentionally no `configs:` block in the card metadata: the JSON files
|
| 122 |
+
are id-keyed dicts rather than record lists, so the dataset viewer would not
|
| 123 |
+
parse them. Load them with `json.load` directly.
|
| 124 |
+
|
| 125 |
+
## Provenance and licensing
|
| 126 |
+
|
| 127 |
+
The clips are **derived from third-party copyrighted footage** (TV sitcom
|
| 128 |
+
episodes for MUStARD, TED talks for UR-FUNNY) and are redistributed here only
|
| 129 |
+
as preprocessed research artifacts. Use is intended for non-commercial academic
|
| 130 |
+
research. Rights to the underlying footage remain with their original owners;
|
| 131 |
+
consult the upstream datasets for their terms before redistributing.
|
| 132 |
+
|
| 133 |
+
Please cite the original datasets:
|
| 134 |
+
|
| 135 |
+
```bibtex
|
| 136 |
+
@inproceedings{castro2019towards,
|
| 137 |
+
title = {Towards Multimodal Sarcasm Detection (An {\_}Obviously{\_} Perfect Paper)},
|
| 138 |
+
author = {Castro, Santiago and Hazarika, Devamanyu and P{\'e}rez-Rosas, Ver{\'o}nica
|
| 139 |
+
and Zimmermann, Roger and Mihalcea, Rada and Poria, Soujanya},
|
| 140 |
+
booktitle = {Proceedings of the 57th Annual Meeting of the Association for
|
| 141 |
+
Computational Linguistics (ACL)},
|
| 142 |
+
year = {2019}
|
| 143 |
+
}
|
| 144 |
+
|
| 145 |
+
@inproceedings{hasan2019urfunny,
|
| 146 |
+
title = {{UR-FUNNY}: A Multimodal Language Dataset for Understanding Humor},
|
| 147 |
+
author = {Hasan, Md Kamrul and Rahman, Wasifur and Zadeh, Amir and Zhong, Jianyuan
|
| 148 |
+
and Tanveer, Md Iftekhar and Morency, Louis-Philippe and Hoque, Mohammed (Ehsan)},
|
| 149 |
+
booktitle = {Proceedings of the 2019 Conference on Empirical Methods in Natural
|
| 150 |
+
Language Processing (EMNLP)},
|
| 151 |
+
year = {2019}
|
| 152 |
+
}
|
| 153 |
+
```
|