Search is not available for this dataset
audio
audioduration (s)
0
82.3
label
class label
0 classes
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null

jeli-asr-data-manifest

This repository contains a resampled version of jeli-asr dataset with correponding NeMo data manifests.

Directory Structure

The directory structure is as follows:

jeli-data-manifest/
β”‚
β”œβ”€β”€ audios/
β”‚   β”œβ”€β”€ train/
β”‚   └── test/
β”‚
β”œβ”€β”€ french-manifests/
β”‚   β”œβ”€β”€ train_french_manifest.json
β”‚   └── test_french_manifest.json
β”‚
β”œβ”€β”€ manifests/
β”‚   β”œβ”€β”€ train_manifest.json
β”‚   └── test_manifest.json
β”‚
└── scripts/
    └── create_manifest.py
    └── clean_tsv.py

1. audios/

This directory contains the audio files (.wav format) of every example in the dataset. The audio files are split into two subdirectories:

  • train/: Contains audio files used for training.
  • test/: Contains audio files used for testing.

The audio files vary in length and correspond to each entry in the manifest files. They are referenced by file paths in the manifest files.

2. manifests/

This directory contains the manifest files used for training speech recognition (ASR) models. There are two JSON files:

  • train_manifest.json: Contains file paths, durations, and transcriptions for the training set.
  • test_manifest.json: Contains file paths, durations, and transcriptions for the test set.

Each line in the manifest files is a JSON object with the following structure:

{
  "audio_filepath": "jeli-data-manifest/audios/train/griots_r19-1609461-1627744.wav",
  "duration": 18.283,
  "text": "I kun tΙ› kΙ”rΙ”ta maa min si kakΙ”rΙ” n'ita ye, i Ε‹Ι› t'a Ε‹Ι› ye..."
}
  • audio_filepath: The relative path to the corresponding audio file.
  • duration: The duration of the audio file in seconds.
  • text: The transcription of the audio in Bambara.

3. french-manifests/

This directory contains French equivalent manifest files for the dataset. The structure is similar to the manifests/ directory but with French transcriptions:

  • train_french_manifest.json: Contains the French transcriptions for the training set.
  • test_french_manifest.json: Contains the French transcriptions for the test set.

4. scripts/

This directory contains scripts used to process the data and create manifest files:

  • create_manifest.py: A script used to create manifest files for training and testing. It re-samples the audio files published as the first version of Jeli-ASR dataset and generates the corresponding JSON manifest files.
  • clean_tsv.py: Script to remove some of the most common issues in the .tsv transcription files created during the last revision work on the dataset in January 2023, such as unwanted characters (", <>), consecutive tabs (making some rows incositent) and spacing errors

Dataset Overview

The dataset consists of 11,533 audio-transcription pairs:

  • Training set: 9,803 examples (85%)
  • Test set: 1,730 examples (15%)

Each audio file is paired with a transcription in Bambara in the manifest files, and the corresponding French transcriptions are available in the french-manifests/ directory.

Usage

The manifest files are specifically created for training Automatic Speech Recognition (ASR) models in NVIDIA NeMo framework, but they can be used with any other framework that supports manifest-based input formats or reformated for any other use or framework.

To use the dataset, simply load the manifest files (train_manifest.json and test_manifest.json) in your training script. The file paths for the audio files and the corresponding transcriptions are already provided in these manifest files.

Downloading the dataset:

from datasets import load_dataset

# Clone dataset repository with directory structure
!git clone https://huggingface.co/datasets/RobotsMali/jeli-data-manifest

# Load the dataset into Hugging Face Dataset object
dataset = load_dataset("jeli-data-manifest/manifests/train_manifest.json")

# The directory structure remains intact for additional file access


### Example NeMo Usage

Finetuning with Nemo:

from nemo.collections.asr.models import ASRModel
train_manifest = 'jeli-data-manifest/manifests/train_manifest.json'
test_manifest = 'jeli-data-manifest/manifests/test_manifest.json'

asr_model = ASRModel.from_pretrained("QuartzNet15x5Base-En")

# Adapt the model's vocab before training

asr_model.setup_training_data(train_data_config={'manifest_filepath': train_manifest})
asr_model.setup_validation_data(val_data_config={'manifest_filepath': test_manifest})

Issues

This version was created after some shallow cleaning on the transcriptions and resamplimg work. It has conserved most of the issues of the original dataset such as:

  • Misaligned / Invalid segmentation
  • Language / Incorrect transcriptions
  • Non-standardized naming conventions

Citation

If you use this dataset in your research or project, please give credit to the creators of the original Jeli-ASR dataset.


Downloads last month
43