Instructions to use pantinor/ovos-conformer-mirrors with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- NeMo
How to use pantinor/ovos-conformer-mirrors with NeMo:
import nemo.collections.asr as nemo_asr asr_model = nemo_asr.models.ASRModel.from_pretrained("pantinor/ovos-conformer-mirrors") transcriptions = asr_model.transcribe(["file.wav"]) - Notebooks
- Google Colab
- Kaggle
OpenVoiceOS NVIDIA conformer-transducer mirrors (sherpa-onnx compatible)
Mirrors of the OpenVoiceOS int8 ONNX exports of the NVIDIA NeMo conformer-transducer-large ASR models, re-packaged so that sherpa-onnx (v1.13.x) can load them.
Why a mirror
The upstream exports (e.g. OpenVoiceOS/nvidia-it-conformer-transducer-large-onnx) cannot be loaded by sherpa-onnx:
- The encoder carries no k2-fsa metadata, so sherpa exits with
No model_type in the metadata!(exit 255). - The prediction and joint networks ship as a single combined
decoder_joint-model.int8.onnxgraph, while sherpa'snemo_transducerloader requires separatedecoderandjoinersessions.
What was changed
Per language directory (it/, ru/, de/, es/, en/, fr/):
encoder-model.int8.onnx: byte-identical weights to upstream, with the followingmetadata_propsinjected (values from the upstreamconfig.jsonand the exported graphs):model_type: nemo_transducervocab_size(upstream vocab size excluding<blk>; sherpa adds 1)subsampling_factor: 4(from upstream config.json)normalize_type: per_featurepred_rnn_layers: 1,pred_hidden: 640feat_dim: 80- plus
version,model_author,commentprovenance keys
decoder-model.onnxandjoiner-model.onnx: the upstreamdecoder_joint-model.int8.onnxgraph split into two sub-graphs at the internal prediction-network output tensor (exact computation, no weights changed), matching sherpa's decoder/joiner session interface.vocab.txt: unchanged from upstream.
Usage
import sherpa_onnx
recognizer = sherpa_onnx.OfflineRecognizer.from_transducer(
encoder="it/encoder-model.int8.onnx",
decoder="it/decoder-model.onnx",
joiner="it/joiner-model.onnx",
tokens="it/vocab.txt",
num_threads=2,
decoding_method="greedy_search",
model_type="nemo_transducer",
)
Each language was verified by loading with sherpa-onnx 1.13.4 and transcribing a natural-speech sample (correct transcripts on it, ru, de, es, en, fr).
Provenance and license
Source models: NVIDIA NeMo conformer-transducer-large (Apache-2.0), ONNX
exports by OpenVoiceOS. Original weights are unchanged; only ONNX graph
container metadata and graph splitting were applied. Upstream repos:
OpenVoiceOS/nvidia-{it,ru,de,es,en,fr}-conformer-transducer-large-onnx.
- Downloads last month
- -