Skip to main content

shruti-onnx

Shruti: offline speech-to-text, one small model per language. Each model covers its language, English, and the two mixed. Models and full results: udgamlabs/Shruti-ONNX.

Languages: Assamese, Bengali, Bodo, Dogri, Gujarati, Hindi, Kannada, Kashmiri, Konkani, Maithili, Malayalam, Manipuri, Marathi, Nepali, Odia, Punjabi, Sanskrit, Santali, Sindhi, Tamil, Telugu, Urdu. Use the word or the code.

pip install shruti-onnx
from shruti_onnx import Shruti

asr = Shruti.load("urdu")                    # or "ur"; variant="int8" for low memory on ARM
print(asr.transcribe("clip.wav")["text"])    # language detected; language="en" to set English

Command line: shruti-onnx clip.wav --lang urdu. loops="cut" removes a repeat and what follows it.

Where it falls short

Nine of these languages (Dogri, Hindi, Kannada, Konkani, Odia, Punjabi, Sindhi, Tamil, Telugu) failed our written comparison against the original engine, and none met every rule. The model card names each miss and its size. On Linux x86, use the default 4-bit build: the int8 and sherpa-onnx builds were less accurate there on the machine we tested. A model can get stuck repeating a phrase; the text stays as the model wrote it unless you ask to cut it. The 4-bit build needs about 1 GB of memory once loaded in ONNX Runtime.

Apache-2.0. Built on Cactus Whistle.

About Udgam Labs. Udgam Labs is an independent AI research lab. udgamlabs.com

Metadata

Release files for shruti-onnx 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for shruti-onnx 0.2.0
File Size Uploaded Provenance Actions
shruti_onnx-0.2.0.tar.gz 12.8 kB Without provenance Details for shruti_onnx-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for shruti-onnx 0.2.0
File Interpreter ABI Platform Actions
shruti_onnx-0.2.0-py3-none-any.whl Python 3 none any Details for shruti_onnx-0.2.0-py3-none-any.whl

Total release size: 25.3 kB

Release files / shruti_onnx-0.2.0.tar.gz

Download URL shruti_onnx-0.2.0.tar.gz
Size 12.8 kB
Tags Source
SHA-256 checksum
How to use checksums
7f7584c36fe5dec5aca2f0738e8f2d75be6fa6e11b86c4c38d945ddd348c1001
BLAKE2b-256 checksum
How to use checksums
84ea1ba7717eeff6d16b61afa8afc3bb65bc47e5187fc9555c8a297c6fa1ff78
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

Release files / shruti_onnx-0.2.0-py3-none-any.whl

Download URL shruti_onnx-0.2.0-py3-none-any.whl
Size 12.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8793a78c61764652f4d496565fb25f45e2335966b26e63aaea95d63adb124439
BLAKE2b-256 checksum
How to use checksums
f79e2798de860412bf858b9e6844be4de41bf7a50c50e7030225a50424734cb5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

Security for shruti-onnx 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.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page