You need to agree to share your contact information to access this dataset

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this dataset content.

ygyuan/kws_dataset

Keyword-Spotting (KWS) speech dataset, packed as WebDataset tar shards. The input is a Kaldi-style data directory (wav.scp, text, utt2spk, utt2dur, segments), where each utterance is packed as a single tar sample.

Layout

data/
  <split>/
    metadata.csv
    audio/
      <split>-000.tar
      <split>-001.tar
      ...

Shard counts:

  • train: 2784 tar shard(s)

Inside each tar, every sample is a pair sharing a unique key:

<key>.wav       # raw audio bytes (original format preserved)
<key>.json      # {"id":..., "rel_path":..., "wav_format":"wav",
                #   "duration":..., "text":"<keyword>", "spk":...,
                #   "rec_id":..., "start":..., "end":...}

metadata.csv columns: key, shard, id, rel_path, wav_format, duration, text, spk, rec_id, start, end

Loading

from datasets import load_dataset

ds = load_dataset("ygyuan/kws_dataset")
print(ds)
print(ds["train"][0])
# sample keys: 'wav' (decoded audio), 'json' (metadata), '__key__', '__url__'

For streaming (no full download needed):

ds = load_dataset("ygyuan/kws_dataset", streaming=True)
for example in ds["train"]:
    print(example["__key__"], example["json"]["text"])
    break
Downloads last month
28