The viewer is disabled because this dataset repo requires arbitrary Python code execution. Please consider
removing the
loading script
and relying on
automated data support
(you can use
convert_to_parquet
from the datasets library). If this is not possible, please
open a discussion
for direct help.
NanoSpeech Dataset This dataset contains speech audio samples with their corresponding transcriptions. Dataset Structure The dataset is organized as a collection of TAR files (shards) containing:
.mp3 audio files .json metadata files with transcriptions and duration information
Each audio file has a corresponding JSON file with the same base name containing: json{ "text": "transcription of the audio", "duration": 1.234 // duration in seconds }
Usage
from datasets import load_dataset
Load the dataset (streaming mode)
dataset = load_dataset("manojkmk/nanospeech-dataset", split="train", streaming=True)
Example iteration
for sample in dataset: print(sample["text"]) waveform = sample["audio"]["array"] sample_rate = sample["audio"]["sampling_rate"]
Load the dataset (non-streaming mode)
dataset = load_dataset("manojkmk/nanospeech-dataset", split="train")
- Downloads last month
- 1