Shenava Rizeh v1.5 β€” ONNX fp16

Shenava Rizeh v1.5 (60M Zipformer2 RNN-T, Persian + English) exported for sherpa-onnx as an offline (non-streaming) transducer. Runs on Android, iOS, macOS, Windows, Linux and WebAssembly through sherpa-onnx.

File Size
encoder.fp16.onnx, decoder.fp16.onnx, joiner.fp16.onnx fp16 weights, fp32 inputs/outputs (119 / 4.8 / 2.1 MB)
tokens.txt 2,080 tokens (shared + English + Persian)

fp16 output matches fp32 on 593 of 600 test clips. Same interface as the sherpa-onnx repo (sherpa-onnx loads these files directly); for GPUs, Apple Neural Engine or other fp16 runtimes.

The language vector for Persian (fa) is built into the encoder.

import sherpa_onnx, soundfile as sf
rec = sherpa_onnx.OfflineRecognizer.from_transducer(
    encoder="encoder.fp16.onnx", decoder="decoder.fp16.onnx", joiner="joiner.fp16.onnx",
    tokens="tokens.txt", num_threads=2, decoding_method="modified_beam_search", max_active_paths=4)
x, sr = sf.read("audio.wav", dtype="float32")   # 16 kHz mono
s = rec.create_stream(); s.accept_waveform(sr, x); rec.decode_stream(s)
print(s.result.text)

Parity (held-out tuning half of the PersianASR Triple Threat benchmark, official TT, no LM, beam 4): tinyasr engine 4.309, sherpa-onnx fp32 4.352, sherpa-onnx int8 4.373. The small gap comes from tinyasr cutting long audio into VAD pieces; sherpa decodes the whole clip. For the best accuracy (in-beam Persian LM, TT 3.79 official on the full benchmark) use the tinyasr build in the main repo.

GPL-3.0-or-later. Base model and engine: dkaraush/tinyasr; original training data primarily YODAS v3 (CC BY 3.0). Export code follows icefall's export-onnx.py; see export_onnx.py in the main repo.

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for Reza2kn/Shenava-Rizeh-v1.5-ONNX-fp16

Quantized
(5)
this model