whatisgithub

What is asr-evaluation?

dakshjain-1616/asr-evaluation — explained in plain English

Analysis updated 2026-05-18

0PythonAudience · developerComplexity · 3/5Setup · moderate

In one sentence

A Python benchmarking tool that runs five speech-to-text models on the same audio and compares their accuracy, speed, and noise robustness.

Mindmap

mindmap
  root((repo))
    What it does
      Benchmarks ASR models
      Measures WER and CER
      Tests noise robustness
    Tech stack
      Python
      Hugging Face
      Whisper
    Use cases
      Pick a speech model
      Compare accuracy vs speed
      Test noisy audio
    Audience
      Developers
      Researchers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Compare Word Error Rate and speed across five speech-to-text models before choosing one for production.

USE CASE 2

Test how each ASR model holds up against background noise, accents, or phone-quality audio.

USE CASE 3

Save structured JSON benchmark results to compare runs over time or feed into another tool.

What is it built with?

PythonHugging FaceWhisperWav2Vec2

How does it compare?

dakshjain-1616/asr-evaluation0xhassaan/nn-from-scratch3ks/embedoc
Stars00
LanguagePythonPythonPython
Last pushed2023-06-08
MaintenanceDormant
Setup difficultymoderatemoderatehard
Complexity3/54/51/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires installing several speech models via Hugging Face and Python dependencies from requirements.txt.

So what is it?

ASR Evaluation Framework is a benchmarking tool for comparing automatic speech recognition (ASR) models, software that converts spoken audio into text. If you are trying to decide which speech-to-text model to use in an application, this framework runs them all on the same audio samples and measures how well each one performs, how fast it is, and how well it holds up under difficult conditions like background noise or accented speech. The framework supports five models: IBM Granite, OpenAI Whisper, NVIDIA Canary, Distil-Whisper, and Wav2Vec2. For each model, it calculates Word Error Rate (the percentage of words the model got wrong), Character Error Rate (a finer-grained version of the same idea), overall accuracy, and Real-Time Factor (how long transcription takes relative to the length of the audio, a value below 1.0 means the model can keep up in real time). Tests cover over 15 scenarios including clean speech, office or street background noise, fast or slow speakers, technical vocabulary, and phone-quality audio. You run it from the command line with flags like --accuracy, --speed, or --all. Results are saved as structured JSON files with a consistent schema, making it easy to compare runs or import results into another tool. The code is written in Python and integrates with the Hugging Face ecosystem for loading models. You would use this before deploying a voice feature to check which model gives the best tradeoff between speed and accuracy for your specific use case. The full README is longer than what was provided.

Copy-paste prompts

Prompt 1
Explain how this framework calculates Word Error Rate and Real-Time Factor for each ASR model.
Prompt 2
Walk me through running a complete accuracy and speed evaluation with run_evaluation.py.
Prompt 3
Show me how to add a new speech recognition model to this evaluation framework.
Prompt 4
Help me interpret the JSON results file this tool produces after an evaluation run.

Frequently asked questions

What is asr-evaluation?

A Python benchmarking tool that runs five speech-to-text models on the same audio and compares their accuracy, speed, and noise robustness.

What language is asr-evaluation written in?

Mainly Python. The stack also includes Python, Hugging Face, Whisper.

How hard is asr-evaluation to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is asr-evaluation for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.