sboughorbel commited on
Commit
787afdd
·
verified ·
1 Parent(s): 524baa1

Add dataset card

Browse files
Files changed (1) hide show
  1. README.md +242 -0
README.md ADDED
@@ -0,0 +1,242 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-nc-4.0
3
+ task_categories:
4
+ - video-classification
5
+ - audio-classification
6
+ - text-classification
7
+ - question-answering
8
+ - visual-question-answering
9
+ language:
10
+ - en
11
+ - zh
12
+ tags:
13
+ - multimodal
14
+ - emotion-recognition
15
+ - sentiment-analysis
16
+ - humor-detection
17
+ - mental-health
18
+ - video-qa
19
+ - reinforcement-learning
20
+ - verl
21
+ - rl-training
22
+ - qwen2.5-omni
23
+ - audio
24
+ - video
25
+ - pose-estimation
26
+ - opensmile
27
+ pretty_name: Human Behavior Atlas v2
28
+ size_categories:
29
+ - 10K<n<100K
30
+ configs:
31
+ - config_name: default
32
+ data_files:
33
+ - split: train
34
+ path: train-*.parquet
35
+ - split: validation
36
+ path: validation-*.parquet
37
+ - split: test
38
+ path: test-*.parquet
39
+ dataset_info:
40
+ features:
41
+ - name: problem
42
+ dtype: string
43
+ - name: answer
44
+ dtype: string
45
+ - name: images
46
+ sequence: binary
47
+ - name: videos
48
+ sequence: binary
49
+ - name: audios
50
+ sequence: binary
51
+ - name: dataset
52
+ dtype: string
53
+ - name: modality_signature
54
+ dtype: string
55
+ - name: ext_video_feats
56
+ sequence: binary
57
+ - name: ext_audio_feats
58
+ sequence: binary
59
+ - name: task
60
+ dtype: string
61
+ - name: class_label
62
+ dtype: string
63
+ splits:
64
+ - name: train
65
+ num_examples: 74449
66
+ - name: validation
67
+ num_examples: 7646
68
+ - name: test
69
+ num_examples: 18204
70
+ ---
71
+
72
+ # Human Behavior Atlas v2
73
+
74
+ A large-scale multimodal dataset for human behavior understanding, spanning emotion recognition, sentiment analysis, humor detection, mental health screening, and video question answering. The dataset integrates 16 source datasets into a unified schema with audio, video, and pre-extracted features, designed for reinforcement learning training with the [verl](https://github.com/volcengine/verl) framework and multimodal language models such as Qwen2.5-Omni-7B.
75
+
76
+ ## Dataset Summary
77
+
78
+ | Property | Value |
79
+ |---|---|
80
+ | Total samples | 100,299 |
81
+ | Train split | 74,449 |
82
+ | Validation split | 7,646 |
83
+ | Test split | 18,204 |
84
+ | Source datasets | 16 |
85
+ | Modalities | Text, Audio (.wav bytes), Video (.mp4 bytes), OpenSmile features (.pt bytes), Pose features (.pt bytes) — all embedded in parquet |
86
+ | Languages | English, Chinese (CHSIMSv2) |
87
+ | License | CC BY-NC 4.0 |
88
+
89
+ ## Modality Distribution
90
+
91
+ | Modality Signature | Samples | Percentage |
92
+ |---|---|---|
93
+ | text_video_audio | 87,318 | 87.1% |
94
+ | text_audio | 10,431 | 10.4% |
95
+ | text | 2,550 | 2.5% |
96
+
97
+ ## Source Datasets
98
+
99
+ | Dataset | Samples | Task | Modality | Description |
100
+ |---|---|---|---|---|
101
+ | **mosei_senti** | 22,740 | Sentiment classification | text_video_audio | CMU-MOSEI sentiment analysis (negative/neutral/positive) |
102
+ | **intentqa** | 14,158 | Video QA | text_video_audio | Intent-driven video question answering |
103
+ | **meld_senti** | 13,518 | Sentiment classification | text_video_audio | MELD multimodal sentiment (from Friends TV series) |
104
+ | **meld_emotion** | 13,350 | Emotion classification | text_video_audio | MELD multimodal emotion recognition (7 classes) |
105
+ | **mosei_emotion** | 8,545 | Emotion classification | text_video_audio | CMU-MOSEI emotion recognition (6 classes) |
106
+ | **cremad** | 7,442 | Emotion classification | text_audio | CREMA-D acted emotional speech recognition |
107
+ | **siq2** | 6,394 | Video QA | text_video_audio | Social IQ 2.0 social intelligence QA |
108
+ | **chsimsv2** | 4,384 | Sentiment classification | text_video_audio | CH-SIMS v2 Chinese multimodal sentiment |
109
+ | **tess** | 2,800 | Emotion classification | text_audio | Toronto Emotional Speech Set |
110
+ | **urfunny** | 2,113 | Humor classification | text_video_audio | UR-Funny multimodal humor detection |
111
+ | **mmpsy_depression** | 1,275 | Depression screening | text_video_audio | Multimodal depression assessment |
112
+ | **mmpsy_anxiety** | 1,275 | Anxiety screening | text_video_audio | Multimodal anxiety assessment |
113
+ | **mimeqa** | 801 | Video QA | text_video_audio | MIME gesture-based QA |
114
+ | **mmsd** | 687 | Humor classification | text | Multimodal sarcasm detection (text only) |
115
+ | **ptsd_in_the_wild** | 628 | PTSD detection | text_video_audio | PTSD detection from video interviews |
116
+ | **daicwoz** | 189 | Depression screening | text_video_audio | DAIC-WOZ clinical depression interviews |
117
+
118
+ ## Task Types
119
+
120
+ | Task ID | Description | Datasets |
121
+ |---|---|---|
122
+ | `emotion_cls` | Emotion classification | mosei_emotion, meld_emotion, cremad, tess |
123
+ | `sentiment_cls` | Sentiment classification / regression | mosei_senti, meld_senti, chsimsv2 |
124
+ | `humor_cls` | Humor and sarcasm detection | urfunny, mmsd |
125
+ | `depression` | Depression screening | mmpsy_depression, daicwoz |
126
+ | `anxiety` | Anxiety screening | mmpsy_anxiety |
127
+ | `ptsd` | PTSD detection | ptsd_in_the_wild |
128
+ | `video_qa` | Video question answering | intentqa, siq2, mimeqa |
129
+
130
+ ## Schema
131
+
132
+ Each row in the Parquet files contains the following columns:
133
+
134
+ | Column | Type | Description |
135
+ |---|---|---|
136
+ | `problem` | string | Prompt text with modality markers (`<audio>`, `<video>`) |
137
+ | `answer` | string | Ground truth answer |
138
+ | `audios` | list[bytes] | Raw .wav audio bytes (embedded) |
139
+ | `videos` | list[bytes] | Raw .mp4 video bytes (embedded) |
140
+ | `images` | list[bytes] | Image bytes (currently unused) |
141
+ | `dataset` | string | Source dataset name |
142
+ | `modality_signature` | string | Modality combination: `text_video_audio`, `text_audio`, or `text` |
143
+ | `ext_video_feats` | list[bytes] | Pose estimation feature tensors (.pt bytes, embedded) |
144
+ | `ext_audio_feats` | list[bytes] | OpenSmile audio feature tensors (.pt bytes, embedded) |
145
+ | `task` | string | Task type identifier |
146
+ | `class_label` | string | Classification label |
147
+
148
+ ## Repository Structure
149
+
150
+ ```
151
+ sboughorbel/human_behavior_atlas_v2/
152
+ train-00000-of-XXXXX.parquet # Sharded parquet with embedded audio/video
153
+ train-00001-of-XXXXX.parquet
154
+ ...
155
+ validation-*.parquet
156
+ test-*.parquet
157
+ ```
158
+
159
+ All data — including audio, video, and pre-extracted features — is fully embedded in the parquet files. No separate downloads or extraction needed.
160
+
161
+ ## Usage
162
+
163
+ ### Loading with HuggingFace Datasets
164
+
165
+ ```python
166
+ from datasets import load_dataset
167
+
168
+ # Stream without downloading everything
169
+ ds = load_dataset("sboughorbel/human_behavior_atlas_v2", split="train", streaming=True)
170
+ sample = next(iter(ds))
171
+
172
+ # Load a subset
173
+ ds_100 = load_dataset("sboughorbel/human_behavior_atlas_v2", split="train[:100]")
174
+
175
+ # Filter by task or modality
176
+ emotion_ds = ds_100.filter(lambda x: x["task"] == "emotion_cls")
177
+ ```
178
+
179
+ ### Accessing Embedded Media
180
+
181
+ ```python
182
+ import io
183
+ import soundfile as sf
184
+
185
+ sample = ds_100[0]
186
+
187
+ # Audio is raw bytes — decode with soundfile or torchaudio
188
+ if sample["audios"]:
189
+ audio_data, sr = sf.read(io.BytesIO(sample["audios"][0]))
190
+
191
+ # Video is raw bytes — decode with decord, opencv, or write to temp file
192
+ if sample["videos"]:
193
+ video_bytes = sample["videos"][0]
194
+ # e.g., with decord:
195
+ # from decord import VideoReader
196
+ # vr = VideoReader(io.BytesIO(video_bytes))
197
+ ```
198
+
199
+ ### Download and Setup
200
+
201
+ ```bash
202
+ # Download full dataset
203
+ huggingface-cli download sboughorbel/human_behavior_atlas_v2 \
204
+ --repo-type dataset --local-dir /path/to/data
205
+
206
+ # Or download specific splits only
207
+ huggingface-cli download sboughorbel/human_behavior_atlas_v2 \
208
+ --repo-type dataset --local-dir /path/to/data \
209
+ --include "train-*.parquet"
210
+ ```
211
+
212
+ ### Integration with verl RL Training
213
+
214
+ This dataset is designed for RL training with [verl](https://github.com/volcengine/verl) using Qwen2.5-Omni-7B. The `problem` field contains structured prompts with `<audio>` and `<video>` modality markers. Audio and video bytes are loaded directly from parquet — no path resolution needed.
215
+
216
+ All data including feature tensors is embedded directly in the parquet files.
217
+
218
+ ```bash
219
+ # verl training config
220
+ python3 -m verl.trainer.main_ppo \
221
+ data.train_files=/path/to/data/train-*.parquet \
222
+ data.val_files=/path/to/data/validation-*.parquet \
223
+ data.prompt_key=problem \
224
+ data.image_key=images \
225
+ data.video_key=videos \
226
+ data.modalities='audio,videos' \
227
+ ...
228
+ ```
229
+
230
+ ## Citation
231
+
232
+ If you use this dataset, please cite the original source datasets as appropriate. Key references include:
233
+
234
+ - CMU-MOSEI: Zadeh et al., "Multimodal Language Analysis in the Wild: CMU-MOSEI Dataset and Interpretable Dynamic Fusion Graph", ACL 2018
235
+ - MELD: Poria et al., "MELD: A Multimodal Multi-Party Dataset for Emotion Recognition in Conversations", ACL 2019
236
+ - CREMA-D: Cao et al., "CREMA-D: Crowd-Sourced Emotional Multimodal Actors Dataset", IEEE TAC 2014
237
+ - DAIC-WOZ: Gratch et al., "The Distress Analysis Interview Corpus of Human and Computer Interviews", LREC 2014
238
+ - CH-SIMS v2: Liu et al., "Make Acoustic and Visual Cues Matter: CH-SIMS v2.0 Dataset and AV-Mixup Consistent Module", ICMI 2022
239
+
240
+ ## License
241
+
242
+ This dataset is released under the [Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0)](https://creativecommons.org/licenses/by-nc/4.0/) license. Individual source datasets may have their own licensing terms; please consult the original dataset publications for details.