coral / README.md
saattrupdan's picture
Update readme with new statistics
fb20199 verified
metadata
language:
  - da
license: openrail
size_categories:
  - 100K<n<1M
task_categories:
  - automatic-speech-recognition
  - audio-classification
pretty_name: CoRal
dataset_info:
  config_name: read_aloud
  features:
    - name: id_recording
      dtype: string
    - name: id_sentence
      dtype: string
    - name: id_speaker
      dtype: string
    - name: text
      dtype: string
    - name: location
      dtype: string
    - name: location_roomdim
      dtype: string
    - name: noise_level
      dtype: string
    - name: noise_type
      dtype: string
    - name: source_url
      dtype: string
    - name: age
      dtype: int64
    - name: gender
      dtype: string
    - name: dialect
      dtype: string
    - name: country_birth
      dtype: string
    - name: validated
      dtype: string
    - name: audio
      dtype: audio
    - name: asr_prediction
      dtype: string
    - name: asr_validation_model
      dtype: string
    - name: asr_wer
      dtype: float64
    - name: asr_cer
      dtype: float64
  splits:
    - name: train
      num_bytes: 124847784243.54341
      num_examples: 228960
    - name: val
      num_bytes: 1085656614.3819659
      num_examples: 1991
    - name: test
      num_bytes: 4362256612.283138
      num_examples: 8000
  download_size: 121149903977
  dataset_size: 130295697470.20853
configs:
  - config_name: read_aloud
    data_files:
      - split: train
        path: read_aloud/train-*
      - split: val
        path: read_aloud/val-*
      - split: test
        path: read_aloud/test-*

CoRal: Danish Conversational and Read-aloud Dataset

Dataset Overview

CoRal is a comprehensive Automatic Speech Recognition (ASR) dataset designed to capture the diversity of the Danish language across various dialects, accents, genders, and age groups. The primary goal of the CoRal dataset is to provide a robust resource for training and evaluating ASR models that can understand and transcribe spoken Danish in all its variations.

Key Features

  • Dialect and Accent Diversity: The dataset includes speech samples from all major Danish dialects as well as multiple accents, ensuring broad geographical coverage and the inclusion of regional linguistic features.
  • Gender Representation: Both male and female speakers are well-represented, offering balanced gender diversity.
  • Age Range: The dataset includes speakers from a wide range of age groups, providing a comprehensive resource for age-agnostic ASR model development.
  • High-Quality Audio: All recordings are of high quality, ensuring that the dataset can be used for both training and evaluation of high-performance ASR models.

Quick Start

The CoRal dataset is ideal for training ASR models that need to generalise across different dialects and speaker demographics within the Danish language. Below is an example of how to load and use the dataset with Hugging Face's datasets library:

from datasets import load_dataset

# Load the Coral dataset
coral = load_dataset("alexandrainst/coral", "read_aloud")

# Example: Accessing an audio sample and its transcription
sample = coral['train'][0]
audio = sample['audio']
transcription = sample['text']

print(f"Audio: {audio['array']}")
print(f"Text: {transcription}")

Data Fields

  • id_recording: Unique identifier for the recording.
  • id_sentence: Unique identifier for the text being read aloud.
  • id_speaker: Unique identifier for each speaker.
  • text: Text being read aloud.
  • location: Address of recording place.
  • location_roomdim: Dimension of recording room.
  • noise_level: Noise level in the room, given in dB.
  • noise_type: Noise exposed to the speaker while recording. Note the noise is not present in the audio, but is there to mimic differences in speech in a noisy environment.
  • source_url: URL to the source of the text.
  • age: Age of the speaker.
  • gender: Gender of the speaker.
  • dialect: Self-reported dialect of the speaker.
  • country_birth: Country where the speaker was born.
  • validated: Manual validation state of the recording.
  • audio: The audio file of the recording.
  • asr_prediction: ASR output prediction of the asr_validation_model.
  • asr_validation_model: Hugging Face Model ID used for automatic validation of the recordings.
  • asr_wer: Word error rate between asr_prediction and text.
  • asr_cer: Character error rate between asr_prediction and text.

Read-aloud Data Statistics

Test Split

There are 12.8 hours of audio in the test split, with 35 speakers, reading 7,853 unique sentences aloud.

Gender distribution:

  • female: 50.6%
  • male: 49.4%

Dialect and accent distribution:

  • Bornholmsk: 10.3%
  • Fynsk: 10.0%
  • Københavnsk: 10.5%
  • Nordjysk: 9.1%
  • Sjællandsk: 8.3%
  • Sydømål: 7.5%
  • Sønderjysk: 12.0%
  • Vestjysk: 10.2%
  • Østjysk: 11.4%
  • Non-native accent: 10.6%

Age group distribution:

  • 0-24: 18.8%
  • 25-49: 37.2%
  • 50-: 44.1%

Validation Split

There are 3.06 hours of audio in the validation split, with 11 speakers, reading 1,987 unique sentences aloud.

Gender distribution:

  • female: 53.4%
  • male: 46.6%

Dialect and accent distribution:

  • Bornholmsk: 8.8%
  • Fynsk: 10.8%
  • Københavnsk: 3.1%
  • Nordjysk: 3.4%
  • Sjællandsk: 6.8%
  • Sydømål: 14.9%
  • Sønderjysk: 5.7%
  • Vestjysk: 15.3%
  • Østjysk: 26.3%
  • Non-native accent: 4.9%

Age group distribution:

  • 0-24: 35.4%
  • 25-49: 40.8%
  • 50-: 23.8%

Train Split

There are 361 hours of audio in the train split, with 547 speakers, reading 150,159 unique sentences aloud.

Gender distribution:

  • female: 71.9%
  • male: 25.8%
  • non-binary: 2.2%

Dialect distribution:

  • Bornholmsk: 2.4%
  • Fynsk: 4.7%
  • Københavnsk: 14.6%
  • Nordjysk: 15.8%
  • Sjællandsk: 15.6%
  • Sydømål: 0.2%
  • Sønderjysk: 4.1%
  • Vestjysk: 10.7%
  • Østjysk: 29.3%
  • Non-native accent: 2.5%

Age group distribution:

  • 0-24: 6.6%
  • 25-49: 39.0%
  • 50-: 54.4%

Conversational Data Statistics

The conversational data is not yet available, but we are working on it and plan to release it during 2024.

Example Use Cases

ASR Model Training

Train robust ASR models that can handle dialectal variations and diverse speaker demographics in Danish.

Dialect Studies

Analyse the linguistic features of different Danish dialects.

Forbidden Use Cases

Speech Synthesis and Biometric Identification are not allowed using the CoRal dataset. For more information, see addition 4 in our license.

License

The dataset is licensed under a custom license, adapted from OpenRAIL-M, which allows commercial use with a few restrictions (speech synthesis and biometric identification). See license.

Creators and Funders

The CoRal project is funded by the Danish Innovation Fund and consists of the following partners:

Citation

We will submit a research paper soon, but until then, if you use the CoRal dataset in your research or development, please cite it as follows:

@dataset{coral2024,
  author    = {Dan Saattrup Nielsen, Sif Bernstorff Lehmann, Simon Leminen Madsen, Anders Jess Pedersen, Anna Katrine van Zee and Torben Blach},
  title     = {CoRal: A Diverse Danish ASR Dataset Covering Dialects, Accents, Genders, and Age Groups},
  year      = {2024},
  url       = {https://hf.co/datasets/alexandrainst/coral},
}