Add Colab ASR downstream evidence - #64
Merged
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
This PR adds reproducible “downstream ASR evidence” by pinning external Whisper tiny.en metadata and providing a Colab-only workflow to generate precomputed transcript JSON that can be evaluated by the existing lightweight WER/CER evaluator—keeping ASR dependencies and model downloads out of the base package.
Changes:
- Added a pinned Whisper evaluator JSON spec (model revision, license, runtime, normalization, and “no package dependency” policy) plus a release artifact test to enforce it.
- Introduced a Colab-only script that transcribes the existing LibriSpeech eval matrices remotely and runs
audio-super-res eval downstreamover generated transcript datasets. - Documented and recorded the initial downstream WER/CER results in the roadmap, evaluation docs, accelerators guide, and changelog.
Reviewed changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| tests/test_release_artifacts.py | Adds a regression test to ensure the Whisper evaluator spec remains pinned and explicitly not a package dependency. |
| ROADMAP.md | Marks the ASR evidence roadmap item complete and records the initial downstream WER/CER outcome. |
| examples/colab_asr_downstream.py | New Colab-only workflow to generate Whisper transcripts and downstream WER/CER JSON artifacts from existing LibriSpeech matrices. |
| examples/artifacts/README.md | Documents the new pinned ASR evaluator artifact. |
| examples/artifacts/asr-evaluator-whisper-tiny-en.json | Adds pinned external Whisper evaluator metadata (revision/license/runtime/normalization/integration policy). |
| docs/EVALUATION.md | Adds narrative describing the pinned Whisper downstream evidence and results. |
| docs/ACCELERATORS.md | Documents how to run and download the Colab-only downstream ASR evidence workflow. |
| CHANGELOG.md | Notes the addition of the pinned Whisper evaluator spec and Colab transcript workflow. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+138
to
+142
| def _archive() -> None: | ||
| with tarfile.open(ARCHIVE_PATH, "w:gz") as archive: | ||
| archive.add(EVIDENCE_DIR, arcname="evidence") | ||
| print(f"[colab-asr] evidence archive: {ARCHIVE_PATH}", flush=True) | ||
|
|
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
Colab T4 evidence
The external evaluator was openai/whisper-tiny.en at revision 87c7102498dcde7456f24cfd30239ca606ed9063 with Transformers 5.13.1 and float16 CUDA inference. It transcribed 24 files: eight degraded, eight sinc-enhanced, and eight LavaSR-enhanced utterances.
Mean results:
This small slice shows neither ASR improvement nor degradation. It does not support stable promotion and leaves blind listening as the remaining P2 evidence gap.
Local lightweight validation
No ASR model, audio matrix, managed model weight, or GPU inference ran locally.