Muno459 commited on
Commit
fcdc438
·
verified ·
1 Parent(s): 3850e75

AudioSet v2: 48 kHz audio, per-clip provenance, measurements, duplicate flags and missing-segment reasons; first download kept under audio_v1/

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. README.md +312 -63
  2. assets/banner.png +3 -0
  3. {audio → audio_v1}/balanced_train/balanced_train-0000.tar +0 -0
  4. {audio → audio_v1}/balanced_train/balanced_train-0001.tar +0 -0
  5. {audio → audio_v1}/balanced_train/balanced_train-0002.tar +0 -0
  6. {audio → audio_v1}/balanced_train/balanced_train-0003.tar +0 -0
  7. {audio → audio_v1}/balanced_train/balanced_train-0004.tar +0 -0
  8. {audio → audio_v1}/eval/eval-0000.tar +0 -0
  9. {audio → audio_v1}/eval/eval-0001.tar +0 -0
  10. {audio → audio_v1}/eval/eval-0002.tar +0 -0
  11. {audio → audio_v1}/eval/eval-0003.tar +0 -0
  12. {audio → audio_v1}/eval/eval-0004.tar +0 -0
  13. {audio → audio_v1}/unbalanced_train/unbalanced_train-0000.tar +0 -0
  14. {audio → audio_v1}/unbalanced_train/unbalanced_train-0001.tar +0 -0
  15. {audio → audio_v1}/unbalanced_train/unbalanced_train-0002.tar +0 -0
  16. {audio → audio_v1}/unbalanced_train/unbalanced_train-0003.tar +0 -0
  17. {audio → audio_v1}/unbalanced_train/unbalanced_train-0004.tar +0 -0
  18. {audio → audio_v1}/unbalanced_train/unbalanced_train-0005.tar +0 -0
  19. {audio → audio_v1}/unbalanced_train/unbalanced_train-0006.tar +0 -0
  20. {audio → audio_v1}/unbalanced_train/unbalanced_train-0007.tar +0 -0
  21. {audio → audio_v1}/unbalanced_train/unbalanced_train-0008.tar +0 -0
  22. {audio → audio_v1}/unbalanced_train/unbalanced_train-0009.tar +0 -0
  23. {audio → audio_v1}/unbalanced_train/unbalanced_train-0010.tar +0 -0
  24. {audio → audio_v1}/unbalanced_train/unbalanced_train-0011.tar +0 -0
  25. {audio → audio_v1}/unbalanced_train/unbalanced_train-0012.tar +0 -0
  26. {audio → audio_v1}/unbalanced_train/unbalanced_train-0013.tar +0 -0
  27. {audio → audio_v1}/unbalanced_train/unbalanced_train-0014.tar +0 -0
  28. {audio → audio_v1}/unbalanced_train/unbalanced_train-0015.tar +0 -0
  29. {audio → audio_v1}/unbalanced_train/unbalanced_train-0016.tar +0 -0
  30. {audio → audio_v1}/unbalanced_train/unbalanced_train-0017.tar +0 -0
  31. {audio → audio_v1}/unbalanced_train/unbalanced_train-0018.tar +0 -0
  32. {audio → audio_v1}/unbalanced_train/unbalanced_train-0019.tar +0 -0
  33. {audio → audio_v1}/unbalanced_train/unbalanced_train-0020.tar +0 -0
  34. {audio → audio_v1}/unbalanced_train/unbalanced_train-0021.tar +0 -0
  35. {audio → audio_v1}/unbalanced_train/unbalanced_train-0022.tar +0 -0
  36. {audio → audio_v1}/unbalanced_train/unbalanced_train-0023.tar +0 -0
  37. {audio → audio_v1}/unbalanced_train/unbalanced_train-0024.tar +0 -0
  38. {audio → audio_v1}/unbalanced_train/unbalanced_train-0025.tar +0 -0
  39. {audio → audio_v1}/unbalanced_train/unbalanced_train-0026.tar +0 -0
  40. {audio → audio_v1}/unbalanced_train/unbalanced_train-0027.tar +0 -0
  41. {audio → audio_v1}/unbalanced_train/unbalanced_train-0028.tar +0 -0
  42. {audio → audio_v1}/unbalanced_train/unbalanced_train-0029.tar +0 -0
  43. {audio → audio_v1}/unbalanced_train/unbalanced_train-0030.tar +0 -0
  44. {audio → audio_v1}/unbalanced_train/unbalanced_train-0031.tar +0 -0
  45. {audio → audio_v1}/unbalanced_train/unbalanced_train-0032.tar +0 -0
  46. {audio → audio_v1}/unbalanced_train/unbalanced_train-0033.tar +0 -0
  47. {audio → audio_v1}/unbalanced_train/unbalanced_train-0034.tar +0 -0
  48. {audio → audio_v1}/unbalanced_train/unbalanced_train-0035.tar +0 -0
  49. {audio → audio_v1}/unbalanced_train/unbalanced_train-0036.tar +0 -0
  50. {audio → audio_v1}/unbalanced_train/unbalanced_train-0037.tar +0 -0
