Automatic Speech Recognition
NeMo
GGUF
Romanian
surogate
surogate-speech
jackrabbit
fastconformer
romanian
Eval Results (legacy)
Instructions to use surogate/jackrabbit-110m-ro with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- NeMo
How to use surogate/jackrabbit-110m-ro with NeMo:
import nemo.collections.asr as nemo_asr asr_model = nemo_asr.models.ASRModel.from_pretrained("surogate/jackrabbit-110m-ro") transcriptions = asr_model.transcribe(["file.wav"]) - Notebooks
- Google Colab
- Kaggle
Model card
Browse files- .gitattributes +1 -0
- README.md +159 -0
- jackrabbit-hf-card.png +3 -0
.gitattributes
CHANGED
|
@@ -38,3 +38,4 @@ lm-4gram-ro.arpa filter=lfs diff=lfs merge=lfs -text
|
|
| 38 |
lm-4gram-ro.nemo filter=lfs diff=lfs merge=lfs -text
|
| 39 |
gguf/jackrabbit-110m-ro.f16.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
gguf/jackrabbit-110m-ro.q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 38 |
lm-4gram-ro.nemo filter=lfs diff=lfs merge=lfs -text
|
| 39 |
gguf/jackrabbit-110m-ro.f16.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
gguf/jackrabbit-110m-ro.q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
jackrabbit-hf-card.png filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,159 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-nc-4.0
|
| 3 |
+
language:
|
| 4 |
+
- ro
|
| 5 |
+
library_name: nemo
|
| 6 |
+
pipeline_tag: automatic-speech-recognition
|
| 7 |
+
base_model: nvidia/parakeet-tdt_ctc-110m
|
| 8 |
+
tags:
|
| 9 |
+
- surogate
|
| 10 |
+
- surogate-speech
|
| 11 |
+
- jackrabbit
|
| 12 |
+
- fastconformer
|
| 13 |
+
- romanian
|
| 14 |
+
model-index:
|
| 15 |
+
- name: jackrabbit-110m-ro
|
| 16 |
+
results:
|
| 17 |
+
- task: {type: automatic-speech-recognition}
|
| 18 |
+
dataset: {name: FLEURS ro_ro test (Open ASR Leaderboard protocol), type: google/fleurs, config: ro_ro, split: test}
|
| 19 |
+
metrics:
|
| 20 |
+
- {type: wer, value: 5.69, name: WER (CTC + 4-gram)}
|
| 21 |
+
- {type: wer, value: 7.56, name: WER (TDT greedy)}
|
| 22 |
+
- task: {type: automatic-speech-recognition}
|
| 23 |
+
dataset: {name: Common Voice 21 ro test (SpeD clip list), type: common_voice, config: ro, split: test}
|
| 24 |
+
metrics:
|
| 25 |
+
- {type: wer, value: 2.07, name: WER (CTC + 4-gram)}
|
| 26 |
+
- {type: wer, value: 2.19, name: WER (TDT greedy)}
|
| 27 |
+
---
|
| 28 |
+
|
| 29 |
+
<p align="center">
|
| 30 |
+
<img src="./jackrabbit-hf-card.png" width="800px"/>
|
| 31 |
+
</p>
|
| 32 |
+
|
| 33 |
+
<p align="center">
|
| 34 |
+
<a href="https://huggingface.co/collections/surogate/surogate-speech" target="_blank">Surogate Speech</a> |
|
| 35 |
+
<a href="https://github.com/invergent-ai/surogate" target="_blank">Training and Serving Engine</a> |
|
| 36 |
+
<a href="https://github.com/invergent-ai/surogate-speech" target="_blank">Toolkit and Evals</a> |
|
| 37 |
+
<br>
|
| 38 |
+
<b>License</b>: CC-BY-NC-4.0 | <b>Authors</b>: <a href="https://invergent.ai" target="_blank">Invergent</a>
|
| 39 |
+
</p>
|
| 40 |
+
|
| 41 |
+
# Jackrabbit 110M (Romanian)
|
| 42 |
+
|
| 43 |
+
**Jackrabbit is Surogate's speech recognition family. This is the offline Romanian model:** a 116M-parameter
|
| 44 |
+
FastConformer with two decoders on one encoder, TDT and CTC, that writes cased, punctuated Romanian and
|
| 45 |
+
runs comfortably on a CPU. For live audio use its sibling,
|
| 46 |
+
[Jackrabbit 110M Streaming](https://huggingface.co/surogate/jackrabbit-110m-ro-streaming).
|
| 47 |
+
|
| 48 |
+
It is served fastest by the [**surogate** engine](https://github.com/invergent-ai/surogate), which runs the
|
| 49 |
+
encoder and both decoders natively, with no Python in the serving path. Every number on this page was
|
| 50 |
+
measured, and the harnesses are named, so you can reproduce them.
|
| 51 |
+
|
| 52 |
+
## Accuracy
|
| 53 |
+
|
| 54 |
+
Word error rate in %, lower is better. Every model ran through the same code on one RTX 5090 (bf16);
|
| 55 |
+
other rows are our own runs of the public checkpoints, not their authors' figures.
|
| 56 |
+
|
| 57 |
+
**FLEURS Romanian test** (883 clips), with the Open ASR Leaderboard's own runner
|
| 58 |
+
(`nemo_asr/run_eval_ml.py`, commit `b2e6f04`) and its multilingual normalizer:
|
| 59 |
+
|
| 60 |
+
| Model | Params | WER | Speed |
|
| 61 |
+
|---|---:|---:|---:|
|
| 62 |
+
| **Surogate Jackrabbit 110M**, CTC + 4-gram | 116M | **5.69** | 2,531× real time |
|
| 63 |
+
| NVIDIA Canary 1B v2 | 1B | 5.95 | 853× |
|
| 64 |
+
| **Surogate Jackrabbit 110M**, TDT greedy | 116M | 7.56 | 2,774× |
|
| 65 |
+
| OpenAI Whisper large-v3 | 1.55B | 8.42 | 102× |
|
| 66 |
+
| SpeD 110M | 110M | 8.60 | 2,810× |
|
| 67 |
+
| NVIDIA Parakeet TDT 0.6B v3 | 0.6B | 11.58 | 2,246× |
|
| 68 |
+
|
| 69 |
+
The CTC + 4-gram row switches the decoder with a seven-line change to the runner, published with the results.
|
| 70 |
+
|
| 71 |
+
**Common Voice 21 Romanian test** (3,929 clips, the clip list from the
|
| 72 |
+
[SpeD paper](https://arxiv.org/abs/2511.03361)), with the leaderboard normalizer and with SpeD's:
|
| 73 |
+
|
| 74 |
+
| Model | WER, leaderboard norm | WER, SpeD norm |
|
| 75 |
+
|---|---:|---:|
|
| 76 |
+
| **Surogate Jackrabbit 110M**, CTC + 4-gram | **2.07** | 2.19 |
|
| 77 |
+
| **Surogate Jackrabbit 110M**, TDT greedy | 2.19 | 2.30 |
|
| 78 |
+
| SpeD 110M | 3.47 | 3.58 |
|
| 79 |
+
| NVIDIA Canary 1B v2 | 8.65 | 8.87 |
|
| 80 |
+
| OpenAI Whisper large-v3 | 8.94 | 9.16 |
|
| 81 |
+
| NVIDIA Parakeet TDT 0.6B v3 | 10.06 | 10.19 |
|
| 82 |
+
|
| 83 |
+
Our run of SpeD reproduces its published 3.57% on this set. Transcripts for every clip and model are in
|
| 84 |
+
[surogate-speech-evals](https://huggingface.co/datasets/surogate/surogate-speech-evals).
|
| 85 |
+
|
| 86 |
+
## Runs on
|
| 87 |
+
|
| 88 |
+
| Runtime | Where | Decoding |
|
| 89 |
+
|---|---|---|
|
| 90 |
+
| [surogate engine](https://github.com/invergent-ai/surogate) | Linux, CPU or NVIDIA GPU | TDT, CTC, CTC + 4-gram |
|
| 91 |
+
| NeMo (`jackrabbit-110m-ro.nemo`) | Linux or macOS; CPU or GPU | TDT, CTC, CTC + 4-gram |
|
| 92 |
+
| NeMo-Speech.cpp (`gguf/`) | Linux CPU, no PyTorch | TDT (7.99% on FLEURS under the same scoring as the NeMo file's 8.15%) |
|
| 93 |
+
|
| 94 |
+
|
| 95 |
+
## Running it
|
| 96 |
+
|
| 97 |
+
### With surogate (recommended)
|
| 98 |
+
|
| 99 |
+
```bash
|
| 100 |
+
docker pull ghcr.io/invergent-ai/surogate:<ENGINE_VERSION>
|
| 101 |
+
docker run --gpus all -p 8000:8000 ghcr.io/invergent-ai/surogate:<ENGINE_VERSION> \
|
| 102 |
+
serve --stt surogate/jackrabbit-110m-ro --host 0.0.0.0 --port 8000
|
| 103 |
+
|
| 104 |
+
curl http://localhost:8000/v1/audio/transcriptions -F file=@interviu.wav -F model=surogate/jackrabbit-110m-ro
|
| 105 |
+
```
|
| 106 |
+
|
| 107 |
+
The API is OpenAI-compatible. Drop `--gpus all` to run on CPU. Server options are in the
|
| 108 |
+
[engine's speech docs](https://github.com/invergent-ai/surogate/blob/main/docs/inference/speech.md).
|
| 109 |
+
|
| 110 |
+
### With surogate-speech (local, CPU is fine)
|
| 111 |
+
|
| 112 |
+
```bash
|
| 113 |
+
pip install "surogate-speech[asr] @ git+https://github.com/invergent-ai/surogate-speech"
|
| 114 |
+
surogate-speech transcribe interviu.wav
|
| 115 |
+
```
|
| 116 |
+
|
| 117 |
+
### With NeMo
|
| 118 |
+
|
| 119 |
+
```python
|
| 120 |
+
from huggingface_hub import hf_hub_download
|
| 121 |
+
from nemo.collections.asr.models import ASRModel
|
| 122 |
+
from omegaconf import OmegaConf
|
| 123 |
+
|
| 124 |
+
model = ASRModel.restore_from(hf_hub_download("surogate/jackrabbit-110m-ro", "jackrabbit-110m-ro.nemo"))
|
| 125 |
+
model.change_decoding_strategy(decoder_type="rnnt") # TDT greedy
|
| 126 |
+
print(model.transcribe(["audio.wav"])[0].text)
|
| 127 |
+
|
| 128 |
+
lm = hf_hub_download("surogate/jackrabbit-110m-ro", "lm-4gram-ro.nemo") # loads in seconds
|
| 129 |
+
model.change_decoding_strategy(OmegaConf.create({ # CTC + 4-gram, the best accuracy
|
| 130 |
+
"strategy": "beam_batch",
|
| 131 |
+
"beam": {"beam_size": 32, "ngram_lm_model": lm, "ngram_lm_alpha": 0.5, "beam_beta": 2.0,
|
| 132 |
+
"return_best_hypothesis": True, "allow_cuda_graphs": False},
|
| 133 |
+
}), decoder_type="ctc")
|
| 134 |
+
print(model.transcribe(["audio.wav"])[0].text)
|
| 135 |
+
```
|
| 136 |
+
|
| 137 |
+
## Files
|
| 138 |
+
|
| 139 |
+
| file | size | what it is |
|
| 140 |
+
|---|---|---|
|
| 141 |
+
| `jackrabbit-110m-ro.nemo` | 466 MB | the model: FastConformer encoder (17 layers, width 512, 80 ms frames), TDT and CTC decoders, 2,048-piece SentencePiece vocabulary with case and punctuation |
|
| 142 |
+
| `lm-4gram-ro.nemo` | 2.07 GB | the 4-gram language model for CTC beam search, in NeMo's fast-loading format |
|
| 143 |
+
| `lm-4gram-ro.arpa` | 2.28 GB | the same language model as standard ARPA, for other decoders |
|
| 144 |
+
| `gguf/` | 257 MB (F16), 150 MB (Q8_0) | the model for [NeMo-Speech.cpp](https://github.com/NVIDIA/NeMo-Speech.cpp), TDT decoder |
|
| 145 |
+
|
| 146 |
+
The language model is built over the model's own 2,048 SentencePiece pieces, so it cannot be paired with
|
| 147 |
+
another tokenizer. Input is 16 kHz mono; the engine and surogate-speech resample other formats.
|
| 148 |
+
|
| 149 |
+
## Limitations
|
| 150 |
+
|
| 151 |
+
Romanian only. Accuracy was measured on read and parliamentary speech; telephone audio, heavy noise,
|
| 152 |
+
overlapping speakers and strong regional accents are not measured here. Numbers, acronyms and rare proper
|
| 153 |
+
names cause a large share of the remaining errors. The model transcribes; it does not identify speakers.
|
| 154 |
+
|
| 155 |
+
## License
|
| 156 |
+
|
| 157 |
+
CC-BY-NC-4.0: free for research and other non-commercial use; for commercial use, contact
|
| 158 |
+
[Invergent](https://invergent.ai). Fine-tuned from
|
| 159 |
+
[nvidia/parakeet-tdt_ctc-110m](https://huggingface.co/nvidia/parakeet-tdt_ctc-110m) by NVIDIA (CC-BY-4.0).
|
jackrabbit-hf-card.png
ADDED
|
Git LFS Details
|