nb-asr-eval-withwav-sorted
收藏资源简介:
NB-ASR Eval with WAV Sorted 是一个用于挪威语自动语音识别(ASR)评估的数据集,专门针对挪威语的两种官方变体:博克马尔语(nb)和尼诺斯克语(nn)。该数据集是原始nb-asr-eval-withwav数据集的副本,其样本已按照ASR识别难度(基于词错误率WER)进行了从难到易的排序,旨在方便进行针对性的人工清理和评估。数据集采用Hugging Face AudioFolder格式组织,每个数据划分对应一个独立的目录,包含一个metadata.jsonl元数据文件和引用的WAV音频文件。每个数据样本包含三个字段:audio(本地WAV文件的音频对象)、id(用于派生音频路径的唯一话语标识符)和text(参考转录文本)。数据集包含多个精心划分的测试集和验证集,涵盖了不同的数据来源(如音频书籍、NRK广播、挪威故事等),每个划分的样本数量已在README中明确列出。验证集总样本数超过一万条,测试集总样本数也超过一万条,其中包括一个特殊的testval_fleurs划分,应排除在最终评估运行之外。该数据集主要用于挪威语ASR模型的评估、测试和性能基准测试,其排序特性特别有助于聚焦于模型难以处理的语音样本进行分析和优化。
NB-ASR Eval with WAV Sorted is a dataset for Norwegian automatic speech recognition (ASR) evaluation, specifically targeting the two official variants of Norwegian: Bokmål (nb) and Nynorsk (nn). This dataset is a copy of the original nb-asr-eval-withwav dataset, with samples sorted from hardest to easiest based on ASR recognition difficulty (using Word Error Rate, WER), aiming to facilitate targeted manual cleaning and evaluation. The dataset is organized in the Hugging Face AudioFolder format, where each data split corresponds to an independent directory containing a metadata.jsonl file and referenced WAV audio files. Each data sample includes three fields: audio (an audio object for the local WAV file), id (a unique utterance identifier used to derive the audio path), and text (the reference transcription text). The dataset contains multiple carefully divided test and validation sets, covering different data sources (such as audiobooks, NRK broadcasts, Norwegian stories, etc.), with the sample counts for each split clearly listed in the README. The total number of validation samples exceeds ten thousand, and the total number of test samples also exceeds ten thousand, including a special testval_fleurs split that should be excluded from final evaluation runs. This dataset is primarily used for evaluating, testing, and benchmarking Norwegian ASR model performance, with its sorting feature particularly helpful for focusing on speech samples that are difficult for models to process and for analysis and optimization.
NB-ASR Eval with WAV 数据集详细概述
该数据集是一个用于挪威语自动语音识别(ASR)评估和测试的数据集,版本为“Hardest-first”,旨在为人工清理工作提供依据。
数据集标识与许可
- 数据集名称:NB-ASR Eval with WAV
- 数据源地址:
https://huggingface.co/datasets/NbAiLab/nb-asr-eval-withwav-sorted - 许可协议:其他(license: other),具体许可文件见 LICENSE 链接。
- 任务类别:自动语音识别(automatic-speech-recognition)
- 语言:挪威语(nb)和新挪威语(nn)
- 配置:默认配置(default),包含多个数据分割(split)。
数据集结构与内容
该数据集作为 Hugging Face 的 AudioFolder 数据集构建,结构如下:
- 存储方式:每个分割(split)在
audio/目录下有自己的子目录,包含一个metadata.jsonl文件和引用 WAV 音频文件。 - 数据字段:加载后,每个样本包含三个字段:
audio(Audio 类型):本地的 WAV 文件。id(字符串类型):唯一的语音段标识符,用于推导音频路径。text(字符串类型):参考转录文本。
- 元数据附加信息(可选):在评分后,每个元数据行可能包含
original_source_index,priority_rank,asr_wer,asr_cer,asr_hypothesis, 和asr_model。
数据集的分割与样本数量
数据集包含多个验证(validation)和测试(test)分割,具体样本数量如下:
验证分割(Validation Splits):
| 分割名称 | 样本数量 |
|---|---|
validation_audio_books_nb |
1355 |
validation_audio_books_nn |
1500 |
validation_long_nb_tale_nb |
365 |
validation_nb_tale_nb |
4294 |
validation_nb_tale_nn |
393 |
validation_nrk_nb |
705 |
validation_nrk_nn |
1500 |
validation_nst |
1491 |
validation_stortinget_nb |
749 |
validation_stortinget_nn |
169 |
测试分割(Test Splits,包括 testval):
| 分割名称 | 样本数量 |
|---|---|
test_audio_books_nb |
1500 |
test_audio_books_nn |
1500 |
test_fleurs |
357 |
test_nb_tale_nb |
4321 |
test_nb_tale_nn |
406 |
test_nrk_nb |
1500 |
test_nrk_nn |
1500 |
test_nst |
1500 |
test_stortinget_nb |
1402 |
testval_fleurs |
163 |
注意:testval_fleurs 是一个类似验证集的集合,应排除在评估运行之外。
数据集使用说明
-
加载方式:可使用 Hugging Face
datasets库加载,例如: python from datasets import load_dataset ds = load_dataset("NbAiLab/nb-asr-eval-withwav") print(ds["test_audio_books_nb"][0]) -
测试策略:一般测试程序为:每个测试文件使用前 1000 个样本。一些 NN 分割样本数少于 1000,则使用全部可用样本。文件中剩余的样本旨在作为无效样本的替换。
-
测试政策:在项目完成前,不得对任何测试分割运行测试。测试分割仅用于最终发布/不发布决策。禁止在测试集上进行优化。对测试样本的任何删除或替换必须得到团队一致同意。
音频来源与技术说明
- 音频格式:WAV 文件,通过 Git LFS 追踪。
- 原始来源:从共享存储
/nfs/datastore0/nb-asr-audio/wav16mono/(Golem)中生成。 - 生成方式:可通过运行
scripts/materialize_audiofolder.py脚本从源清单中再现音频文件。材料化报告存储在audio_materialization_report.json中。源清单中缺少对应 WAV 文件的行已被移除。




