Instructions to use OpenVoiceOS/stt_fr_fastconformer_hybrid_large_pc_onnx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- NeMo
How to use OpenVoiceOS/stt_fr_fastconformer_hybrid_large_pc_onnx with NeMo:
import nemo.collections.asr as nemo_asr asr_model = nemo_asr.models.ASRModel.from_pretrained("OpenVoiceOS/stt_fr_fastconformer_hybrid_large_pc_onnx") transcriptions = asr_model.transcribe(["file.wav"]) - Notebooks
- Google Colab
- Kaggle
stt_fr_fastconformer_hybrid_large_pc_onnx
French speech-to-text model. ONNX export of nvidia/stt_fr_fastconformer_hybrid_large_pc โ an NVIDIA NeMo FastConformer-Hybrid CTC model โ for onnx-asr. Runs offline with ONNX Runtime; PyTorch and NeMo are not required.
Part of the OpenVoiceOS STT/ASR ONNX collection.
Files
| 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.
Usage
With onnx-asr (pip install onnx-asr[cpu,hub]):
import onnx_asr
model = onnx_asr.load_model("OpenVoiceOS/stt_fr_fastconformer_hybrid_large_pc_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_fr_fastconformer_hybrid_large_pc_onnx"
}
}
}
Export and verification
Exported from the original checkpoint with NeMo's 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.
Accuracy, training data and limitations
See the source model card for benchmark results, training corpora and known limitations. This repo changes the runtime, not the weights.
Related projects
- onnx-asr โ ASR inference with ONNX Runtime
- ovos-stt-plugin-onnx-asr โ OpenVoiceOS STT plugin
- NVIDIA NeMo โ framework the source model was trained with
- Downloads last month
- 364
Model tree for OpenVoiceOS/stt_fr_fastconformer_hybrid_large_pc_onnx
Base model
nvidia/stt_fr_fastconformer_hybrid_large_pc