Datasets:

Modalities:
Audio
Text
Formats:
parquet
DOI:
Libraries:
Datasets
Dask
License:
naijavoices-dataset / README.md
chrisjay's picture
Update README.md
f0215ee verified
metadata
license: cc-by-nc-sa-4.0
dataset_info:
  - config_name: hausa-batch-0
    features:
      - name: audio
        dtype: audio
      - name: speaker_id
        dtype: string
      - name: text
        dtype: string
      - name: language
        dtype: string
      - name: gender
        dtype: string
      - name: age_range
        dtype: string
      - name: phase
        dtype: string
    splits:
      - name: train
        num_bytes: 51989828502.4
        num_examples: 236200
    download_size: 50287190320
    dataset_size: 51989828502.4
  - config_name: hausa-batch-1
    features:
      - name: audio
        dtype: audio
      - name: speaker_id
        dtype: string
      - name: text
        dtype: string
      - name: language
        dtype: string
      - name: gender
        dtype: string
      - name: age_range
        dtype: string
      - name: phase
        dtype: string
    splits:
      - name: train
        num_bytes: 52726128301
        num_examples: 236200
    download_size: 50290007823
    dataset_size: 52726128301
  - config_name: hausa-batch-2
    features:
      - name: audio
        dtype: audio
      - name: speaker_id
        dtype: string
      - name: text
        dtype: string
      - name: language
        dtype: string
      - name: gender
        dtype: string
      - name: age_range
        dtype: string
      - name: phase
        dtype: string
    splits:
      - name: train
        num_bytes: 51281000103.18
        num_examples: 236199
    download_size: 50232098312
    dataset_size: 51281000103.18
  - config_name: igbo-batch-0
    features:
      - name: audio
        dtype: audio
      - name: speaker_id
        dtype: string
      - name: text
        dtype: string
      - name: language
        dtype: string
      - name: gender
        dtype: string
      - name: age_range
        dtype: string
      - name: phase
        dtype: string
    splits:
      - name: train
        num_bytes: 52669066749.528
        num_examples: 195644
    download_size: 50835735444
    dataset_size: 52669066749.528
  - config_name: igbo-batch-1
    features:
      - name: audio
        dtype: audio
      - name: speaker_id
        dtype: string
      - name: text
        dtype: string
      - name: language
        dtype: string
      - name: gender
        dtype: string
      - name: age_range
        dtype: string
      - name: phase
        dtype: string
    splits:
      - name: train
        num_bytes: 52794245312.468
        num_examples: 195644
    download_size: 50752081822
    dataset_size: 52794245312.468
  - config_name: igbo-batch-2
    features:
      - name: audio
        dtype: audio
      - name: speaker_id
        dtype: string
      - name: text
        dtype: string
      - name: language
        dtype: string
      - name: gender
        dtype: string
      - name: age_range
        dtype: string
      - name: phase
        dtype: string
    splits:
      - name: train
        num_bytes: 52319898032.061
        num_examples: 195643
    download_size: 50768557105
    dataset_size: 52319898032.061
  - config_name: yoruba-batch-0
    features:
      - name: audio
        dtype: audio
      - name: speaker_id
        dtype: string
      - name: text
        dtype: string
      - name: language
        dtype: string
      - name: gender
        dtype: string
      - name: age_range
        dtype: string
      - name: phase
        dtype: string
    splits:
      - name: train
        num_bytes: 49056406265.052
        num_examples: 207386
    download_size: 47570454965
    dataset_size: 49056406265.052
  - config_name: yoruba-batch-1
    features:
      - name: audio
        dtype: audio
      - name: speaker_id
        dtype: string
      - name: text
        dtype: string
      - name: language
        dtype: string
      - name: gender
        dtype: string
      - name: age_range
        dtype: string
      - name: phase
        dtype: string
    splits:
      - name: train
        num_bytes: 49701744358.902
        num_examples: 207386
    download_size: 47616192158
    dataset_size: 49701744358.902
  - config_name: yoruba-batch-2
    features:
      - name: audio
        dtype: audio
      - name: speaker_id
        dtype: string
      - name: text
        dtype: string
      - name: language
        dtype: string
      - name: gender
        dtype: string
      - name: age_range
        dtype: string
      - name: phase
        dtype: string
    splits:
      - name: train
        num_bytes: 49400803673.08
        num_examples: 207384
    download_size: 47591015820
    dataset_size: 49400803673.08
