libri / README.md
philgzl's picture
Upload folder using huggingface_hub
9529130 verified
metadata
license: cc-by-4.0
dataset_info:
  features:
    - name: audio
      dtype: audio
    - name: name
      dtype: string

LibriSpeech: An ASR corpus based on public domain audio books

This is a mirror of the LibriSpeech ASR corpus. The original files were converted from FLAC to Opus to reduce the size and accelerate streaming. The transcripts are not included. This mirror is thus best suited for audio-to-audio tasks.

Usage

import io

import soundfile as sf
from datasets import Features, Value, load_dataset

for item in load_dataset(
    "philgzl/libri",
    split="train",
    streaming=True,
    features=Features({"audio": Value("binary"), "name": Value("string")}),
):
    print(item["name"])
    buffer = io.BytesIO(item["audio"])
    x, fs = sf.read(buffer)
    # do stuff...

Citation

@inproceedings{panayotov2015librispeech,
  title = {{LibriSpeech}: {An} {ASR} corpus based on public domain audio books},
  author = {Panayotov, Vassil and Chen, Guoguo and Povey, Daniel and Khudanpur, Sanjeev},
  booktitle = {Proc. ICASSP},
  pages = {5206--5210},
  year = {2015},
}