Automatic Speech Recognition
NeMo
Persian
speech
persian
farsi
fastconformer
ctc
streaming
on-device
shenava
shenava-1
visualears
rnnt
distillation
Instructions to use Reza2kn/Shenava-Rizeh-v1.0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- NeMo
How to use Reza2kn/Shenava-Rizeh-v1.0 with NeMo:
import nemo.collections.asr as nemo_asr asr_model = nemo_asr.models.ASRModel.from_pretrained("Reza2kn/Shenava-Rizeh-v1.0") transcriptions = asr_model.transcribe(["file.wav"]) - Notebooks
- Google Colab
- Kaggle
card: Shenava-1 v1.0 family
Browse files
README.md
CHANGED
|
@@ -5,7 +5,7 @@ license: cc-by-nc-4.0
|
|
| 5 |
library_name: nemo
|
| 6 |
pipeline_tag: automatic-speech-recognition
|
| 7 |
base_model:
|
| 8 |
-
- Reza2kn/Shenava-Koochik-
|
| 9 |
base_model_relation: finetune
|
| 10 |
tags:
|
| 11 |
- automatic-speech-recognition
|
|
@@ -33,14 +33,14 @@ datasets:
|
|
| 33 |
|
| 34 |
# Shenava — Rizeh v1.0 (32M) · Persian streaming ASR
|
| 35 |
|
| 36 |
-
**Rizeh** (ریزه, “tiny”) is the 32M mid‑tier of the **Shenava‑1** family — a FastConformer Hybrid RNNT/CTC model distilled (logit + feature KD) from the [Koochik
|
| 37 |
|
| 38 |
## The Shenava‑1 family
|
| 39 |
|
| 40 |
A knowledge‑distillation cascade of on‑device Persian ASR models — one teacher distilled down to a 6.9M student. This model is one member; its siblings:
|
| 41 |
|
| 42 |
-
- [`Reza2kn/Shenava-Koochik-
|
| 43 |
-
- [`Reza2kn/Shenava-Rizeh-v1.0`](https://huggingface.co/Reza2kn/Shenava-Rizeh-v1.0) — **Rizeh v1.0** (32M) · mid-tier student ◀ **
|
| 44 |
- [`Reza2kn/Shenava-Rizeh-Pizeh-v1.0`](https://huggingface.co/Reza2kn/Shenava-Rizeh-Pizeh-v1.0) — **Rizeh Pizeh v1.0** (6.9M) · tiniest — real-time on a 2015 Cortex-A7
|
| 45 |
|
| 46 |
## Benchmark — fair WER/CER
|
|
@@ -49,15 +49,17 @@ ITN + Persian‑digit normalizer (the [double‑benchmark](https://huggingface.c
|
|
| 49 |
|
| 50 |
| Member | golden‑6669 WER | CER | FLEURS‑fa WER | CER |
|
| 51 |
|---|---|---|---|---|
|
| 52 |
-
| Koochik
|
| 53 |
| Rizeh v1.0 (32M) | 12.11% | 3.94% | 14.45% | 5.10% |
|
| 54 |
| Rizeh Pizeh v1.0 (6.9M) | 24.55% | 8.89% | 26.95% | 10.22% |
|
| 55 |
|
| 56 |
-
#
|
| 57 |
|
| 58 |
-
|
| 59 |
-
- [`Shenava-Rizeh-v1.0-CoreML-fp16`](https://huggingface.co/Reza2kn/Shenava-Rizeh-v1.0-CoreML-fp16) — CoreML fp16 mlprogram
|
| 60 |
|
| 61 |
-
|
|
|
|
| 62 |
|
| 63 |
-
|
|
|
|
|
|
|
|
|
| 5 |
library_name: nemo
|
| 6 |
pipeline_tag: automatic-speech-recognition
|
| 7 |
base_model:
|
| 8 |
+
- Reza2kn/Shenava-Koochik-v1.0
|
| 9 |
base_model_relation: finetune
|
| 10 |
tags:
|
| 11 |
- automatic-speech-recognition
|
|
|
|
| 33 |
|
| 34 |
# Shenava — Rizeh v1.0 (32M) · Persian streaming ASR
|
| 35 |
|
| 36 |
+
**Rizeh** (ریزه, “tiny”) is the 32M mid‑tier of the **Shenava‑1** family — a FastConformer Hybrid RNNT/CTC model distilled (logit + feature KD) from the [Koochik v1.0 114M teacher](https://huggingface.co/Reza2kn/Shenava-Koochik-v1.0). CTC head deployed. fp32 NeMo source; quants in own repos below.
|
| 37 |
|
| 38 |
## The Shenava‑1 family
|
| 39 |
|
| 40 |
A knowledge‑distillation cascade of on‑device Persian ASR models — one teacher distilled down to a 6.9M student. This model is one member; its siblings:
|
| 41 |
|
| 42 |
+
- [`Reza2kn/Shenava-Koochik-v1.0`](https://huggingface.co/Reza2kn/Shenava-Koochik-v1.0) — **Koochik v1.0** (114M) · teacher / flagship — on-device WER record
|
| 43 |
+
- [`Reza2kn/Shenava-Rizeh-v1.0`](https://huggingface.co/Reza2kn/Shenava-Rizeh-v1.0) — **Rizeh v1.0** (32M) · mid-tier student ◀ **this model (or its parent)**
|
| 44 |
- [`Reza2kn/Shenava-Rizeh-Pizeh-v1.0`](https://huggingface.co/Reza2kn/Shenava-Rizeh-Pizeh-v1.0) — **Rizeh Pizeh v1.0** (6.9M) · tiniest — real-time on a 2015 Cortex-A7
|
| 45 |
|
| 46 |
## Benchmark — fair WER/CER
|
|
|
|
| 49 |
|
| 50 |
| Member | golden‑6669 WER | CER | FLEURS‑fa WER | CER |
|
| 51 |
|---|---|---|---|---|
|
| 52 |
+
| Koochik v1.0 (114M) | **7.49%** | 2.30% | **10.64%** | 3.79% |
|
| 53 |
| Rizeh v1.0 (32M) | 12.11% | 3.94% | 14.45% | 5.10% |
|
| 54 |
| Rizeh Pizeh v1.0 (6.9M) | 24.55% | 8.89% | 26.95% | 10.22% |
|
| 55 |
|
| 56 |
+
Koochik v1.0 is **#2 on the public double‑benchmark, behind only cloud Gemini** — the best on‑device Persian ASR, beating a 1.5B Whisper‑Persian by >2× WER at 1/13 the size.
|
| 57 |
|
| 58 |
+
## Quantized formats (own repos)
|
|
|
|
| 59 |
|
| 60 |
+
- [`Shenava-Rizeh-v1.0-ONNX-fp16`](https://huggingface.co/Reza2kn/Shenava-Rizeh-v1.0-ONNX-fp16)
|
| 61 |
+
- [`Shenava-Rizeh-v1.0-CoreML-fp16`](https://huggingface.co/Reza2kn/Shenava-Rizeh-v1.0-CoreML-fp16)
|
| 62 |
|
| 63 |
+
32M, d_model 256 / 16 layers, ×8 subsampling, multi‑latency `[[70,13],[70,6],[70,1],[70,0]]`.
|
| 64 |
+
|
| 65 |
+
Tokenizer: ve_tok_v4 (SentencePiece BPE‑1024 +blank, digit/punct/«»‑aware). Numbers are **spoken‑form**; apply ITN at display for digits. Part of [VisualEars / Shenava](https://shenava.app).
|