Spaces:
Running
Running
|
Download README.md from Reza2kn/Shenava-Rizeh-Live: direct link, hf CLI and curl.
- Browser
- Download file 1.42 kB
-
https://huggingface.co/spaces/Reza2kn/Shenava-Rizeh-Live/resolve/main/README.md
- Command line
-
hf download hf://spaces/Reza2kn/Shenava-Rizeh-Live/README.md
-
curl -L -o README.md https://huggingface.co/spaces/Reza2kn/Shenava-Rizeh-Live/resolve/main/README.md
1.42 kB
| title: Shenava Rizeh v1.5 Live | |
| emoji: 🎙️ | |
| colorFrom: indigo | |
| colorTo: blue | |
| sdk: static | |
| pinned: false | |
| license: gpl-3.0 | |
| short_description: Live Persian speech recognition in the browser (WebGPU/WASM) | |
| models: | |
| - Reza2kn/Shenava-Rizeh-v1.5 | |
| - Reza2kn/Shenava-Rizeh-v1.5-sherpa-onnx | |
| # شنوا ریزه ۱.۵ · live, in your browser | |
| Streaming Persian ASR with **Shenava Rizeh v1.5** (60M-param Zipformer2 RNN-T, int4), running fully client-side with onnxruntime-web (WebGPU when available, WASM otherwise). Nothing is uploaded; the ~120 MB of models is cached after the first visit. | |
| **Two passes:** | |
| 1. **Live:** a cache-aware streaming encoder processes 320 ms chunks with greedy RNN-T, so words appear about as fast as they are spoken (shown in blue). | |
| 2. **Correction:** when you pause, the phrase is re-decoded with the full-context encoder plus beam search, with in-beam shallow fusion of a word 3-gram LM (Persian Wikipedia / RaahNaameh text, 120k-word vocab, 24 MB). Changed words flash gold. During continuous speech, interim corrections run about once a second. | |
| Files: `asr.js` (engine), `fbank.js` (exact kaldi-fbank port), `lm.js` (compact trigram), `worker.js`, `app.js`. | |
| Held-out half of the PersianASR Triple-Threat benchmark (2,758 clips, official TT, lower is better), measured with this exact JS engine in Node: live greedy pass 5.66 · correction pass without LM 4.31 · **with LM 4.19**. | |