--- language: - hy license: cc-by-4.0 library_name: nemo pipeline_tag: automatic-speech-recognition base_model: davitlive5/Lapillus-v1 tags: - automatic-speech-recognition - armenian - fastconformer - nemo - telephony model-index: - name: Lapillus-v3 results: - task: type: automatic-speech-recognition name: Automatic Speech Recognition dataset: name: ArmBench-ASR Common Voice test type: armbench-asr metrics: - type: wer value: 3.78 name: WER (normalised, our evaluation, beam 8 + LM + NLM) - task: type: automatic-speech-recognition name: Automatic Speech Recognition dataset: name: ArmBench-ASR FLEURS test type: armbench-asr metrics: - type: wer value: 4.40 name: WER (normalised, our evaluation, beam 8 + LM + NLM) --- # Lapillus-v3 Lapillus-v3 is an Armenian speech recognition model created by **Davit Ghazaryan**, tuned for **call-center and telephone audio**. It is the most accurate Lapillus model so far on both clean and telephone speech. It is a FastConformer hybrid RNN-T + CTC model (115M parameters), continued from [`davitlive5/Lapillus-v1`](https://huggingface.co/davitlive5/Lapillus-v1). It outputs text with punctuation and capitalisation. The repository also contains the decoding add-ons used for the results below: an 8-gram Armenian language model and a small neural language model for n-best rescoring. | File | What it is | |---|---| | `Lapillus-v3.nemo` | Acoustic model (NeMo) | | `lm/hy_tok8v2_lm.nemo` | Token-level 8-gram KenLM for beam search | | `nlm/hy_nlm86m.pt` + `nlm/nlm.py` | 86M-parameter token-level Transformer LM for n-best rescoring | ## Results Normalised WER (%), lower is better, our evaluation. "Phone" sets are test audio passed through a fixed call-center simulation (noise, babble, room reverb, 300–3400 Hz band, 8 kHz, G.711 codec, packet loss). "Call-centre" sets are Armenian call-centre style test recordings. All rows use the same decoder: beam 8 + 8-gram LM + CTC score + neural LM rescoring. | Test set | Previous internal model | **Lapillus-v3** | |---|---|---| | ArmBench Common Voice test | 3.76 | **3.78** | | ArmBench FLEURS test | 4.94 | **4.40** | | Phone Common Voice (G.711) | 8.66 | **8.23** | | Phone FLEURS (G.711) | 7.10 | **6.93** | | Call-centre clean | 6.31 | **5.63** | | Call-centre phone | 8.10 | **7.50** | Across the ten gate test sets the average change against the previous internal model is −0.54 WER points (95% interval −0.66 to −0.43). For comparison, Lapillus-v2 scored 4.48 / 5.73 on the two ArmBench sets with its own decoder. ## Usage ```python # pip install "nemo_toolkit[asr]" import nemo.collections.asr as nemo_asr model = nemo_asr.models.ASRModel.from_pretrained("davitlive5/Lapillus-v3") print(model.transcribe(["audio.wav"])[0].text) # 16 kHz mono (8 kHz phone audio: resample to 16 kHz) ``` ### Beam search + language model ```python from huggingface_hub import hf_hub_download from omegaconf import open_dict lm = hf_hub_download("davitlive5/Lapillus-v3", "lm/hy_tok8v2_lm.nemo") cfg = model.cfg.decoding with open_dict(cfg): cfg.strategy = "malsd_batch" cfg.beam.beam_size = 8 cfg.beam.return_best_hypothesis = False # keep the n-best list for rescoring cfg.beam.ngram_lm_model = lm cfg.beam.ngram_lm_alpha = 0.3 model.change_decoding_strategy(cfg, decoder_type="rnnt") ``` ### Neural LM rescoring (best accuracy) `nlm/nlm.py` defines the neural LM; `load_nlm(path).score(list_of_token_id_lists)` returns summed log-probabilities over the model's own tokenizer ids. For each n-best hypothesis we add the beam score, the CTC score (weight 0.8), the neural LM score (weight 1.2) and a length bonus (weight 4), and keep the hypothesis with the highest total. Split audio longer than about 30 seconds into shorter segments before transcribing. ## Training Fine-tuned from Lapillus-v1 on private data. The language models were also trained on private data. ## Limitations - Eastern Armenian only. Expect more errors on Western Armenian. - Accuracy drops on film dialogue, heavy overlapping speech, rare names and specialised terms. Numbers are written out as words. ## License CC-BY-4.0, derived from [`davitlive5/Lapillus-v1`](https://huggingface.co/davitlive5/Lapillus-v1) and NVIDIA's `stt_hy_fastconformer_hybrid_large_pc` (CC-BY-4.0). ## Citation ```bibtex @misc{ghazaryan2026lapillusv3, title = {Lapillus-v3: Armenian Speech Recognition for Call Centers}, author = {Ghazaryan, Davit}, year = {2026}, url = {https://huggingface.co/davitlive5/Lapillus-v3} } ```