veeragoni's picture
Indic-Transcribe-core int8 ONNX export (Indic Open Model License v1.0) — built with Indic-Transcribe from Bodhan AI / AI4Bharat
b4c0fe8 verified
|
Raw History Blame Contribute Delete
2.7 kB
---
license: other
license_name: indic-open-model-license
license_link: LICENSE.md
base_model: bodhan-ai/indic-transcribe-core
pipeline_tag: automatic-speech-recognition
tags:
- onnx
- int8
- indic
- code-switching
- chatpanel
---
# Indic-Transcribe-core — int8 ONNX (for ChatPanel)
**Built with Indic-Transcribe from Bodhan AI / AI4Bharat.**
This is an int8 ONNX export of [bodhan-ai/indic-transcribe-core](https://huggingface.co/bodhan-ai/indic-transcribe-core)
(IITM Bodhan-AI Foundation), itself built on [nvidia/canary-1b-v2](https://huggingface.co/nvidia/canary-1b-v2)
(CC-BY-4.0). It is a **Derivative** under the Indic Open Model License v1.0 and is distributed under that
same licence, unaltered, in [LICENSE.md](LICENSE.md). Nothing here changes or adds to its terms.
It exists so that ChatPanel's local gateway can run the model on a person's own computer with
onnxruntime and no Python. Each person downloads their own copy; it is not hosted as a service.
## Files
| File | What |
|---|---|
| `encoder.onnx` + `.data` | FastConformer encoder: 128-band log-mel features `(1, 128, T)` → states `(1, T/8, 1024)` |
| `cross_kv.onnx` + `.data` | Cross-attention keys and values for all 24 decoder layers, once per segment |
| `decoder.onnx` + `.data` | One cached decoder step: token, position, self-attention cache, cross K/V → logits, new cache |
| `mel_fb_128x257.f32`, `window_400.f32` | The checkpoint's mel filterbank and window (NeMo front end: n_fft 512, hop 160) |
| `vocab.json` | Token pieces (7,152), language token ids, the 10-token prompt |
| `LICENSE.md` | Indic Open Model License v1.0 |
Weights quantized with onnxruntime dynamic int8 (MatMul/Gemm, per channel). Measured against the
original PyTorch model on 8 FLEURS dev clips each: Telugu 22.5 % and Hindi 4.4 % character error,
identical to the original's, 14 of 16 transcripts byte-identical, 0.05× realtime on four CPU threads.
## Use
Not a drop-in for transformers or NeMo. ChatPanel's gateway (`indic-engine.js`) computes the
features, runs the encoder once, names the language from one decoder step at the language slot
(`<|startofcontext|><|startoftranscript|><|emo:undefined|>` → the next token among the language
tokens), then decodes greedily with the 10-token prompt.
## Licence and attribution
Indic Open Model License v1.0 — free for research and commercial use, including self-hosted use
inside your own product; **giving third parties hosted or API access requires Bodhan AI's prior
written approval**; prohibited uses in Section 10. Products using it must show
"Built with Indic-Transcribe from Bodhan AI / AI4Bharat". The base model, NVIDIA canary-1b-v2, is
CC-BY-4.0.