IndicConformer 600M for Voctalk (Telugu, Hindi)
A repackaged copy of AI4Bharat's IndicConformer-600M-Multi, so the Voctalk dictation app can run it on a laptop without PyTorch.
The weights are AI4Bharat's, unchanged and in full precision. Only the packaging differs:
| File | What it is |
|---|---|
encoder.onnx, encoder.onnx.data |
The Conformer encoder, with its weights in one file instead of about 300 |
ctc_decoder.onnx |
The CTC head, as released |
features.json |
The constants of the original TorchScript audio preprocessor: window, 80-band mel filterbank, pre-emphasis, log guard and normalisation epsilon |
tokens.json |
The Telugu and Hindi vocabularies, and which of the shared output columns belong to each |
Using it
- Features: 16 kHz mono audio, pre-emphasis 0.97, reflect padding of 256 samples on each side, then a 512-point STFT with a hop of 160 and the 400-sample window stored in
features.json(already centred in 512). Take the power spectrum, apply the filterbank andlog(x + log_guard). Normalise each band to zero mean and unit standard deviation over the frames that hold audio (len / 160 + 1of them), dividing the variance by n โ 1. - Encoder: feed the features as
audio_signal[1, 80, T] withlength[1]. - Decoding: feed
outputstoctc_decoder.onnxasencoder_output. Keep the language'scolumnsfrom the logits, take the best token per frame, drop repeats and the blank (index 256), and join the pieces, turningโinto spaces.
The model can't tell languages apart, so it has to be told which one is being spoken.
Licence and credit
IndicConformer is by AI4Bharat, IIT Madras, released under the MIT License. This copy is under the same licence:
MIT License
Copyright (c) AI4Bharat
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Model tree for Dineshoct/voctalk-indic-conformer
Base model
ai4bharat/indic-conformer-600m-multilingual