Views
No views yet
| File | Purpose |
|---|---|
model.onnx | Encoder + CTC head, fp32 |
vocab.txt | Token vocabulary (<token> <id> per line, ▁ = space, <blk> = CTC blank) |
config.json | onnx-asr metadata: model_type: nemo-conformer-ctc, features_size: 80, subsampling_factor: 8 |
ConvInteger nodes that ONNX Runtime cannot
execute on CPU. int8 requires static QDQ quantization with calibration data.pip install onnx-asr[cpu,hub]):1import onnx_asr
2
3model = onnx_asr.load_model("OpenVoiceOS/stt_uz_fastconformer_hybrid_large_pc_onnx")
4print(model.recognize("speech.wav")) # 16 kHz PCM wav1{
2 "stt": {
3 "module": "ovos-stt-plugin-onnx-asr",
4 "ovos-stt-plugin-onnx-asr": {
5 "model": "OpenVoiceOS/stt_uz_fastconformer_hybrid_large_pc_onnx"
6 }
7 }
8}model.export()
(CTC decoder head of the hybrid model; see the conversion guide).
The subsampling_factor was measured empirically on the exported graph, and
the export was verified differentially: the ONNX model and the original NeMo
checkpoint produce identical transcriptions on a reference clip.