configs:
  - config_name: hausa-batch-0
    data_files:
      - split: train
        path: hausa-batch-0/train-*
  - config_name: hausa-batch-1
    data_files:
      - split: train
        path: hausa-batch-1/train-*
  - config_name: hausa-batch-2
    data_files:
      - split: train
        path: hausa-batch-2/train-*
  - config_name: igbo-batch-0
    data_files:
      - split: train
        path: igbo-batch-0/train-*
  - config_name: igbo-batch-1
    data_files:
      - split: train
        path: igbo-batch-1/train-*
  - config_name: igbo-batch-2
    data_files:
      - split: train
        path: igbo-batch-2/train-*
  - config_name: yoruba-batch-0
    data_files:
      - split: train
        path: yoruba-batch-0/train-*
  - config_name: yoruba-batch-1
    data_files:
      - split: train
        path: yoruba-batch-1/train-*
  - config_name: yoruba-batch-2
    data_files:
      - split: train
        path: yoruba-batch-2/train-*
extra_gated_heading: >-
  You need to register at NaijaVoices to use this dataset. It'll only take a
  minute
extra_gated_prompt: >-
  Click [here](https://naijavoices.com/membership) to register on NaijaVoices in
  the tier that corresponds to your use case.
extra_gated_fields:
  First Name: text
  Last Name: text
  Email address (used during registration): text
  I have registered on NaijaVoices and obtained a membership: checkbox

Important Information: please be aware that this version of the dataset is huge (500+ GB) and can therefore be challenging to use. To alleviate this and facilitate adoption, we’ve provided a compressed version (84GB) here. We suggest using that instead if you have compute/storage constraints. They are both the exact same data.

Introduction

Welcome to the NaijaVoices dataset. The NaijaVoices dataset consists of 1,800 hours of authentic speech (from over 5,000 diverse speakers!) and expert curated text in Igbo, Hausa, and Yoruba. ~600 hours for each of the three languages. It also boasts of adequate female representation and balanced age-range distribution (young to old speakers). For more about the dataset info visit our website: https://naijavoices.com/. By using this dataset, you acknowledge reading and accepting to use this dataset accoridng to the data usage terms and conditions.

Metadata

Each row contains the audio data, the transcript, the language of the transcript, the speaker id, along with their gender and age-range. Use the “Dataset Viewer” to look at the dataset.

Usage

To ease usage, we divided the dataset into batches. Specifically, we batched the dataset into their languages, and further into three uniform batches for each language. Each batch should contain approximately 167 hours. We obtained the following batches:

  1. igbo-batch-0
  2. igbo-batch-1
  3. igbo-batch-2
  4. yoruba-batch-0
  5. yoruba-batch-1
  6. yoruba-batch-2
  7. hausa-batch-0
  8. hausa-batch-1
  9. hausa-batch-2

To load a specific batch run (e.g. “igbo-batch-1”:


from datasets import load_dataset

# If the dataset is gated/private, make sure you have run "huggingface-cli login"
dataset = load_dataset("naijavoices/naijavoices-dataset","igbo-batch-1")

If you want to load the whole dataset, then just do

dataset = load_dataset("naijavoices/naijavoices-dataset")

It is advisable to load the batch in streaming mode by setting streaming=True

# Streaming mode
dataset = load_dataset("naijavoices/naijavoices-dataset", streaming=True)

License

The NaijaVoices dataset is licensed under the CC BY-NC-SA 4.0 license. Basically, It's free for research (non-commercial) use, with proper credit to the community. For commercial interests, please check out our membership tiers which offer special commercial waivers.