# Speech Commands (2018)

> 105,000 one-second recordings of 35 spoken words, for wake-word models.

Page: https://mralbu.github.io/ai-datasets/d/speech-commands

## Key facts

- Category: Audio
- Task: Keyword spotting (recognize short spoken words)
- Creators: Pete Warden (Google)
- 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](https://arxiv.org/abs/1804.03209)
- Homepage: https://www.tensorflow.org/datasets/catalog/speech_commands
- Hugging Face: [pollen-robotics/speech-commands-v0.02](https://huggingface.co/datasets/pollen-robotics/speech-commands-v0.02)
- Sampled at Hub revision 278418261b4161f6603e06431fa05f9416aaee99 (2026-11-07)

## 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.

## 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.

## Get the data

A community Parquet copy of v0.02 (~2 GB). The original tar file is linked from the paper.

```bash
# pip install -U huggingface_hub
hf download pollen-robotics/speech-commands-v0.02 --repo-type dataset \
  --local-dir speech-commands
```

```python
from datasets import load_dataset   # pip install datasets

ds = load_dataset("pollen-robotics/speech-commands-v0.02")
print(ds)
```

```python
import polars as pl

df = pl.read_parquet("hf://datasets/pollen-robotics/speech-commands-v0.02@~parquet/default/test/*.parquet")
print(df.shape)
```

## Related datasets

- [Multilingual Spoken Words](https://mlcommons.org/datasets/multilingual-spoken-words/): 2021, 340k keywords in 50 languages
- [LibriSpeech](https://huggingface.co/datasets/openslr/librispeech_asr): 2015, full sentences for speech recognition (on this site: https://mralbu.github.io/ai-datasets/d/librispeech)

## Landmark papers

- [Hello Edge: Keyword Spotting on Microcontrollers](https://arxiv.org/abs/1711.07128) (2017)
- [MLPerf Tiny Benchmark](https://arxiv.org/abs/2106.07597) (2021)
