jam-alt / README.md
cifkao's picture
Update README.md
ba23be3
|
raw
history blame
No virus
1.52 kB
metadata
task_categories:
  - automatic-speech-recognition
  - automatic-lyrics-transcription
language:
  - en
  - fr
  - de
  - es
tags:
  - music
  - lyrics
  - evaluation
  - benchmark
  - transcription
pretty_name: 'JamALT: A Formatting-Aware Lyrics Transcription Benchmark'

JamALT: A Formatting-Aware Lyrics Transcription Benchmark

JamALT is a revision of the JamendoLyrics dataset, adapted for use as an automatic lyrics transcription (ALT) benchmark.

The lyrics have been revised according to the newly compiled annotation guidelines, which include rules about spelling, punctuation, and formatting.

See the project website for details.

Loading the data

from datasets import load_dataset
dataset = load_dataset("audioshake/jam-alt")["test"]

A subset is defined for each language (en, fr, de, es); for example, use load_dataset("audioshake/jam-alt", "es") to load only the Spanish songs.

Other arguments can be specified to control audio loading:

  • with_audio=False to skip loading audio.
  • sampling_rate and mono=True to control the sampling rate and number of channels.
  • decode_audio=False to skip decoding the audio and just get paths to the MP3 files.

Running evaluation

Use the alt-eval package for evaluation:

from alt_eval import compute_metrics
compute_metrics(dataset["text"], transcriptions, languages=dataset["language"])