stt-bench
cli utility for benchmarking transcription models on Indic Datasets. Currently supported models:
ai4bharat/indic-conformer-600m-multilingual, kalpalabs/Menka, gpt-4o-transcribe, deepgram-nova-3
Currently supported datasets:
IndicVoices, Lahaja, Svarah, Fleurs
Usage:
- Environment variables: Following environment variables need to be set based on the model on which inference is to be performed:
HF_TOKEN, OPENAI_API_KEY, MENKA_BASE_URL, DEEPGRAM_API_KEY, SARVAM_API_KEY, GEMINI_API_KEY
- Run inference of a model on multiple datasets -
stt-bench run --model gpt-4o-transcribe
This command dumps model inference results into inference/{model}/{dataset} directory for each dataset that the inference is run on. Results are stored in csv named *predictions.csv. By default the code will run inference on all supported datasets. To run inference on only selected datasets, use it as:
stt-bench run --model gpt-4o-transcribe --eval-datasets Fleurs
- Evaluate WER and CER metrics from the results directory:
stt-bench evaluate --dir inference/{model}
This will create a evaluation_metrics.csv within metrics/{model}/{dataset} that contains wer, cer metrics over all splits of the particular dataset, and the final row contains metrics over the entire dataset.
Requirements
In addition to pyproject.toml, some datasets (like Lahaja and Svarah) also need ffmpeg backend to process audios. Install ffmpeg >= 6.
Metadata
Release files for stt-bench 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| stt_bench-0.2.0.tar.gz | 10.4 kB | Without provenance | Details for stt_bench-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| stt_bench-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for stt_bench-0.2.0-py3-none-any.whl |
Total release size: 20.5 kB
Release files / stt_bench-0.2.0.tar.gz
| Download URL | stt_bench-0.2.0.tar.gz |
|---|---|
| Size | 10.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a6ca116f268aca04df2aef8fb78899850abbd00f13486881ca8e839b573d71e4
|
|
BLAKE2b-256 checksum How to use checksums |
edfbc4f590f7f18776657e825343f1605d1d64c0f5efbae51ac63ba671612dd4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.22
|
Release files / stt_bench-0.2.0-py3-none-any.whl
| Download URL | stt_bench-0.2.0-py3-none-any.whl |
|---|---|
| Size | 10.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9a751f9c3f3f2e8f30d1ffd0757653884985e6201e563bb8aaf4a91fb4614104
|
|
BLAKE2b-256 checksum How to use checksums |
3b7fea560910a455266b8596e4e323d07108a40651ace39e40e40600f9b15e65
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.22
|
Security for stt-bench 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.