Datasets:
Tasks:
Automatic Speech Recognition
Formats:
soundfolder
Sub-tasks:
language-modeling
Languages:
Twi
Size:
< 1K
License:
Search is not available for this dataset
audio audioduration (s) 141 1.8k |
|---|
This dataset is shared under CC BY-NC 4.0, which means you are free to use, share, and adapt it for non-commercial research and educational purposes with attribution. You can read the full license at https://creativecommons.org/licenses/by-nc/4.0/.
Audio-text dataset with 76 pairs of Twi (Ghanaian language) speech data.
Structure
audio/- WAV audio files ({len(pairs)} files)text/- Corresponding text transcripts ({len(pairs)} files)dataset_manifest.json- Links audio to text files
Usage
import json
from datasets import load_dataset, Audio
# Load manifest
with open("dataset_manifest.json") as f:
manifest = json.load(f)
# Create dataset from files
from datasets import Dataset
dataset = Dataset.from_list([
{{"id": m["id"], "audio": m["audio"], "text": open(m["text"]).read()}}
for m in manifest
])
dataset = dataset.cast_column("audio", Audio())
# Or download from HF and use locally
from huggingface_hub import hf_hub_download
audio_path = hf_hub_download(repo_id="{repo_id}", filename="audio/chunk_01.wav")
Note
Files are stored as raw audio/text for easy access. The manifest links each audio file to its transcript.
- Downloads last month
- 219