A LITEASR-compressed encoder for
Shenava Koochik v1.0. Post-training low-rank factorization reduces the encoder from 108.9M to 85.4M parameters (21.6%) without retraining.
1from huggingface_hub import hf_hub_download, snapshot_download
2from load_koochik_lite import load_koochik_lite
3
4base = hf_hub_download(
5 "Reza2kn/Shenava-Koochik-v1.0",
6 "shenava-koochik-v1.0.nemo",
7)
8repo = snapshot_download("Reza2kn/Shenava-Koochik-Lite-v1.0")
9model = load_koochik_lite(
10 base,
11 f"{repo}/koochik_lite099_enc.pt",
12 f"{repo}/koochik_lite099_kmap.json",
13)
14print(model.transcribe(["speech.wav"])[0].text)
The release evaluated both greedy decoding and an optional Vosk-guided hotword beam. Lower is better.
Compression alone reduces quality; the Vosk-guided result requires a separate Vosk first pass plus hotword-aware pyctcdecode beam search. Do not compare the guided row to a greedy-only deployment as though they used the same runtime.
این مخزن یک مدل کامل و مستقل نیست؛ فقط encoder فشردهشده را نگه میدارد و برای اجرا به فایل NeMo مدل اصلی نیاز دارد. نسخهٔ greedy سبکتر است ولی افت دقت دارد؛ ردیف Vosk-guided به یک مرحلهٔ جداگانهٔ Vosk و beam search نیاز دارد.
Apache-2.0. Compression method:
LITEASR.