Datasets:
audio
audioduration (s) 3.47
7.6
| sampling_rate
int32 44.1k
48k
| image
imagewidth (px) 145
640
| same
bool 2
classes | emotion
stringclasses 8
values | question
stringclasses 5
values | answer
stringclasses 8
values |
|---|---|---|---|---|---|---|
44,100
| true
|
anger
|
Compare the audio with the image: are they expressing the same feeling? Answer `yes - emotion` or `no`.
|
yes - anger
|
||
48,000
| false
|
Do both modalities convey the same mood? Say `yes - emotion` if they do; otherwise say `no`.
|
no
|
|||
44,100
| true
|
anger
|
Compare the audio with the image: are they expressing the same feeling? Answer `yes - emotion` or `no`.
|
yes - anger
|
||
44,100
| false
|
Listen to the audio and inspect the picture. Are their emotions aligned? Respond `yes - emotion` or `no`.
|
no
|
|||
44,100
| false
|
Listen to the audio and inspect the picture. Are their emotions aligned? Respond `yes - emotion` or `no`.
|
no
|
|||
48,000
| false
|
Compare the audio with the image: are they expressing the same feeling? Answer `yes - emotion` or `no`.
|
no
|
|||
44,100
| true
|
excitement
|
Judge whether the song and the image share an emotion. Reply `yes - emotion` or `no`.
|
yes - excitement
|
||
48,000
| true
|
sadness
|
Do both modalities convey the same mood? Say `yes - emotion` if they do; otherwise say `no`.
|
yes - sadness
|
||
48,000
| false
|
Do both modalities convey the same mood? Say `yes - emotion` if they do; otherwise say `no`.
|
no
|
|||
44,100
| false
|
Listen to the audio and inspect the picture. Are their emotions aligned? Respond `yes - emotion` or `no`.
|
no
|
|||
48,000
| false
|
Compare the audio with the image: are they expressing the same feeling? Answer `yes - emotion` or `no`.
|
no
|
|||
44,100
| true
|
anger
|
Listen to the audio and inspect the picture. Are their emotions aligned? Respond `yes - emotion` or `no`.
|
yes - anger
|
||
48,000
| false
|
Do both modalities convey the same mood? Say `yes - emotion` if they do; otherwise say `no`.
|
no
|
|||
44,100
| true
|
sadness
|
Do both modalities convey the same mood? Say `yes - emotion` if they do; otherwise say `no`.
|
yes - sadness
|
||
48,000
| false
|
Do the music clip and the image express the same emotion? Answer `yes - emotion` or `no`.
|
no
|
|||
44,100
| true
|
fear
|
Do the music clip and the image express the same emotion? Answer `yes - emotion` or `no`.
|
yes - fear
|
||
48,000
| false
|
Do both modalities convey the same mood? Say `yes - emotion` if they do; otherwise say `no`.
|
no
|
|||
48,000
| false
|
Judge whether the song and the image share an emotion. Reply `yes - emotion` or `no`.
|
no
|
|||
44,100
| true
|
contentment
|
Do both modalities convey the same mood? Say `yes - emotion` if they do; otherwise say `no`.
|
yes - contentment
|
||
48,000
| false
|
Judge whether the song and the image share an emotion. Reply `yes - emotion` or `no`.
|
no
|
|||
44,100
| true
|
sadness
|
Do the music clip and the image express the same emotion? Answer `yes - emotion` or `no`.
|
yes - sadness
|
||
44,100
| true
|
contentment
|
Listen to the audio and inspect the picture. Are their emotions aligned? Respond `yes - emotion` or `no`.
|
yes - contentment
|
||
48,000
| false
|
Judge whether the song and the image share an emotion. Reply `yes - emotion` or `no`.
|
no
|
|||
48,000
| false
|
Do the music clip and the image express the same emotion? Answer `yes - emotion` or `no`.
|
no
|
|||
44,100
| true
|
contentment
|
Compare the audio with the image: are they expressing the same feeling? Answer `yes - emotion` or `no`.
|
yes - contentment
|
||
44,100
| false
|
Do both modalities convey the same mood? Say `yes - emotion` if they do; otherwise say `no`.
|
no
|
|||
48,000
| false
|
Compare the audio with the image: are they expressing the same feeling? Answer `yes - emotion` or `no`.
|
no
|
|||
44,100
| true
|
sadness
|
Do the music clip and the image express the same emotion? Answer `yes - emotion` or `no`.
|
yes - sadness
|
||
44,100
| true
|
amusement
|
Do both modalities convey the same mood? Say `yes - emotion` if they do; otherwise say `no`.
|
yes - amusement
|
||
48,000
| false
|
Compare the audio with the image: are they expressing the same feeling? Answer `yes - emotion` or `no`.
|
no
|
|||
44,100
| true
|
fear
|
Do both modalities convey the same mood? Say `yes - emotion` if they do; otherwise say `no`.
|
yes - fear
|
||
48,000
| true
|
fear
|
Listen to the audio and inspect the picture. Are their emotions aligned? Respond `yes - emotion` or `no`.
|
yes - fear
|
||
44,100
| false
|
Do the music clip and the image express the same emotion? Answer `yes - emotion` or `no`.
|
no
|
|||
44,100
| true
|
awe
|
Listen to the audio and inspect the picture. Are their emotions aligned? Respond `yes - emotion` or `no`.
|
yes - awe
|
||
48,000
| true
|
fear
|
Listen to the audio and inspect the picture. Are their emotions aligned? Respond `yes - emotion` or `no`.
|
yes - fear
|
||
48,000
| true
|
fear
|
Do the music clip and the image express the same emotion? Answer `yes - emotion` or `no`.
|
yes - fear
|
||
44,100
| false
|
Judge whether the song and the image share an emotion. Reply `yes - emotion` or `no`.
|
no
|
|||
44,100
| false
|
Do both modalities convey the same mood? Say `yes - emotion` if they do; otherwise say `no`.
|
no
|
|||
48,000
| false
|
Listen to the audio and inspect the picture. Are their emotions aligned? Respond `yes - emotion` or `no`.
|
no
|
|||
44,100
| false
|
Listen to the audio and inspect the picture. Are their emotions aligned? Respond `yes - emotion` or `no`.
|
no
|
|||
48,000
| true
|
sadness
|
Judge whether the song and the image share an emotion. Reply `yes - emotion` or `no`.
|
yes - sadness
|
||
44,100
| false
|
Listen to the audio and inspect the picture. Are their emotions aligned? Respond `yes - emotion` or `no`.
|
no
|
|||
44,100
| false
|
Compare the audio with the image: are they expressing the same feeling? Answer `yes - emotion` or `no`.
|
no
|
|||
48,000
| true
|
excitement
|
Listen to the audio and inspect the picture. Are their emotions aligned? Respond `yes - emotion` or `no`.
|
yes - excitement
|
||
44,100
| true
|
sadness
|
Judge whether the song and the image share an emotion. Reply `yes - emotion` or `no`.
|
yes - sadness
|
||
48,000
| false
|
Do the music clip and the image express the same emotion? Answer `yes - emotion` or `no`.
|
no
|
|||
48,000
| true
|
fear
|
Do both modalities convey the same mood? Say `yes - emotion` if they do; otherwise say `no`.
|
yes - fear
|
||
48,000
| false
|
Compare the audio with the image: are they expressing the same feeling? Answer `yes - emotion` or `no`.
|
no
|
|||
48,000
| false
|
Judge whether the song and the image share an emotion. Reply `yes - emotion` or `no`.
|
no
|
|||
48,000
| true
|
sadness
|
Do both modalities convey the same mood? Say `yes - emotion` if they do; otherwise say `no`.
|
yes - sadness
|
||
48,000
| true
|
sadness
|
Do the music clip and the image express the same emotion? Answer `yes - emotion` or `no`.
|
yes - sadness
|
||
44,100
| false
|
Compare the audio with the image: are they expressing the same feeling? Answer `yes - emotion` or `no`.
|
no
|
|||
48,000
| false
|
Do both modalities convey the same mood? Say `yes - emotion` if they do; otherwise say `no`.
|
no
|
|||
44,100
| false
|
Judge whether the song and the image share an emotion. Reply `yes - emotion` or `no`.
|
no
|
|||
44,100
| true
|
fear
|
Compare the audio with the image: are they expressing the same feeling? Answer `yes - emotion` or `no`.
|
yes - fear
|
||
44,100
| false
|
Listen to the audio and inspect the picture. Are their emotions aligned? Respond `yes - emotion` or `no`.
|
no
|
|||
44,100
| true
|
sadness
|
Do both modalities convey the same mood? Say `yes - emotion` if they do; otherwise say `no`.
|
yes - sadness
|
||
48,000
| false
|
Do both modalities convey the same mood? Say `yes - emotion` if they do; otherwise say `no`.
|
no
|
|||
48,000
| true
|
awe
|
Do the music clip and the image express the same emotion? Answer `yes - emotion` or `no`.
|
yes - awe
|
||
48,000
| false
|
Do both modalities convey the same mood? Say `yes - emotion` if they do; otherwise say `no`.
|
no
|
|||
44,100
| false
|
Do the music clip and the image express the same emotion? Answer `yes - emotion` or `no`.
|
no
|
|||
44,100
| false
|
Do both modalities convey the same mood? Say `yes - emotion` if they do; otherwise say `no`.
|
no
|
|||
44,100
| true
|
fear
|
Compare the audio with the image: are they expressing the same feeling? Answer `yes - emotion` or `no`.
|
yes - fear
|
||
44,100
| false
|
Do the music clip and the image express the same emotion? Answer `yes - emotion` or `no`.
|
no
|
|||
48,000
| false
|
Listen to the audio and inspect the picture. Are their emotions aligned? Respond `yes - emotion` or `no`.
|
no
|
|||
44,100
| true
|
sadness
|
Do the music clip and the image express the same emotion? Answer `yes - emotion` or `no`.
|
yes - sadness
|
||
44,100
| false
|
Listen to the audio and inspect the picture. Are their emotions aligned? Respond `yes - emotion` or `no`.
|
no
|
|||
44,100
| true
|
anger
|
Listen to the audio and inspect the picture. Are their emotions aligned? Respond `yes - emotion` or `no`.
|
yes - anger
|
||
44,100
| false
|
Listen to the audio and inspect the picture. Are their emotions aligned? Respond `yes - emotion` or `no`.
|
no
|
|||
44,100
| false
|
Listen to the audio and inspect the picture. Are their emotions aligned? Respond `yes - emotion` or `no`.
|
no
|
|||
44,100
| false
|
Judge whether the song and the image share an emotion. Reply `yes - emotion` or `no`.
|
no
|
|||
44,100
| true
|
sadness
|
Do the music clip and the image express the same emotion? Answer `yes - emotion` or `no`.
|
yes - sadness
|
||
48,000
| true
|
excitement
|
Do both modalities convey the same mood? Say `yes - emotion` if they do; otherwise say `no`.
|
yes - excitement
|
||
44,100
| false
|
Do the music clip and the image express the same emotion? Answer `yes - emotion` or `no`.
|
no
|
|||
48,000
| false
|
Judge whether the song and the image share an emotion. Reply `yes - emotion` or `no`.
|
no
|
|||
48,000
| false
|
Do the music clip and the image express the same emotion? Answer `yes - emotion` or `no`.
|
no
|
|||
44,100
| false
|
Compare the audio with the image: are they expressing the same feeling? Answer `yes - emotion` or `no`.
|
no
|
|||
48,000
| true
|
sadness
|
Judge whether the song and the image share an emotion. Reply `yes - emotion` or `no`.
|
yes - sadness
|
||
48,000
| true
|
sadness
|
Do both modalities convey the same mood? Say `yes - emotion` if they do; otherwise say `no`.
|
yes - sadness
|
||
44,100
| false
|
Listen to the audio and inspect the picture. Are their emotions aligned? Respond `yes - emotion` or `no`.
|
no
|
|||
44,100
| false
|
Do the music clip and the image express the same emotion? Answer `yes - emotion` or `no`.
|
no
|
|||
48,000
| true
|
anger
|
Compare the audio with the image: are they expressing the same feeling? Answer `yes - emotion` or `no`.
|
yes - anger
|
||
44,100
| true
|
excitement
|
Compare the audio with the image: are they expressing the same feeling? Answer `yes - emotion` or `no`.
|
yes - excitement
|
||
48,000
| true
|
excitement
|
Do both modalities convey the same mood? Say `yes - emotion` if they do; otherwise say `no`.
|
yes - excitement
|
||
48,000
| false
|
Compare the audio with the image: are they expressing the same feeling? Answer `yes - emotion` or `no`.
|
no
|
|||
48,000
| true
|
anger
|
Judge whether the song and the image share an emotion. Reply `yes - emotion` or `no`.
|
yes - anger
|
||
44,100
| false
|
Listen to the audio and inspect the picture. Are their emotions aligned? Respond `yes - emotion` or `no`.
|
no
|
|||
48,000
| false
|
Do both modalities convey the same mood? Say `yes - emotion` if they do; otherwise say `no`.
|
no
|
|||
48,000
| true
|
anger
|
Judge whether the song and the image share an emotion. Reply `yes - emotion` or `no`.
|
yes - anger
|
||
48,000
| true
|
amusement
|
Do the music clip and the image express the same emotion? Answer `yes - emotion` or `no`.
|
yes - amusement
|
||
44,100
| true
|
anger
|
Compare the audio with the image: are they expressing the same feeling? Answer `yes - emotion` or `no`.
|
yes - anger
|
||
44,100
| false
|
Compare the audio with the image: are they expressing the same feeling? Answer `yes - emotion` or `no`.
|
no
|
|||
44,100
| true
|
sadness
|
Do the music clip and the image express the same emotion? Answer `yes - emotion` or `no`.
|
yes - sadness
|
||
48,000
| false
|
Compare the audio with the image: are they expressing the same feeling? Answer `yes - emotion` or `no`.
|
no
|
|||
44,100
| true
|
contentment
|
Do both modalities convey the same mood? Say `yes - emotion` if they do; otherwise say `no`.
|
yes - contentment
|
||
44,100
| true
|
contentment
|
Compare the audio with the image: are they expressing the same feeling? Answer `yes - emotion` or `no`.
|
yes - contentment
|
||
48,000
| false
|
Do both modalities convey the same mood? Say `yes - emotion` if they do; otherwise say `no`.
|
no
|
|||
44,100
| true
|
sadness
|
Compare the audio with the image: are they expressing the same feeling? Answer `yes - emotion` or `no`.
|
yes - sadness
|
||
44,100
| true
|
anger
|
Compare the audio with the image: are they expressing the same feeling? Answer `yes - emotion` or `no`.
|
yes - anger
|
||
44,100
| true
|
anger
|
Listen to the audio and inspect the picture. Are their emotions aligned? Respond `yes - emotion` or `no`.
|
yes - anger
|
EMID-Emotion-Matching
orrzohar/EMID-Emotion-Matching is a derived dataset built on top of
the Emotionally paired Music and Image Dataset (EMID) from ECNU (ecnu-aigc/EMID).
It is designed for music ↔ image emotion matching with Qwen-Omni–style models.
Each example contains:
audio: mono waveform stored asdatasets.Audio(HF Hub preview can play it)sampling_rate: sampling rate used when decoding (typically 16 kHz)image: a single image (datasets.Image)same:bool, whether the audio and image are labeled with the same emotionemotion: normalized image emotion tag (e.g.amusement,excitement) for positive pairs; empty string for negativesquestion: natural-language question used to prompt the model (several templates are mixed)answer: canonical supervision text (yes - {emotion}for positives,nofor negatives)
| column | type | description |
|---|---|---|
audio |
datasets.Audio (16k mono) |
decoded waveform; HF UI can play it |
sampling_rate |
int32 |
explicit sample rate mirrored beside the Audio column |
image |
datasets.Image |
PIL.Image-compatible object |
same |
bool |
True if the pair is emotion-aligned |
emotion |
string |
normalized emotion label for positives, "" otherwise |
question |
string |
user prompt template |
answer |
string |
canonical supervision text (yes - {emotion} / no) |
The original EMID row has one music clip and up to three tagged images
(Image1, Image2, Image3). For each (audio, image) pair we create:
- 1 positive example: the audio and its own tagged image (
same = True,emotion = image_tag) - NEGATIVES_PER_POSITIVE = 1 negative example: the same audio paired with an image drawn
from a different emotion tag (
same = False,emotion = "")
With MAX_SOURCE_ROWS = 4000, this yields ~24,000 examples (positives + negatives),
which we then split into:
train: 19,200 examplestest: 4,800 examples
Source Data (EMID)
The base EMID dataset is described in:
- Emotionally paired Music and Image Dataset (EMID)
Y. Guo, J. Li, et al.
arXiv:2308.07622 — "Emotionally paired Music and Image Dataset (EMID)"
https://arxiv.org/abs/2308.07622
EMID contains 10,738 unique music clips, each paired with three images in the same emotional category, plus rich annotations:
Audio_Filename: unique filename of the music clipgenre: letter A–M, one of 13 emotional categoriesfeeling: distribution of free-form feelings reported by listeners (% per feeling)emotion: ratings on 11 emotional dimensions (1–9)Image{1,2,3}_filename: matched image filenamesImage{1,2,3}_tag: image emotion category (e.g.amusement,excitement)Image{1,2,3}_text: GIT-generated captionsis_original_clip: whether this is an original or expanded clip
For more details, see the EMID README and the paper above.
How This Derived Dataset Was Built
The script prepare_emid_pairs.py performs the following steps offline:
- Load
ecnu-aigc/EMID(train split) and decode:Audio_FilenamewithAudio(decode=True)Image{1,2,3}_filenamewithdatasets.Image(decode=True)
- Optionally cap the number of source rows with
MAX_SOURCE_ROWS(default 4000). - Build an image pool keyed by normalized emotion tags.
- For each EMID row and each available image (up to 3 per row):
- Create a positive pair
(audio, image, same=True, emotion=image_tag). - Sample
NEGATIVES_PER_POSITIVEimages from different emotion tags to form negatives.
- Create a positive pair
- Normalize the emotion strings (lowercase, replace spaces and punctuation with
_). - Draw a random question from a small set of Qwen-style templates and attach it as
question. - Store the mono waveform as
datasets.Audioand the image asdatasets.Imageso that downstream scripts can calldatasets.load_datasetwithout extra decoding logic. - Split into train/test with
TRAIN_FRACTION = 0.8.
This yields a simple, flat structure that is convenient for SFT / contrastive training with Qwen2.5-Omni (or other multimodal LMs), without re-doing negative sampling or audio/image decoding inside notebooks.
Suggested Usage
from datasets import load_dataset
ds = load_dataset("orrzohar/EMID-Emotion-Matching")
train_ds = ds["train"]
test_ds = ds["test"]
ex = train_ds[0]
audio = ex["audio"] # dict with "array" + "sampling_rate"
sr = ex["sampling_rate"] # int
image = ex["image"] # PIL.Image.Image
same = ex["same"] # bool
emotion = ex["emotion"] # str
question = ex["question"] # str
answer = ex["answer"] # str
In the Qwen-Omni demos, we typically:
- Use
questionas the user prompt, - Provide
audioandimageas multimodal inputs, and - Supervise the model with the provided
answer(or regenerate your own phrasing fromsame/emotion).
License
This derived dataset inherits the license from EMID:
- CC BY-NC-SA 4.0 (Attribution–NonCommercial–ShareAlike 4.0 International)
You must:
- Use the data only for non-commercial purposes.
- Provide appropriate attribution to the EMID authors and this derived dataset.
- Distribute derivative works under the same license.
Please refer to the full license text for details: https://creativecommons.org/licenses/by-nc-sa/4.0/
If you use this dataset in academic work, please cite the EMID paper and, if appropriate, this derived dataset as well.
- Downloads last month
- 56