Repository navigation
feat(benchmarks): add asr_leaderboard benchmark (data-only) - #1176
Merged
bxyu-nvidia merged 2 commits intoMay 8, 2026
Merged
Conversation
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]>
Signed-off-by: gwarmstrong <[email protected]>
bxyu-nvidia
approved these changes
May 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
asr_with_pcresource server intask_type=ASRmode (Whisper-normalized WER, added in Add LibriSpeech-PC benchmark, asr_with_pc resource server, and audio sidechannel in vllm_model #1144) — no new server logic.responses_create_params.metadata.audio_path(Add file-path audio support to the vllm_model audio sidechannel #1170) so the multi-GB FLAC corpus stays on disk instead of being inlined as base64 in every JSONL row.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__.pybenchmarks/asr_leaderboard/config.yaml— chains toasr_with_pc.yamland pinstask_type: ASR.benchmarks/asr_leaderboard/prepare.py— downloadshf-audio/esb-datasets-test-only-sorted, saves FLACs to<work_dir>/<dataset>/<id>.flac, writes the combinedasr_leaderboard_benchmark.jsonl.benchmarks/asr_leaderboard/prompts/default.yaml—"You are a helpful assistant. /no_think"+"Transcribe the following audio."benchmarks/asr_leaderboard/README.mdbenchmarks/asr_leaderboard/data/.gitignoreTest plan
_format_rowand_audio_filenameon synthetic dataset entries (empty-text skip, sub-0.1s skip, slash-in-id rewriting, AMI-styleid/name.suffixstem extraction).expected_answer100% agreement, audio paths 100% agreement) — runs in the migration recipe after merge once both prepare jobs have downloaded the corpus.