Downloads · 30 days
25
1% of all-time downloads
OpenVoiceOS/stt_es_citrinet_512_onnx
stt_es_citrinet_512_onnx is a automatic speech recognition model from OpenVoiceOS. Use it when you need speech turned into text. It is set up for onnx-asr. The card lists the license as cc-by-4.0.
Spanish speech-to-text model. ONNX export of sttescitrinet512 — an NVIDIA NeMo Citrinet CTC model — for onnx-asr. Runs offline with ONNX Runtime; PyTorch and NeMo are not required.
Downloads · 30 days
25
1% of all-time downloads
All-time downloads
1.7K
Public
Repo size
334 MB
Likes
0
Public
Click a slice to open those files.
.onnx296 MB · 100%
From the Hugging Face model README
Spanish speech-to-text model. ONNX export of stt_es_citrinet_512 — an NVIDIA NeMo Citrinet CTC model — for onnx-asr. Runs offline with ONNX Runtime; PyTorch and NeMo are not required.
Part of the OpenVoiceOS STT/ASR ONNX collection.
| 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 |
There is no int8 variant: these architectures are convolution-dominated, and
dynamic quantization produces ConvInteger nodes that ONNX Runtime cannot
execute on CPU. int8 requires static QDQ quantization with calibration data.
With onnx-asr (pip install onnx-asr[cpu,hub]):
import onnx_asr
model = onnx_asr.load_model("OpenVoiceOS/stt_es_citrinet_512_onnx")
print(model.recognize("speech.wav")) # 16 kHz PCM wav
With OpenVoiceOS, through
ovos-stt-plugin-onnx-asr
(mycroft.conf):
{
"stt": {
"module": "ovos-stt-plugin-onnx-asr",
"ovos-stt-plugin-onnx-asr": {
"model": "OpenVoiceOS/stt_es_citrinet_512_onnx"
}
}
}
Exported from the original checkpoint with NeMo's model.export()
(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.
See the source model card for benchmark results, training corpora and known limitations. This repo changes the runtime, not the weights.