README.md CHANGED
@@ -1,5 +1,5 @@
1
  ---
2
- pretty_name: AudioSet (audio, 10 s clips, FLAC)
3
  license: other
4
  license_name: youtube-derived-audio
5
  license_link: https://research.google.com/audioset/download.html
@@ -10,9 +10,12 @@ task_categories:
10
  tags:
11
  - audioset
12
  - audio
13
- - sound-events
14
- - noise
15
- - speech-enhancement
 
 
 
16
  size_categories:
17
  - 1M<n<10M
18
  configs:
@@ -25,95 +28,341 @@ configs:
25
  data_files:
26
  - split: all
27
  path: metadata/clips.parquet
 
 
 
 
28
  - config_name: noise_bank
29
  data_files:
30
  - split: all
31
  path: subsets/noise_bank.parquet
32
  gated: manual
33
- extra_gated_prompt: "This dataset holds the 10 s AudioSet segments as downloaded from YouTube. Google publishes only the labels; the audio is YouTube content and stays under its terms. Access is granted for research use. By requesting access you confirm that you will use the audio for non-commercial research, will not redistribute it, and will comply with the YouTube Terms of Service and with any rights the content owners hold."
34
  extra_gated_fields:
35
  Affiliation: text
36
  Intended use: text
37
  I will use the audio for non-commercial research only and will not redistribute it: checkbox
38
  ---
39
 
40
- # AudioSet audio
 
 
 
 
 
 
 
 
41
 
42
- The labelled 10 s window of every AudioSet segment, downloaded from YouTube between August and September 2026 and stored as
43
- FLAC at the source sample rate, packed into tar shards of about 4 GB, with Google's original label files and a per-segment
44
- metadata table that maps each clip to its shard. 1,605,881 of the 2,084,320 segments could be fetched (1.89 TiB); the rest
45
- are listed with the reason they are missing.
 
 
 
 
 
 
 
46
 
47
  ## Contents
48
 
49
- | path | what |
50
- |---|---|
51
- | `metadata/*_segments.csv`, `class_labels_indices.csv`, `ontology.json`, `qa_true_counts.csv` | Google's label files, unchanged |
52
- | `metadata/clips.parquet` | one row per segment: `ytid`, `split`, `start_s`, `end_s`, `labels` (list of ontology ids), `available`, `bytes`, `reason`, `shard`, `member` |
53
- | `subsets/noise_bank.parquet` | the segments with no speech and no music (by label), with a coarse category (room, outdoor, traffic, wind, water, crowd, machine, animal, other) |
54
- | `audio/<split>/<split>-NNNN.tar` | FLAC clips, members named `<ytid>_<start_ms>.flac`, in `(split, ytid, start)` order |
55
- | `preview/*.parquet` | 5,000 clips of the balanced split as Parquet with the audio embedded and the label names, for the dataset viewer (`audio`, `labels`, `label_names`, `shard`, `member`) |
 
 
 
56
 
57
- | split | segments | available | shards |
58
- |---|---|---|---|
59
- | eval | 20,371 | 15,460 | 5 |
60
- | balanced_train | 22,160 | 16,324 | 5 |
61
- | unbalanced_train | 2,041,789 | 1,574,097 | 474 |
62
 
63
- Segments that could not be fetched, by reason:
64
 
65
- | reason | segments |
66
- |---|---|
67
- | video removed | 240,020 |
68
- | private or login-gated | 116,362 |
69
- | unplayable | 85,705 |
70
- | fetch error | 18,962 |
71
- | age-restricted | 6,602 |
72
- | extractor error | 5,750 |
73
- | private | 3,690 |
74
- | download incomplete | 1,075 |
75
- | NO_AUDIO_FORMAT | 272 |
76
- | bot wall | 1 |
 
 
 
 
 
 
 
 
 
 
 
 
 
77
 
78
- ## Viewer
 
 
79
 
80
- The viewer shows the `preview` configuration: 5,000 clips of the balanced split with players and Google's label names, plus the
81
- `shard` and `member` that locate the same clip in the full tar shards. The `metadata` configuration is the per-segment table for
82
- all 2,084,320 segments and `noise_bank` the no-speech / no-music subset. The full audio lives in the tar shards below.
 
83
 
84
- ## Loading
85
 
86
  ```python
87
- from huggingface_hub import hf_hub_download, snapshot_download
88
- import pyarrow.parquet as pq, tarfile, io, soundfile as sf
89
-
90
- meta = pq.read_table(hf_hub_download("Muno459/audioset", "metadata/clips.parquet", repo_type="dataset")).to_pandas()
91
- row = meta[meta.available].iloc[0]
92
- tar = hf_hub_download("Muno459/audioset", row.shard, repo_type="dataset")
93
- with tarfile.open(tar) as tf:
94
- audio, sr = sf.read(io.BytesIO(tf.extractfile(row.member).read()))
95
  ```
