Skip to content

feat(benchmarks): add asr_leaderboard benchmark (data-only) - #1176

Merged
bxyu-nvidia merged 2 commits into
NVIDIA-NeMo:mainfrom
gwarmstrong:gym/migrate-asr-leaderboard
May 8, 2026
Merged

bxyu-nvidia merged 2 commits into
NVIDIA-NeMo:mainfrom
gwarmstrong:gym/migrate-asr-leaderboard

Conversation

@gwarmstrong

Copy link
Copy Markdown
Contributor

Summary

Why

ASR-Leaderboard is the standard cross-domain WER benchmark suite for English ASR systems. Migrating it as data-only — no new server logic — extends Gym's audio coverage with zero verification risk. Both the prompt template (system + user messages) and the minimum-duration / empty-reference filtering match the upstream NeMo-Skills implementation exactly, so a data-only parity check (row count, expected_answer, audio path) is sufficient.

Files

  • benchmarks/asr_leaderboard/__init__.py
  • benchmarks/asr_leaderboard/config.yaml — chains to asr_with_pc.yaml and pins task_type: ASR.
  • benchmarks/asr_leaderboard/prepare.py — downloads hf-audio/esb-datasets-test-only-sorted, saves FLACs to <work_dir>/<dataset>/<id>.flac, writes the combined asr_leaderboard_benchmark.jsonl.
  • benchmarks/asr_leaderboard/prompts/default.yaml — "You are a helpful assistant. /no_think" + "Transcribe the following audio."
  • benchmarks/asr_leaderboard/README.md
  • benchmarks/asr_leaderboard/data/.gitignore

Test plan

  • Smoke-tested _format_row and _audio_filename on synthetic dataset entries (empty-text skip, sub-0.1s skip, slash-in-id rewriting, AMI-style id/name.suffix stem extraction).
  • Skills-vs-Gym data-parity check (row count exact, expected_answer 100% agreement, audio paths 100% agreement) — runs in the migration recipe after merge once both prepare jobs have downloaded the corpus.

Adds the HuggingFace Open ASR Leaderboard test set
(hf-audio/esb-datasets-test-only-sorted) as a data-only benchmark
covering 8 ESB subsets: librispeech-clean/other, voxpopuli, tedlium,
gigaspeech, spgispeech, earnings22, ami.

Reuses the existing asr_with_pc resource server in task_type=ASR mode
(Whisper-normalized WER, added in PR NVIDIA-NeMo#1144) so no server-side changes
are needed. Audio is referenced via responses_create_params.metadata.audio_path
(PR NVIDIA-NeMo#1170) so the multi-GB FLAC corpus stays on disk instead of being
inlined as base64 in every JSONL row.

Prompt and minimum-duration / empty-reference filtering match the
upstream NeMo-Skills asr-leaderboard implementation exactly so a
data-only parity check (row count, expected_answer, audio_path) is
sufficient to validate the migration.

Signed-off-by: gwarmstrong <[email protected]>
@copy-pr-bot

copy-pr-bot Bot commented Apr 29, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@bxyu-nvidia
bxyu-nvidia merged commit 7466fc8 into NVIDIA-NeMo:main May 8, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants