Downloads · 30 days
0
mpuig/stt_ca_conformer_ctc_large_onnx
stt_ca_conformer_ctc_large_onnx is a automatic speech recognition model from mpuig. Use it when you need speech turned into text. It is set up for sherpa-onnx. The card lists the license as cc-by-4.0.
This is an ONNX export of nvidia/sttcaconformerctclarge for use with sherpa-onnx and other ONNX runtimes.
Downloads · 30 days
0
Access
Public
Updated Dec 25, 2025
Repo size
1.5 GB
Likes
0
Public
Click a slice to open those files.
.onnx507 MB · 100%
From the Hugging Face model README
This is an ONNX export of nvidia/stt_ca_conformer_ctc_large for use with sherpa-onnx and other ONNX runtimes.
The original model transcribes speech into lowercase Catalan alphabet including spaces, dashes and apostrophes, and was trained on around 1023 hours of Catalan speech data from Mozilla Common Voice 9.0.
| File | Description | Size |
|---|---|---|
model.onnx | ONNX model (Conformer encoder + CTC decoder) | ~507 MB |
tokens.txt | BPE vocabulary (128 tokens + blank) | 933 bytes |
import sherpa_onnx
import soundfile as sf
recognizer = sherpa_onnx.OfflineRecognizer.from_nemo_ctc(
model="model.onnx",
tokens="tokens.txt",
num_threads=4,
)
audio, sample_rate = sf.read("audio.wav")
stream = recognizer.create_stream()
stream.accept_waveform(sample_rate, audio)
recognizer.decode_stream(stream)
print(stream.result.text)
See sherpa-onnx documentation for bindings in C++, C, Rust, Go, Swift, Kotlin, and more.
This model is natively supported by Gibberish - a local, real-time speech-to-text application. Simply select "Conformer CTC (Catalan)" from the model list.
This model was exported using the following script:
import nemo.collections.asr as nemo_asr
from huggingface_hub import hf_hub_download
# Download original NeMo model
nemo_path = hf_hub_download(
repo_id="nvidia/stt_ca_conformer_ctc_large",
filename="stt_ca_conformer_ctc_large.nemo"
)
# Load and export
m = nemo_asr.models.EncDecCTCModel.restore_from(nemo_path)
m.eval()
# Export tokens (BPE vocabulary)
vocab_size = m.tokenizer.vocab_size
with open("tokens.txt", "w", encoding="utf-8") as f:
for i in range(vocab_size):
token = m.tokenizer.ids_to_tokens([i])[0]
f.write(f"{token} {i}\n")
f.write(f"<blk> {vocab_size}\n")
# Export ONNX model
m.export("model.onnx")
nemo_toolkit[asr]torch<2.6 (for ONNX export compatibility)onnxhuggingface_hubConformer-CTC is a non-autoregressive variant of the Conformer model [1] for Automatic Speech Recognition which uses CTC loss/decoding. The architecture combines:
See the NeMo documentation for complete architecture details.
' - a b c d e f g h i j k l m n o p q r s t u v w x y z · à á ç è é í ï ñ ò ó ú ü ı – —| Tokenizer | Vocabulary Size | Dev WER | Test WER | Dataset |
|---|---|---|---|---|
| SentencePiece Unigram | 128 | 4.70% | 4.27% | MCV-9.0 |
This model is released under CC-BY-4.0, following the original NVIDIA model license.