ChristophSchuhmann commited on
Commit
41f0ea8
·
verified ·
1 Parent(s): 444cdce

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +194 -1
README.md CHANGED
@@ -1,3 +1,196 @@
1
  ---
2
- license: apache-2.0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ license: cc-by-4.0
3
+ task_categories:
4
+ - audio-classification
5
+ - text-to-audio
6
+ language:
7
+ - en
8
+ tags:
9
+ - vocal-bursts
10
+ - speech
11
+ - audio
12
+ - synthetic
13
+ - tts
14
+ - dramabox
15
+ - webdataset
16
+ - laion
17
+ size_categories:
18
+ - 1K<n<10K
19
+ pretty_name: Synthetic Vocal Bursts (DramaBox)
20
  ---
21
+
22
+ # Synthetic Vocal Bursts (DramaBox)
23
+
24
+ A synthetic dataset of **2,000 vocal burst audio samples** generated using **DramaBox TTS** on 8x A100 GPUs. The dataset covers 197 distinct vocal burst types across 16 age/gender groups, providing a comprehensive taxonomy of human non-speech vocalizations.
25
+
26
+ ## Dataset Summary
27
+
28
+ | Property | Value |
29
+ |---|---|
30
+ | **Total samples** | 2,000 |
31
+ | **Total duration** | ~4.2 hours (14,992 seconds) |
32
+ | **Average duration** | 7.5 seconds |
33
+ | **Duration range** | 3.0 – 12.0 seconds |
34
+ | **Sample rate** | 44.1 kHz (WAV) |
35
+ | **Gender split** | 1,000 female / 1,000 male |
36
+ | **Age groups** | 16 (8 female, 8 male) |
37
+ | **Samples per group** | 125 |
38
+ | **Unique vocal burst types** | 197 |
39
+ | **Generation model** | DramaBox TTS |
40
+ | **Hardware** | 8x NVIDIA A100 GPUs |
41
+
42
+ ## Age Groups
43
+
44
+ The dataset is balanced across 16 age/gender groups (125 samples each):
45
+
46
+ **Female:**
47
+ - `toddler_girl` — Toddler girl
48
+ - `pre_puberty_girl` — Pre-puberty girl
49
+ - `teenage_girl` — Teenage girl
50
+ - `young_woman` — Young woman
51
+ - `mature_woman` — Mature woman
52
+ - `middle_aged_woman` — Middle-aged woman
53
+ - `elderly_woman` — Elderly woman
54
+ - `senescent_woman` — Senescent woman
55
+
56
+ **Male:**
57
+ - `toddler_boy` — Toddler boy
58
+ - `pre_puberty_boy` — Pre-puberty boy
59
+ - `teenage_boy` — Teenage boy
60
+ - `young_man` — Young man
61
+ - `mature_man` — Mature man
62
+ - `middle_aged_man` — Middle-aged man
63
+ - `elderly_man` — Elderly man
64
+ - `senescent_man` — Senescent man
65
+
66
+ ## Vocal Burst Taxonomy
67
+
68
+ The dataset uses an extended taxonomy of 197 vocal burst types (from an extended set of 202 entries), derived from multiple sources:
69
+
70
+ - **Original LAION taxonomy** — ~120 entries from [LAION Voice-Acting-Pipeline](https://github.com/LAION-AI/Voice-Acting-Pipeline/blob/main/data/vocal_bursts_taxonomy.json)
71
+ - **Additional categories:**
72
+ - NSFW vocalizations
73
+ - Exercise / primal sounds
74
+ - Singing
75
+ - Humming
76
+ - Whistling
77
+
78
+ A **SFW (safe-for-work) subset** of 180 entries is also provided, filtering out NSFW content.
79
+
80
+ Both taxonomy files are included in this repository:
81
+ - `vocal_bursts_taxonomy_extended.json` — Full extended taxonomy (202 entries + metadata)
82
+ - `vocal_bursts_taxonomy_sfw.json` — SFW subset (180 entries + metadata)
83
+
84
+ ### Example Vocal Burst Types
85
+
86
+ Belly Laugh, Chuckle, Giggle, Snicker, Cackle, Gentle Sob, Wail, Whimper, Gasp, Sigh of Relief, Huff of Annoyance, Growl of Frustration, Startle Grunt, Nervous Whistling in the Dark, Battle Cry, Lullaby Humming, and many more.
87
+
88
+ ## Format
89
+
90
+ The dataset is stored as **WebDataset tar shards** in the `data/` directory:
91
+
92
+ ```
93
+ data/
94
+ shard-0000.tar (samples 0001–0500)
95
+ shard-0001.tar (samples 0501–1000)
96
+ shard-0002.tar (samples 1001–1500)
97
+ shard-0003.tar (samples 1501–2000)
98
+ ```
99
+
100
+ Each shard is a standard tar archive. Each sample within a shard consists of two files sharing the same zero-padded 4-digit key:
101
+
102
+ - `{NNNN}.wav` — Audio file (WAV, 44.1 kHz)
103
+ - `{NNNN}.json` — Metadata JSON
104
+
105
+ ### Metadata Fields
106
+
107
+ ```json
108
+ {
109
+ "id": 1,
110
+ "prompt": "A toddler girl performing Nervous Whistling in the Dark, A shaky, slightly off-key whistling used to mask fear in an unsettling environment.",
111
+ "duration_s": 5.2,
112
+ "gender": "female",
113
+ "age_group": "toddler_girl",
114
+ "age_descriptor": "toddler girl",
115
+ "vocal_burst_key": "Nervous Whistling in the Dark",
116
+ "vocal_burst_description": "A shaky, slightly off-key whistling used to mask fear in an unsettling environment."
117
+ }
118
+ ```
119
+
120
+ ## Usage
121
+
122
+ ### With `webdataset` (recommended for streaming/training)
123
+
124
+ ```python
125
+ import webdataset as wds
126
+ import json
127
+
128
+ url = "https://huggingface.co/datasets/laion/synthetic_vocal_burts_dramabox/resolve/main/data/shard-{0000..0003}.tar"
129
+
130
+ dataset = (
131
+ wds.WebDataset(url, shardshuffle=True)
132
+ .decode("pil") # decodes common formats
133
+ .to_tuple("wav", "json")
134
+ )
135
+
136
+ for wav_bytes, metadata_bytes in dataset:
137
+ metadata = json.loads(metadata_bytes)
138
+ print(metadata["vocal_burst_key"], metadata["age_descriptor"], len(wav_bytes), "bytes")
139
+ break
140
+ ```
141
+
142
+ ### With `huggingface_hub` (download individual shards)
143
+
144
+ ```python
145
+ from huggingface_hub import hf_hub_download
146
+
147
+ path = hf_hub_download(
148
+ repo_id="laion/synthetic_vocal_burts_dramabox",
149
+ filename="data/shard-0000.tar",
150
+ repo_type="dataset",
151
+ )
152
+ ```
153
+
154
+ ### Direct tar extraction
155
+
156
+ ```python
157
+ import tarfile
158
+ import json
159
+
160
+ with tarfile.open("shard-0000.tar") as tar:
161
+ members = tar.getmembers()
162
+ for m in members[:4]: # first 2 samples (wav + json each)
163
+ print(m.name, m.size)
164
+ ```
165
+
166
+ ## Additional Files
167
+
168
+ - `prompts_manifest.csv` — Full generation manifest with columns: `id`, `prompt`, `output_path`, `gender`, `age_group`, `vocal_burst_key`, `vocal_burst_description`, `duration_s`
169
+ - `vocal_bursts_taxonomy_extended.json` — Extended taxonomy (202 entries)
170
+ - `vocal_bursts_taxonomy_sfw.json` — SFW taxonomy (180 entries)
171
+
172
+ ## Generation Process
173
+
174
+ 1. An extended vocal burst taxonomy was curated from the LAION Voice-Acting-Pipeline taxonomy plus additional categories
175
+ 2. For each of the 16 age/gender groups, 125 vocal burst types were sampled from the taxonomy
176
+ 3. Text prompts were generated in the format: *"A {age_descriptor} performing {burst_key}, {burst_description}"*
177
+ 4. Audio was synthesized using **DramaBox TTS** distributed across **8x NVIDIA A100 GPUs**
178
+ 5. Each sample was generated with a randomized duration between 3–12 seconds
179
+
180
+ ## License
181
+
182
+ This dataset is released under the [Creative Commons Attribution 4.0 International (CC BY 4.0)](https://creativecommons.org/licenses/by/4.0/) license.
183
+
184
+ ## Citation
185
+
186
+ If you use this dataset, please cite:
187
+
188
+ ```bibtex
189
+ @dataset{synthetic_vocal_bursts_dramabox_2026,
190
+ title={Synthetic Vocal Bursts (DramaBox)},
191
+ author={LAION},
192
+ year={2026},
193
+ url={https://huggingface.co/datasets/laion/synthetic_vocal_burts_dramabox},
194
+ license={CC-BY-4.0}
195
+ }
196
+ ```