How vinodbavage31/benchmark-framework works
This is a configuration-driven Kannada ASR benchmarking framework. A user launches the benchmark with a YAML configuration; the runner loads dataset metadata, sends each audio file to configured providers, evaluates transcripts against references, and writes per-file and aggregated results. The graph preserves the three documented provider implementations and the benchmark’s analysis outputs. Runner internals were not excerpted, so its documented workflow edges cite the README; provider and metric details are supported by the sampled source.
Main entry points: runner.py Benchmark runner · run_benchmark.py CLI entry point · sarvam.py Sarvam provider · whisper.py Whisper provider
Components 17
Benchmark entry
- CLI entry point
scripts/run_benchmark.py - Benchmark runner
src/benchmark/runner.py - YAML configuration
config/benchmark.yaml
Dataset and evaluation
- Dataset metadata
dataset/metadata.csv - Audio files
dataset/audio - Text metrics
src/metrics.py
ASR providers
- Provider interface and result
src/providers/base.py - Sarvam provider
src/providers/sarvam.py - Whisper provider
src/providers/whisper.py - IndicConformer provider
src/providers/indicconformer.py
Benchmark results
- Raw per-file results
results/raw_results.jsonl - Per-file metrics
results/benchmark_results.csv - Aggregated summary
results
Other components
- Benchmark user
- Sarvam ASR API
- Whisper model library
- Hugging Face model
Connections 15
- Benchmark user → CLI entry point: launches
README.md - CLI entry point → Benchmark runner: starts
scripts/run_benchmark.py - Benchmark runner → YAML configuration: reads settings
README.md - Benchmark runner → Dataset metadata: loads metadata
README.md - Benchmark runner → Audio files: transcribes files
README.md - Benchmark runner → Sarvam provider: instantiates and calls
README.md - Benchmark runner → Whisper provider: instantiates and calls
README.md - Benchmark runner → IndicConformer provider: instantiates and calls
README.md - Benchmark runner → Text metrics: computes scores
README.md - Benchmark runner → Raw per-file results: writes records
README.md - Benchmark runner → Per-file metrics: writes metrics
README.md - Benchmark runner → Aggregated summary: aggregates results
README.md - Sarvam provider → Sarvam ASR API: sends audio
src/providers/sarvam.py - Whisper provider → Whisper model library: loads and transcribes
README.md - IndicConformer provider → Hugging Face model: loads model
src/providers/indicconformer.py