File size: 2,695 Bytes
b4c0fe8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
---
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.