Indic ASR Quantized
A helper package to use Quantized Indic ASR (Automatic Speech Recognition) for multiple Indic languages.
The original model was developed by AI4Bharat and can be found here
Installation
GPU Installation
pip install uv
uv pip install indic-asr-onnx
# Specify --extra-index-url if needed
CPU-only Installation (Recommended for limited resources)
pip install uv
uv pip install indic-asr-onnx --extra-index-url https://download.pytorch.org/whl/cpu
Quick Start
from indic_asr_onnx import IndicTranscriber
# Initialize (downloads model automatically)
transcriber = IndicTranscriber()
# Transcribe audio using CTC head
text = transcriber.transcribe_ctc("audio.wav", "hi") # Hindi
print(text)
# Transcribe audio using RNN-T head
text = transcriber.transcribe_rnnt("audio.wav", "hi") # Hindi
print(text)
Supported Languages
- Assamese (as)
- Bengali (bn)
- Bodo (brx)
- Dogri (doi)
- Gujarati (gu)
- Hindi (hi)
- Kannada (kn)
- Kashmiri (ks)
- Konkani (kok)
- Maithili (mai)
- Malayalam (ml)
- Manipuri (mni)
- Marathi (mr)
- Nepali (ne)
- Odia (or)
- Punjabi (pa)
- Sanskrit (sa)
- Santali (sat)
- Sindhi (sd)
- Tamil (ta)
- Telugu (te)
- Urdu (ur)
Features
- Quantized Models: INT8 quantization for efficient CPU inference
- Multiple Languages: Support for 22 Indic languages
- Two Modes: CTC and RNN-T decoding
- Auto Download: Models download automatically on first use
- ONNX Runtime: Optimized inference with ONNX
Audio Requirements
- Format: WAV, MP3, FLAC, etc.
- Sample Rate: Auto-resampled to 16kHz
- Channels: Mono (auto-converted)
Metadata
Release files for indic-asr-onnx 0.2.1
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 |
|---|---|---|---|---|
| indic_asr_onnx-0.2.1.tar.gz | 4.9 kB | Without provenance | Details for indic_asr_onnx-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| indic_asr_onnx-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for indic_asr_onnx-0.2.1-py3-none-any.whl |
Total release size: 10.9 kB
Release files / indic_asr_onnx-0.2.1.tar.gz
| Download URL | indic_asr_onnx-0.2.1.tar.gz |
|---|---|
| Size | 4.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
764efebd228345e47b1e6dc8615038dbd41cb383fed7df432719b1e014d86e92
|
|
BLAKE2b-256 checksum How to use checksums |
39536f7539d1a37f829128876d02b6a120921d3ff21a38134ad40b53d94d2265
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.15 {"installer":{"name":"uv","version":"0.9.15","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Fedora Linux","version":"43","id":"","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / indic_asr_onnx-0.2.1-py3-none-any.whl
| Download URL | indic_asr_onnx-0.2.1-py3-none-any.whl |
|---|---|
| Size | 6.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e9ddb1300ba7271995082b9b6c495382800294f1b1be616b8a0df4a5bcabcd58
|
|
BLAKE2b-256 checksum How to use checksums |
9a2a83b48e3c9cab328d5bfb6ecbdc2802c4f027c89fd93bef4152a5b4a75606
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.15 {"installer":{"name":"uv","version":"0.9.15","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Fedora Linux","version":"43","id":"","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for indic-asr-onnx 0.2.1
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.