speaker a1533da4
Catalog / Audio
Speech Commands (2018)
105,000 one-second recordings of 35 spoken words, for wake-word models.
Why it matters
The benchmark for tiny speech models, the kind that listen for a wake word on a phone or a microcontroller with a few hundred kilobytes of memory. It is open, small and has a fixed task, so it became the keyword-spotting test in TensorFlow tutorials and in the MLPerf Tiny benchmark.
Get the data
# pip install -U huggingface_hub
hf download pollen-robotics/speech-commands-v0.02 --repo-type dataset \
--local-dir speech-commandsfrom datasets import load_dataset # pip install datasets
ds = load_dataset("pollen-robotics/speech-commands-v0.02")
print(ds)import polars as pl
df = pl.read_parquet("hf://datasets/pollen-robotics/speech-commands-v0.02@~parquet/default/test/*.parquet")
print(df.shape)A community Parquet copy of v0.02 (~2 GB). The original tar file is linked from the paper.
- Year
- 2018
- Creators
- Pete Warden (Google)
- Task
- Keyword spotting (recognize short spoken words)
- Size
- 105,829 utterances from 2,618 speakers (v0.02), plus 6 background-noise files
- Splits
- train 84,849 · validation 9,981 · test 11,005
- Input
- 1 second of 16 kHz audio
- Labels
- One of 35 words (yes, no, up, down, the digits, …)
- License
- CC BY 4.0
- Paper
- Speech Commands: A Dataset for Limited-Vocabulary Speech Recognition
Samples
speaker cfbedff9
speaker cfbedff9
speaker 3b4f8f24
speaker 7257420c
speaker ad6a46f1
speaker 8ea6dec6
speaker af8b2f2c
speaker 87070229
speaker ffb86d3c
speaker b83c1acf
speaker 62ff07ef
What one record actually looks like (raw JSON, row 3884)
{
"audio": {
"src": "samples/speech-commands/3884-audio.wav",
"type": "audio/wav"
},
"file": "seven/a1533da4_nohash_0.wav",
"label": "seven",
"speaker_id": "a1533da4",
"utterance_id": 0
}Media fields point at a local copy; on Hugging Face they are bytes in a Parquet file.
Sampled 2026-11-07 from pollen-robotics/speech-commands-v0.02 at revision 2784182
Worth knowing
- Volunteers recorded themselves in a web browser on their own phones and laptops, so the audio has real background noise and cheap microphones.
- The usual task has 12 classes: ten command words, "unknown" for any other word, and "silence", made from the included background-noise files.
- Filler words like "marvin", "sheila", "bed" and "wow" are there to train the "unknown" class.
- Speakers are assigned to train, validation or test by a hash of their id, so no speaker appears in two splits.
Related datasets
- Multilingual Spoken Words: 2021, 340k keywords in 50 languagesmlcommons.org ↗
- LibriSpeech: 2015, full sentences for speech recognitionHugging Face ↗LibriSpeech on this site →