The dataset viewer is not available for this split.
Error code: StreamingRowsError
Exception: CastError
Message: Couldn't cast
408: struct<context_sentences: list<item: string>, punchline_sentence: string, label: int64>
child 0, context_sentences: list<item: string>
child 0, item: string
child 1, punchline_sentence: string
child 2, label: int64
411: struct<context_sentences: list<item: string>, punchline_sentence: string, label: int64>
child 0, context_sentences: list<item: string>
child 0, item: string
child 1, punchline_sentence: string
child 2, label: int64
412: struct<context_sentences: list<item: string>, punchline_sentence: string, label: int64>
child 0, context_sentences: list<item: string>
child 0, item: string
child 1, punchline_sentence: string
child 2, label: int64
413: struct<context_sentences: list<item: string>, punchline_sentence: string, label: int64>
child 0, context_sentences: list<item: string>
child 0, item: string
child 1, punchline_sentence: string
child 2, label: int64
414: struct<context_sentences: list<item: string>, punchline_sentence: string, label: int64>
child 0, context_sentences: list<item: string>
child 0, item: string
child 1, punchline_sentence: string
child 2, label: int64
415: struct<context_sentences: list<item: string>, punchline_sentence: string, label: int64>
child 0, context_sentences: list<item: string>
child 0, item: string
child 1, punchline_sentence: string
child 2, label: int64
416: struct<context_sentences: list<item: string>, punchline_sentence: string, label: int64>
child 0, cont
...
tterance: string, speaker: string, context: list<item: string>, context_speakers: list<item: (... 38 chars omitted)
child 0, utterance: string
child 1, speaker: string
child 2, context: list<item: string>
child 0, item: string
child 3, context_speakers: list<item: string>
child 0, item: string
child 4, show: string
child 5, sarcasm: bool
2_221: struct<utterance: string, speaker: string, context: list<item: string>, context_speakers: list<item: (... 38 chars omitted)
child 0, utterance: string
child 1, speaker: string
child 2, context: list<item: string>
child 0, item: string
child 3, context_speakers: list<item: string>
child 0, item: string
child 4, show: string
child 5, sarcasm: bool
2_150: struct<utterance: string, speaker: string, context: list<item: string>, context_speakers: list<item: (... 38 chars omitted)
child 0, utterance: string
child 1, speaker: string
child 2, context: list<item: string>
child 0, item: string
child 3, context_speakers: list<item: string>
child 0, item: string
child 4, show: string
child 5, sarcasm: bool
2_547: struct<utterance: string, speaker: string, context: list<item: string>, context_speakers: list<item: (... 38 chars omitted)
child 0, utterance: string
child 1, speaker: string
child 2, context: list<item: string>
child 0, item: string
child 3, context_speakers: list<item: string>
child 0, item: string
child 4, show: string
child 5, sarcasm: bool
to
{'2_223': {'utterance': Value('string'), 'speaker': Value('string'), 'context': List(Value('string')), 'context_speakers': List(Value('string')), 'show': Value('string'), 'sarcasm': Value('bool')}, '2_370': {'utterance': Value('string'), 'speaker': Value('string'), 'context': List(Value('string')), 'context_speakers': List(Value('string')), 'show': Value('string'), 'sarcasm': Value('bool')}, '2_556': {'utterance': Value('string'), 'speaker': Value('string'), 'context': List(Value('string')), 'context_speakers': List(Value('string')), 'show': Value('string'), 'sarcasm': Value('bool')}, '2_484': {'utterance': Value('string'), 'speaker': Value('string'), 'context': List(Value('string')), 'context_speakers': List(Value('string')), 'show': Value('string'), 'sarcasm': Value('bool')}, '2_498': {'utterance': Value('string'), 'speaker': Value('string'), 'context': List(Value('string')), 'context_speakers': List(Value('string')), 'show': Value('string'), 'sarcasm': Value('bool')}, '2_494': {'utterance': Value('string'), 'speaker': Value('string'), 'context': List(Value('string')), 'context_speakers': List(Value('string')), 'show': Value('string'), 'sarcasm': Value('bool')}, '2_477': {'utterance': Value('string'), 'speaker': Value('string'), 'context': List(Value('string')), 'context_speakers': List(Value('string')), 'show': Value('string'), 'sarcasm': Value('bool')}, '2_35': {'utterance': Value('string'), 'speaker': Value('string'), 'context': List(Value('string')), 'context_speakers':
...
xt': List(Value('string')), 'context_speakers': List(Value('string')), 'show': Value('string'), 'sarcasm': Value('bool')}, '2_546': {'utterance': Value('string'), 'speaker': Value('string'), 'context': List(Value('string')), 'context_speakers': List(Value('string')), 'show': Value('string'), 'sarcasm': Value('bool')}, '2_242': {'utterance': Value('string'), 'speaker': Value('string'), 'context': List(Value('string')), 'context_speakers': List(Value('string')), 'show': Value('string'), 'sarcasm': Value('bool')}, '2_169': {'utterance': Value('string'), 'speaker': Value('string'), 'context': List(Value('string')), 'context_speakers': List(Value('string')), 'show': Value('string'), 'sarcasm': Value('bool')}, '2_235': {'utterance': Value('string'), 'speaker': Value('string'), 'context': List(Value('string')), 'context_speakers': List(Value('string')), 'show': Value('string'), 'sarcasm': Value('bool')}, '2_34': {'utterance': Value('string'), 'speaker': Value('string'), 'context': List(Value('string')), 'context_speakers': List(Value('string')), 'show': Value('string'), 'sarcasm': Value('bool')}, '2_608': {'utterance': Value('string'), 'speaker': Value('string'), 'context': List(Value('string')), 'context_speakers': List(Value('string')), 'show': Value('string'), 'sarcasm': Value('bool')}, '2_524': {'utterance': Value('string'), 'speaker': Value('string'), 'context': List(Value('string')), 'context_speakers': List(Value('string')), 'show': Value('string'), 'sarcasm': Value('bool')}}
because column names don't match
Traceback: Traceback (most recent call last):
File "/src/services/worker/src/worker/utils.py", line 149, in get_rows_or_raise
return get_rows(
dataset=dataset,
...<4 lines>...
column_names=column_names,
)
File "/src/libs/libcommon/src/libcommon/utils.py", line 272, in decorator
return func(*args, **kwargs)
File "/src/services/worker/src/worker/utils.py", line 129, in get_rows
rows_plus_one = list(itertools.islice(safe_iter(ds, dataset=dataset), rows_max_number + 1))
File "/src/services/worker/src/worker/utils.py", line 489, in safe_iter
yield from ds.decode(False) if ds.features else ds
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2818, in __iter__
for key, example in ex_iterable:
^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2355, in __iter__
for key, pa_table in self._iter_arrow():
~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2380, in _iter_arrow
for key, pa_table in self.ex_iterable._iter_arrow():
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 536, in _iter_arrow
for key, pa_table in iterator:
^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 419, in _iter_arrow
for key, pa_table in self.generate_tables_fn(**gen_kwags):
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 343, in _generate_tables
self._cast_table(pa_table, json_field_paths=json_field_paths),
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 132, in _cast_table
pa_table = table_cast(pa_table, self.info.features.arrow_schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2369, in table_cast
return cast_table_to_schema(table, schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2297, in cast_table_to_schema
raise CastError(
...<3 lines>...
)
datasets.table.CastError: Couldn't cast
408: struct<context_sentences: list<item: string>, punchline_sentence: string, label: int64>
child 0, context_sentences: list<item: string>
child 0, item: string
child 1, punchline_sentence: string
child 2, label: int64
411: struct<context_sentences: list<item: string>, punchline_sentence: string, label: int64>
child 0, context_sentences: list<item: string>
child 0, item: string
child 1, punchline_sentence: string
child 2, label: int64
412: struct<context_sentences: list<item: string>, punchline_sentence: string, label: int64>
child 0, context_sentences: list<item: string>
child 0, item: string
child 1, punchline_sentence: string
child 2, label: int64
413: struct<context_sentences: list<item: string>, punchline_sentence: string, label: int64>
child 0, context_sentences: list<item: string>
child 0, item: string
child 1, punchline_sentence: string
child 2, label: int64
414: struct<context_sentences: list<item: string>, punchline_sentence: string, label: int64>
child 0, context_sentences: list<item: string>
child 0, item: string
child 1, punchline_sentence: string
child 2, label: int64
415: struct<context_sentences: list<item: string>, punchline_sentence: string, label: int64>
child 0, context_sentences: list<item: string>
child 0, item: string
child 1, punchline_sentence: string
child 2, label: int64
416: struct<context_sentences: list<item: string>, punchline_sentence: string, label: int64>
child 0, cont
...
tterance: string, speaker: string, context: list<item: string>, context_speakers: list<item: (... 38 chars omitted)
child 0, utterance: string
child 1, speaker: string
child 2, context: list<item: string>
child 0, item: string
child 3, context_speakers: list<item: string>
child 0, item: string
child 4, show: string
child 5, sarcasm: bool
2_221: struct<utterance: string, speaker: string, context: list<item: string>, context_speakers: list<item: (... 38 chars omitted)
child 0, utterance: string
child 1, speaker: string
child 2, context: list<item: string>
child 0, item: string
child 3, context_speakers: list<item: string>
child 0, item: string
child 4, show: string
child 5, sarcasm: bool
2_150: struct<utterance: string, speaker: string, context: list<item: string>, context_speakers: list<item: (... 38 chars omitted)
child 0, utterance: string
child 1, speaker: string
child 2, context: list<item: string>
child 0, item: string
child 3, context_speakers: list<item: string>
child 0, item: string
child 4, show: string
child 5, sarcasm: bool
2_547: struct<utterance: string, speaker: string, context: list<item: string>, context_speakers: list<item: (... 38 chars omitted)
child 0, utterance: string
child 1, speaker: string
child 2, context: list<item: string>
child 0, item: string
child 3, context_speakers: list<item: string>
child 0, item: string
child 4, show: string
child 5, sarcasm: bool
to
{'2_223': {'utterance': Value('string'), 'speaker': Value('string'), 'context': List(Value('string')), 'context_speakers': List(Value('string')), 'show': Value('string'), 'sarcasm': Value('bool')}, '2_370': {'utterance': Value('string'), 'speaker': Value('string'), 'context': List(Value('string')), 'context_speakers': List(Value('string')), 'show': Value('string'), 'sarcasm': Value('bool')}, '2_556': {'utterance': Value('string'), 'speaker': Value('string'), 'context': List(Value('string')), 'context_speakers': List(Value('string')), 'show': Value('string'), 'sarcasm': Value('bool')}, '2_484': {'utterance': Value('string'), 'speaker': Value('string'), 'context': List(Value('string')), 'context_speakers': List(Value('string')), 'show': Value('string'), 'sarcasm': Value('bool')}, '2_498': {'utterance': Value('string'), 'speaker': Value('string'), 'context': List(Value('string')), 'context_speakers': List(Value('string')), 'show': Value('string'), 'sarcasm': Value('bool')}, '2_494': {'utterance': Value('string'), 'speaker': Value('string'), 'context': List(Value('string')), 'context_speakers': List(Value('string')), 'show': Value('string'), 'sarcasm': Value('bool')}, '2_477': {'utterance': Value('string'), 'speaker': Value('string'), 'context': List(Value('string')), 'context_speakers': List(Value('string')), 'show': Value('string'), 'sarcasm': Value('bool')}, '2_35': {'utterance': Value('string'), 'speaker': Value('string'), 'context': List(Value('string')), 'context_speakers':
...
xt': List(Value('string')), 'context_speakers': List(Value('string')), 'show': Value('string'), 'sarcasm': Value('bool')}, '2_546': {'utterance': Value('string'), 'speaker': Value('string'), 'context': List(Value('string')), 'context_speakers': List(Value('string')), 'show': Value('string'), 'sarcasm': Value('bool')}, '2_242': {'utterance': Value('string'), 'speaker': Value('string'), 'context': List(Value('string')), 'context_speakers': List(Value('string')), 'show': Value('string'), 'sarcasm': Value('bool')}, '2_169': {'utterance': Value('string'), 'speaker': Value('string'), 'context': List(Value('string')), 'context_speakers': List(Value('string')), 'show': Value('string'), 'sarcasm': Value('bool')}, '2_235': {'utterance': Value('string'), 'speaker': Value('string'), 'context': List(Value('string')), 'context_speakers': List(Value('string')), 'show': Value('string'), 'sarcasm': Value('bool')}, '2_34': {'utterance': Value('string'), 'speaker': Value('string'), 'context': List(Value('string')), 'context_speakers': List(Value('string')), 'show': Value('string'), 'sarcasm': Value('bool')}, '2_608': {'utterance': Value('string'), 'speaker': Value('string'), 'context': List(Value('string')), 'context_speakers': List(Value('string')), 'show': Value('string'), 'sarcasm': Value('bool')}, '2_524': {'utterance': Value('string'), 'speaker': Value('string'), 'context': List(Value('string')), 'context_speakers': List(Value('string')), 'show': Value('string'), 'sarcasm': Value('bool')}}
because column names don't matchNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
CTM Affective Benchmarks: MUStARD + UR-FUNNY
Preprocessed multimodal media and text splits for the two affective-reasoning
benchmarks used in the ctm-ai exp_affective experiments:
- MUStARD — multimodal sarcasm detection from TV sitcom clips (Friends, The Big Bang Theory, The Golden Girls, Sarcasmaholics).
- UR-FUNNY — multimodal humor detection from TED talk clips.
This repo bundles the derived media (raw clips, muted video streams, and extracted audio) alongside the JSON text splits, so an experiment run can fetch everything from one place.
Repository layout
mustard/
mmsd_raw_data/utterances_final/ 690 mp4 — raw clips (video + audio)
mustard_muted_videos/ 690 mp4 — video-only (audio stream removed)
mustard_audios/ 356 mp4 — audio-only, test split only
mustard_dataset/ 9 json — test split + evaluation subsets
mustard_smoke3.json — 3-example smoke test
urfunny/
urfunny_videos/ 992 mp4 — raw clips (video + audio)
urfunny_muted_videos/ 992 mp4 — video-only (audio stream removed)
urfunny_audios/ 992 mp4 — audio-only
data_raw/ 5 json — test split + evaluation subsets
urfunny_smoke3.json — 3-example smoke test
Total: 4,728 files, ~4.55 GB.
Naming conventions
- MUStARD clip ids look like
1_10004(non-sarcastic pool) and2_223(sarcastic pool). Audio files add an_audiosuffix:2_223_audio.mp4. - UR-FUNNY clip ids are plain integers (
1008), with audio also suffixed_audio(1008_audio.mp4). - Media files carry the
.mp4container throughout, including the audio-only tracks — they are audio streams in an mp4 container, not video.
Coverage note
mustard_audios/ contains 356 files, not 690: audio was extracted only for
the clips in mustard_dataset/mustard_dataset_test.json (the 356-example test
split). Those 356 ids are a strict subset of the 690 ids in
mustard_muted_videos/ and mmsd_raw_data/utterances_final/. UR-FUNNY has
full 992/992/992 coverage across all three modality folders.
Text split schemas
mustard/mustard_dataset/mustard_dataset_test.json — a dict keyed by clip id
(356 entries):
| field | description |
|---|---|
utterance |
the target utterance text |
speaker |
speaker of the target utterance |
context |
list of preceding utterances |
context_speakers |
speakers for each context utterance |
show |
source sitcom |
sarcasm |
boolean label |
urfunny/data_raw/urfunny_dataset_test.json — a dict keyed by clip id
(992 entries):
| field | description |
|---|---|
context_sentences |
list of setup sentences |
punchline_sentence |
the punchline |
label |
humor label |
The remaining JSON files in each folder are evaluation subsets
(*_subset_5/6/20/100.json) and retry/missing-id lists used for partial reruns.
Usage
from huggingface_hub import snapshot_download
# everything (~4.55 GB)
snapshot_download("lwaekfjlk/ctm-affective", repo_type="dataset")
# just the MUStARD text splits
snapshot_download(
"lwaekfjlk/ctm-affective",
repo_type="dataset",
allow_patterns="mustard/mustard_dataset/*",
)
# just UR-FUNNY audio
snapshot_download(
"lwaekfjlk/ctm-affective",
repo_type="dataset",
allow_patterns="urfunny/urfunny_audios/*",
)
There is intentionally no configs: block in the card metadata: the JSON files
are id-keyed dicts rather than record lists, so the dataset viewer would not
parse them. Load them with json.load directly.
Provenance and licensing
The clips are derived from third-party copyrighted footage (TV sitcom episodes for MUStARD, TED talks for UR-FUNNY) and are redistributed here only as preprocessed research artifacts. Use is intended for non-commercial academic research. Rights to the underlying footage remain with their original owners; consult the upstream datasets for their terms before redistributing.
Please cite the original datasets:
@inproceedings{castro2019towards,
title = {Towards Multimodal Sarcasm Detection (An {\_}Obviously{\_} Perfect Paper)},
author = {Castro, Santiago and Hazarika, Devamanyu and P{\'e}rez-Rosas, Ver{\'o}nica
and Zimmermann, Roger and Mihalcea, Rada and Poria, Soujanya},
booktitle = {Proceedings of the 57th Annual Meeting of the Association for
Computational Linguistics (ACL)},
year = {2019}
}
@inproceedings{hasan2019urfunny,
title = {{UR-FUNNY}: A Multimodal Language Dataset for Understanding Humor},
author = {Hasan, Md Kamrul and Rahman, Wasifur and Zadeh, Amir and Zhong, Jianyuan
and Tanveer, Md Iftekhar and Morency, Louis-Philippe and Hoque, Mohammed (Ehsan)},
booktitle = {Proceedings of the 2019 Conference on Empirical Methods in Natural
Language Processing (EMNLP)},
year = {2019}
}
- Downloads last month
- 60