96
 
97
- For streaming training, the shards are plain tar files with one FLAC per member, so `webdataset` can read them directly
98
- (`wds.WebDataset(urls).decode(wds.torch_audio)`); `metadata/clips.parquet` carries the labels for every member.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
99
 
100
- ## Provenance and quality
 
 
101
 
102
- Google releases AudioSet as CSV pointers to YouTube ids with 128-d embeddings; the audio itself has to be fetched per clip.
103
- This copy was fetched with a resumable three-stage downloader (probe, extract, fetch) and each file was decoded once after
104
- download to confirm it plays. The audio comes from YouTube's AAC stream (44.1 kHz stereo, low-passed around 16 kHz by the
105
- encoder), not the Opus stream; if you need content above 16 kHz, `agkphysics/AudioSet` holds an Opus-sourced 48 kHz
106
- release of the same segments. The channel layout is as served and the 10 s window follows the segment's `start_s`.
107
- Nothing was resampled, normalised or re-encoded beyond the FLAC container. `qa_true_counts.csv` is Google's own label quality assessment.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
108
 
109
  ## Licence and terms
110
 
111
- The labels and the ontology are released by Google under CC BY 4.0. The audio is YouTube content owned by its uploaders
112
- and is not covered by that licence; it is shared here for non-commercial research under gated access, and requesters agree
113
- not to redistribute it. If you are a rights holder and want a clip removed, open a discussion on this repository with the
114
- YouTube id.
115
 
116
  ## Citation
117
 
118
- Gemmeke, J. F., Ellis, D. P. W., Freedman, D., Jansen, A., Lawrence, W., Moore, R. C., Plakal, M., Ritter, M. (2017).
119
- Audio Set: An ontology and human-labeled dataset for audio events. ICASSP 2017.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ pretty_name: AudioSet
3
  license: other
4
  license_name: youtube-derived-audio
5
  license_link: https://research.google.com/audioset/download.html
 
10
  tags:
11
  - audioset
12
  - audio
13
+ - sound-event-detection
14
+ - audio-tagging
15
+ - 48khz
16
+ - flac
17
+ - webdataset
18
+ - deduplication
19
  size_categories:
20
  - 1M<n<10M
21
  configs:
 
28
  data_files:
29
  - split: all
30
  path: metadata/clips.parquet
31
+ - config_name: duplicates
32
+ data_files:
33
+ - split: all
34
+ path: metadata/duplicates.parquet
35
  - config_name: noise_bank
36
  data_files:
37
  - split: all
38
  path: subsets/noise_bank.parquet
39
  gated: manual
40
+ extra_gated_prompt: "AudioSet's audio is YouTube content: Google publishes only the labels. Access is granted for non-commercial research. By requesting access you confirm that you will use the audio for non-commercial research only, will not redistribute it, and will respect the YouTube Terms of Service and the rights of the content owners."
41
  extra_gated_fields:
42
  Affiliation: text
43
  Intended use: text
44
  I will use the audio for non-commercial research only and will not redistribute it: checkbox
45
  ---
46
 
47
+ <p align="center">
48
+ <img src="assets/banner.png" alt="AudioSet" width="100%">
49
+ </p>
50
+
51
+ # AudioSet
52
+
53
+ **Google's AudioSet with the audio: 1,780,876 of its 2,084,320 labelled 10 s YouTube segments as 48 kHz FLAC, each with a
54
+ record of where its audio came from, measured quality, duplicate and eval-overlap flags, and a reason for every segment
55
+ that could not be found.**
56
 
57
+ | clips with audio | hours | classes | format | size |
58
+ |:---:|:---:|:---:|:---:|:---:|
59
+ | **1,780,876** of 2,084,320 (85.4%) | **4,904** | **527** | 48 kHz, 24-bit FLAC | 2.25 TiB |
60
+
61
+ - **48 kHz throughout.** 87.9% of the clips are decoded from Opus streams (full band to 20 kHz). The rest
62
+ exist only as AAC on YouTube; they are resampled to 48 kHz and flagged, never passed off as native.
63
+ - **Provenance on every clip.** Where the audio came from, which codec it was decoded from, and whether it was resampled.
64
+ - **Measured.** Bandwidth, energy above 16 kHz, peak and RMS level, clipping and silence for every clip.
65
+ - **Deduplicated.** Audio fingerprinting finds re-uploads and flags train clips whose audio also appears in the eval set.
66
+ - **Accounted for.** Each of the 303,444 missing segments carries one specific reason (removed, private, blocked, ...).
67
+ - **Originals kept.** The first 2026 download (44.1 kHz AAC for most clips) stays in the repository for codec comparisons.
68
 
69
  ## Contents
70
 
71
+ - [Quick start](#quick-start)
72
+ - [How it compares](#how-it-compares)
73
+ - [Dataset structure](#dataset-structure)
74
+ - [How the audio was built](#how-the-audio-was-built)
75
+ - [Quality measurements](#quality-measurements)
76
+ - [Duplicates and eval overlap](#duplicates-and-eval-overlap)
77
+ - [Missing segments](#missing-segments)
78
+ - [Limitations](#limitations)
79
+ - [Licence and terms](#licence-and-terms)
80
+ - [Citation](#citation)
81
 
82
+ ## Quick start
 
 
 
 
83
 
84
+ Access is gated: accept the terms on this page, then log in with `huggingface-cli login`.
85
 
86
+ **Browse and filter the metadata**
87
+
88
+ ```python
89
+ import pandas as pd
90
+ from huggingface_hub import hf_hub_download
91
+
92
+ clips = pd.read_parquet(hf_hub_download("Muno459/AudioSet", "metadata/clips.parquet", repo_type="dataset"))
93
+ audio = clips[clips.available]
94
+
95
+ # a clean training pool: no overlap with eval, native 48 kHz only, one clip per group of identical audio
96
+ train = audio[(audio.split != "eval") & ~audio.eval_overlap & audio.native_48k]
97
+ train = train[train.dup_group.isna() | ~train.duplicated("dup_group")]
98
+ ```
99
+
100
+ **Read a clip**
101
+
102
+ ```python
103
+ import io, tarfile, soundfile as sf
104
+
105
+ row = train.iloc[0]
106
+ with tarfile.open(hf_hub_download("Muno459/AudioSet", row.shard, repo_type="dataset")) as tar:
107
+ wav, sr = sf.read(io.BytesIO(tar.extractfile(row.member).read())) # sr == 48000
108
+ ```
109
+
110
+ **Stream the shards with WebDataset**
111
 
112
+ ```python
113
+ import webdataset as wds
114
+ from huggingface_hub import get_token, hf_hub_url
115
 
116
+ auth = f"-H 'Authorization:Bearer {get_token()}'"
117
+ urls = [f"pipe:curl -s -L {auth} {hf_hub_url('Muno459/AudioSet', shard, repo_type='dataset')}" for shard in audio.shard.unique()]
118
+ dataset = wds.WebDataset(urls, shardshuffle=True).decode(wds.torch_audio) # key "<ytid>_<start_ms>", audio under "flac"
119
+ ```
120
 
121
+ **Listen in the viewer, or load the preview with `datasets`**
122
 
123
  ```python
124
+ from datasets import load_dataset
125
+ preview = load_dataset("Muno459/AudioSet", "preview", split="balanced_train") # 5,000 clips with embedded audio and label names
 
 
 
 
 
 
126
  ```
127
 
128
+ ## How it compares
129
+
130
+ [agkphysics/AudioSet](https://huggingface.co/datasets/agkphysics/AudioSet) is the most complete earlier release, and this
131
+ one builds on it (it is the source of 1,284,135 of the clips here).
132
+
133
+ | | this dataset | agkphysics/AudioSet |
134
+ |---|---|---|
135
+ | segments with audio | **1,780,876** | 1,774,481 |
136
+ | sample rate | 48 kHz for every clip | as downloaded; 44.1 kHz AAC for at least 214,890 clips |
137
+ | source and codec per clip | recorded (`source`, `source_codec`, `native_48k`) | not recorded |
138
+ | AAC-only clips | resampled and flagged (216,123) | mixed in, not distinguished |
139
+ | quality measurements | bandwidth, level, clipping, silence | none |
140
+ | digitally silent clips | removed | 1,185 (replaced here from YouTube where possible) |
141
+ | missing segments | one specific reason each | not listed |
142
+ | duplicates and eval overlap | 2,609 train clips overlap eval, flagged | not flagged |
143
+
144
+ ## Dataset structure
145
+
146
+ ### Files
147
+
148
+ | path | contents |
149
+ |---|---|
150
+ | `audio48k/<split>/<split>-NNNN.tar` | **this release**: one FLAC per clip, members `<ytid>_<start_ms>.flac`, about 4 GB per shard |
151
+ | `audio_v1/<split>/<split>-NNNN.tar` | the first 2026 download as fetched, mostly 44.1 kHz AAC (see `aac_shard`, `aac_member`) |
152
+ | `metadata/clips.parquet` | one row per AudioSet segment, all 2,084,320 |
153
+ | `metadata/duplicates.parquet` | every verified pair of clips with the same or partly the same audio |
154
+ | `metadata/*_segments.csv`, `class_labels_indices.csv`, `ontology.json`, `qa_true_counts.csv` | Google's release files, unchanged |
155
+ | `subsets/noise_bank.parquet` | clips labelled with neither speech nor music, with a coarse category; a clip can carry several |
156
+ | `preview/*.parquet` | 5,000 balanced-split clips with embedded audio, label names and provenance, for the viewer |
157
+
158
+ ### Splits
159
+
160
+ | split | segments | with audio | share | shards |
161
+ |---|---:|---:|---:|---:|
162
+ | `balanced_train` | 22,160 | 18,765 | 84.7% | 7 |
163
+ | `unbalanced_train` | 2,041,789 | 1,744,882 | 85.5% | 566 |
164
+ | `eval` | 20,371 | 17,229 | 84.6% | 6 |
165
+
166
+ ### `metadata/clips.parquet`
167
+
168
+ | column | description |
169
+ |---|---|
170
+ | `ytid`, `split`, `start_s`, `end_s` | the AudioSet segment |
171
+ | `labels` | ontology ids (`/m/...`), names in `class_labels_indices.csv` |
172
+ | `available` | the clip has audio in this release |
173
+ | `shard`, `member`, `bytes` | tar shard, member name and FLAC size |
174
+ | `aac_shard`, `aac_member` | the same clip as first downloaded (44.1 kHz AAC), where that differs from this release |
175
+ | `source` | `youtube_2026` (fetched from YouTube, August to September 2026) or `agkphysics_2023` (from agkphysics/AudioSet) |
176
+ | `source_codec` | `opus` or `aac`: the stream the audio was decoded from |
177
+ | `native_48k` | `false` if resampled from 44.1 kHz AAC (no content above the AAC encoder's cutoff, typically about 16 kHz) |
178
+ | `sample_rate`, `channels`, `duration_s` | as stored; sample rate is always 48000 |
179
+ | `peak_dbfs`, `rms_dbfs` | sample peak and RMS level over all channels |
180
+ | `clipped_fraction` | share of samples at or above 0.999 of full scale |
181
+ | `silent_fraction` | share of 50 ms frames of the mono mix below -60 dBFS |
182
+ | `bandwidth_hz` | highest frequency whose smoothed level is within 50 dB of the 90th percentile level between 200 Hz and 4 kHz |
183
+ | `hf16_energy_db` | energy above 16 kHz relative to the total, in dB |
184
+ | `dup_group`, `dup_group_size` | near-identical clips (the same audio at the same position, within 1 s) share a group id |
185
+ | `same_audio_in`, `partial_audio_in` | splits of the clips this clip matches over the whole overlap, or over at least 3 s of it |
186
+ | `eval_overlap` | a train clip that matches an eval clip, or an eval clip that matches a train clip |
187
+ | `reason`, `reason_group`, `reason_checked` | for missing segments: why, the group it counts under, and the date it was last checked |
188
+
189
+ ## How the audio was built
190
 
191
+ Google publishes AudioSet as YouTube ids with time stamps; the audio has to be fetched per segment. It was fetched in
192
+ August and September 2026 and then rebuilt clip by clip, preferring Opus (48 kHz, full band to 20 kHz) over AAC (44.1 kHz,
193
+ typically low-passed near 16 kHz), since a paired comparison on the same segments found the Opus stream never measurably worse:
194
 
195
+ 1. **Opus copy from agkphysics/AudioSet**, accepted only if it is the same recording as the 2026 download (normalised
196
+ cross-correlation of at least 0.5 after alignment), not silent, not shorter, and not narrower below 20 kHz.
197
+ 2. **Opus stream from YouTube**, fetched again under the same checks when agkphysics had no usable copy. Noisy recordings
198
+ lose waveform shape through two different codecs, so a correlation between 0.3 and 0.5 is also accepted when the
199
+ audio fingerprints match (bit error rate at most 0.20 at the aligned offset).
200
+ 3. **Resampled AAC**, only when no Opus version exists (older uploads often have none) or the Opus copy failed the checks:
201
+ polyphase resampling from 44.1 to 48 kHz (Kaiser window, beta 10), flagged `native_48k = false`.
202
+
203
+ Segments YouTube no longer serves were filled from agkphysics/AudioSet under the same checks. Every file was decoded
204
+ back, its sample rate and duration verified, and rejected if its peak was at or below -70 dBFS. Nothing is normalised,
205
+ and the channel layout is as served.
206
+
207
+ | audio | `source` | `source_codec` | `native_48k` | clips | share |
208
+ |---|---|---|---|---:|---:|
209
+ | Opus copy from agkphysics/AudioSet (2023) | `agkphysics_2023` | `opus` | `true` | 1,268,580 | 71.2% |
210
+ | Opus stream from YouTube (2026) | `youtube_2026` | `opus` | `true` | 296,173 | 16.6% |
211
+ | AAC stream from YouTube (2026), resampled | `youtube_2026` | `aac` | `false` | 200,568 | 11.3% |
212
+ | AAC copy from agkphysics/AudioSet (2023), resampled | `agkphysics_2023` | `aac` | `false` | 15,555 | 0.9% |
213
+
214
+ ## Quality measurements
215
+
216
+ Every clip was measured from the final file (definitions in the column table above).
217
+
218
+ | | value |
219
+ |---|---|
220
+ | clips with content up to at least 19 kHz | 26.0% |
221
+ | median `bandwidth_hz`, native 48 kHz clips | 15,574 Hz |
222
+ | median `bandwidth_hz`, resampled AAC clips | 14,484 Hz |
223
+ | clips with more than 0.1% clipped samples | 116,646 |
224
+
225
+ Many recordings are narrower than their codec allows (phone and camera microphones, old uploads); `bandwidth_hz` shows
226
+ this directly, so band-limited audio can be filtered out or used on purpose.
227
+
228
+ ## Duplicates and eval overlap
229
+
230
+ Every clip was fingerprinted (32-bit sub-fingerprints from band-energy differences of the 8 kHz mono mix, 32 ms hop,
231
+ after Haitsma and Kalker) and looked up against every other clip at any time offset. A pair is **the same audio** when
232
+ the bit error rate over the whole overlap (at least 3 s of active audio) is at most 0.25, and **partly shared** when some
233
+ 3 s stretch matches at 0.12 or less; unrelated audio sits near 0.5. In an audit of 100 random accepted pairs across the
234
+ full dataset, 75 were confirmed as the same recording by local waveform correlation (19 of 20 below a bit error rate of
235
+ 0.05); most of the rest are the same music with tempo, mix or phase differences that waveform correlation cannot follow.
236
+ Treat matches near the 0.25 limit as likely rather than certain: `metadata/duplicates.parquet` carries the error rate.
237
+
238
+ | | clips |
239
+ |---|---|
240
+ | clips in a group of near-identical clips | 53,772 in 19,425 groups |
241
+ | extra copies (dropped by keeping one per group) | 34,347 |
242
+ | train clips with the same audio as an eval clip | 2,425 |
243
+ | train clips sharing at least 3 s with an eval clip (`eval_overlap`) | 2,609 |
244
+ | eval clips sharing at least 3 s with a train clip (`eval_overlap`) | 922 |
245
+
246
+ The overlaps come from YouTube itself: one video uploaded under several ids, compilations that reuse clips, popular music
247
+ reused across many videos, and channel intros, each labelled by AudioSet as an independent segment.
248
+
249
+ Groups (`dup_group`) hold near-identical clips: every member matches the group's representative clip directly (bit error
250
+ rate at most 0.20, offset within 1 s, at least 8 s of overlap), so songs reused at different offsets across many videos
251
+ cannot chain unrelated clips into one group. `same_audio_in`, `partial_audio_in` and `eval_overlap` use every verified pair.
252
+ `metadata/duplicates.parquet` lists every pair with its bit error rate, offset and overlap.
253
+
254
+ ## Missing segments
255
+
256
+ 303,415 of the 303,444 missing segments were retried from YouTube between 2026-09-14 and 2026-09-15; each missing segment carries the single most specific reason YouTube gave.
257
+
258
+ | reason group | segments | share of AudioSet |
259
+ |---|---:|---:|
260
+ | removed | 206,398 | 9.9% |
261
+ | private or restricted | 88,600 | 4.3% |
262
+ | blocked by region or claim | 6,457 | 0.3% |
263
+ | stream refused | 1,024 | <0.1% |
264
+ | no usable audio | 936 | <0.1% |
265
+ | other | 29 | <0.1% |
266
+
267
+ <details>
268
+ <summary>All reasons</summary>
269
+
270
+ | group | reason | segments |
271
+ |---|---|---:|
272
+ | removed | video unavailable, no reason given (removed) | 136,969 |
273
+ | removed | uploader account terminated | 53,338 |
274
+ | removed | removed for a Terms of Service violation | 6,676 |
275
+ | removed | removed after a copyright claim | 4,997 |
276
+ | removed | removed for a Community Guidelines violation | 2,794 |
277
+ | removed | removed under YouTube's policy on violent or graphic content | 853 |
278
+ | removed | removed under YouTube's policy on nudity or sexual content | 274 |
279
+ | removed | removed under YouTube's policy on harassment and bullying | 163 |
280
+ | removed | removed by the uploader | 153 |
281
+ | removed | removed under YouTube's policy on spam, deceptive practices, and scams | 66 |
282
+ | removed | removed after a privacy claim | 65 |
283
+ | removed | removed as a duplicate of another video | 40 |
284
+ | removed | removed after a trademark claim | 10 |
285
+ | private or restricted | private video | 87,794 |
286
+ | private or restricted | video not available, no reason given | 561 |
287
+ | private or restricted | age-restricted, sign-in required | 134 |
288
+ | private or restricted | sign-in required | 70 |
289
+ | private or restricted | channel members only | 41 |
290
+ | blocked by region or claim | blocked by a content claim | 5,415 |
291
+ | blocked by region or claim | rights holder blocked the fetch region | 788 |
292
+ | blocked by region or claim | not available in the fetch region | 175 |
293
+ | blocked by region or claim | uploader blocked the fetch region | 79 |
294
+ | stream refused | audio stream refused by the CDN (HTTP 403) | 530 |
295
+ | stream refused | stream served only up to its first MiB, segment lies past it | 486 |
296
+ | stream refused | temporarily unavailable when fetched | 7 |
297
+ | stream refused | audio fetch failed | 1 |
298
+ | no usable audio | audio track is digital silence | 572 |
299
+ | no usable audio | the labelled 10 s window is digital silence | 240 |
300
+ | no usable audio | segment starts after the end of the video | 124 |
301
+ | other | unplayable, no reason given | 20 |
302
+ | other | YouTube error, no reason given | 9 |
303
+
304
+ </details>
305
+
306
+ ## Limitations
307
+
308
+ - **Labels are Google's.** They are clip-level and weakly verified; `qa_true_counts.csv` is Google's own estimate of label
309
+ quality per class.
310
+ - **Resampled clips are not full band.** The 216,123 clips with `native_48k = false` are 48 kHz files carrying
311
+ AAC audio, with nothing above the AAC cutoff. Filter on `native_48k` when that matters.
312
+ - **The audio is today's YouTube audio**, checked against our own 2026 download, not against what Google's raters heard in
313
+ 2017. Uploaders can re-edit videos; a small number of segments may no longer match their labels.
314
+ - **Duplicate detection is a threshold.** An audit confirmed 75 of 100 random matches as the same recording by waveform
315
+ correlation, with the rest mostly music the check cannot follow; the pair table carries the bit error rate so stricter
316
+ cut-offs are one filter away. Eval-overlap flags err on the side of excluding a clip.
317
 
318
  ## Licence and terms
319
 
320
+ The labels and the ontology are © Google, released under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/). The
321
+ audio is YouTube content owned by its uploaders and is not covered by that licence. It is shared for non-commercial
322
+ research under gated access, and requesters agree not to redistribute it. Rights holders who want a clip removed can open
323
+ a discussion on this repository with the YouTube id.
324
 
325
  ## Citation
326
 
327
+ If you use this dataset, please cite AudioSet:
328
+
329
+ ```bibtex
330
+ @inproceedings{gemmeke2017audioset,
331
+ title = {Audio Set: An ontology and human-labeled dataset for audio events},
332
+ author = {Gemmeke, Jort F. and Ellis, Daniel P. W. and Freedman, Dylan and Jansen, Aren and
333
+ Lawrence, Wade and Moore, R. Channing and Plakal, Manoj and Ritter, Marvin},
334
+ booktitle = {2017 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP)},
335
+ pages = {776--780},
336
+ year = {2017},
337
+ doi = {10.1109/ICASSP.2017.7952261}
338
+ }
339
+ ```
340
+
341
+ and this release:
342
+
343
+ ```bibtex
344
+ @misc{audioset48k2026,
345
+ title = {AudioSet at 48 kHz: audio, provenance, quality measurements and duplicate flags for the AudioSet segments},
346
+ author = {Muno459},
347
+ year = {2026},
348
+ howpublished = {Hugging Face},
349
+ url = {https://huggingface.co/datasets/Muno459/AudioSet}
350
+ }
351
+ ```
352
+
353
+ The duplicate search follows:
354
+
355
+ ```bibtex
356
+ @inproceedings{haitsma2002robust,
357
+ title = {A Highly Robust Audio Fingerprinting System},
358
+ author = {Haitsma, Jaap and Kalker, Ton},
359
+ booktitle = {Proceedings of the 3rd International Conference on Music Information Retrieval (ISMIR)},
360
+ year = {2002}
361
+ }
362
+ ```
363
+
364
+ ## Acknowledgements
365
+
366
+ AudioSet was created by the Sound Understanding group at Google Research ([research.google.com/audioset](https://research.google.com/audioset/)).
367
+ Clips with `source = agkphysics_2023` come from [agkphysics/AudioSet](https://huggingface.co/datasets/agkphysics/AudioSet),
368
+ without which many segments whose videos have since disappeared would be lost.
assets/banner.png ADDED

Git LFS Details

  • SHA256: f40124f268210bada776608c64f8806424bff3019c6b719a306a61796095dd4d
  • Pointer size: 131 Bytes
  • Size of remote file: 856 kB
{audio → audio_v1}/balanced_train/balanced_train-0000.tar RENAMED
File without changes
{audio → audio_v1}/balanced_train/balanced_train-0001.tar RENAMED
File without changes
{audio → audio_v1}/balanced_train/balanced_train-0002.tar RENAMED
File without changes
{audio → audio_v1}/balanced_train/balanced_train-0003.tar RENAMED
File without changes
{audio → audio_v1}/balanced_train/balanced_train-0004.tar RENAMED
File without changes
{audio → audio_v1}/eval/eval-0000.tar RENAMED
File without changes
{audio → audio_v1}/eval/eval-0001.tar RENAMED
File without changes
{audio → audio_v1}/eval/eval-0002.tar RENAMED
File without changes
{audio → audio_v1}/eval/eval-0003.tar RENAMED
File without changes
{audio → audio_v1}/eval/eval-0004.tar RENAMED
File without changes
{audio → audio_v1}/unbalanced_train/unbalanced_train-0000.tar RENAMED
File without changes
{audio → audio_v1}/unbalanced_train/unbalanced_train-0001.tar RENAMED
File without changes
{audio → audio_v1}/unbalanced_train/unbalanced_train-0002.tar RENAMED
File without changes
{audio → audio_v1}/unbalanced_train/unbalanced_train-0003.tar RENAMED
File without changes
{audio → audio_v1}/unbalanced_train/unbalanced_train-0004.tar RENAMED
File without changes
{audio → audio_v1}/unbalanced_train/unbalanced_train-0005.tar RENAMED
File without changes
{audio → audio_v1}/unbalanced_train/unbalanced_train-0006.tar RENAMED
File without changes
{audio → audio_v1}/unbalanced_train/unbalanced_train-0007.tar RENAMED
File without changes
{audio → audio_v1}/unbalanced_train/unbalanced_train-0008.tar RENAMED
File without changes
{audio → audio_v1}/unbalanced_train/unbalanced_train-0009.tar RENAMED
File without changes
{audio → audio_v1}/unbalanced_train/unbalanced_train-0010.tar RENAMED
File without changes
{audio → audio_v1}/unbalanced_train/unbalanced_train-0011.tar RENAMED
File without changes
{audio → audio_v1}/unbalanced_train/unbalanced_train-0012.tar RENAMED
File without changes
{audio → audio_v1}/unbalanced_train/unbalanced_train-0013.tar RENAMED
File without changes
{audio → audio_v1}/unbalanced_train/unbalanced_train-0014.tar RENAMED
File without changes
{audio → audio_v1}/unbalanced_train/unbalanced_train-0015.tar RENAMED
File without changes
{audio → audio_v1}/unbalanced_train/unbalanced_train-0016.tar RENAMED
File without changes
{audio → audio_v1}/unbalanced_train/unbalanced_train-0017.tar RENAMED
File without changes
{audio → audio_v1}/unbalanced_train/unbalanced_train-0018.tar RENAMED
File without changes
{audio → audio_v1}/unbalanced_train/unbalanced_train-0019.tar RENAMED
File without changes
{audio → audio_v1}/unbalanced_train/unbalanced_train-0020.tar RENAMED
File without changes
{audio → audio_v1}/unbalanced_train/unbalanced_train-0021.tar RENAMED
File without changes
{audio → audio_v1}/unbalanced_train/unbalanced_train-0022.tar RENAMED
File without changes
{audio → audio_v1}/unbalanced_train/unbalanced_train-0023.tar RENAMED
File without changes
{audio → audio_v1}/unbalanced_train/unbalanced_train-0024.tar RENAMED
File without changes
{audio → audio_v1}/unbalanced_train/unbalanced_train-0025.tar RENAMED
File without changes
{audio → audio_v1}/unbalanced_train/unbalanced_train-0026.tar RENAMED
File without changes
{audio → audio_v1}/unbalanced_train/unbalanced_train-0027.tar RENAMED
File without changes
{audio → audio_v1}/unbalanced_train/unbalanced_train-0028.tar RENAMED
File without changes
{audio → audio_v1}/unbalanced_train/unbalanced_train-0029.tar RENAMED
File without changes
{audio → audio_v1}/unbalanced_train/unbalanced_train-0030.tar RENAMED
File without changes
{audio → audio_v1}/unbalanced_train/unbalanced_train-0031.tar RENAMED
File without changes
{audio → audio_v1}/unbalanced_train/unbalanced_train-0032.tar RENAMED
File without changes
{audio → audio_v1}/unbalanced_train/unbalanced_train-0033.tar RENAMED
File without changes
{audio → audio_v1}/unbalanced_train/unbalanced_train-0034.tar RENAMED
File without changes
{audio → audio_v1}/unbalanced_train/unbalanced_train-0035.tar RENAMED
File without changes
{audio → audio_v1}/unbalanced_train/unbalanced_train-0036.tar RENAMED
File without changes
{audio → audio_v1}/unbalanced_train/unbalanced_train-0037.tar RENAMED
File without changes