Downloads · 30 days
68
27% of all-time downloads
dev-ahmedhany/stt_ar_fastconformer_hybrid_large_streaming_pcd_v1.0
stt_ar_fastconformer_hybrid_large_streaming_pcd_v1.0 is a machine learning model from dev-ahmedhany. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for nemo. The card lists the license as cc-by-4.0.
Cache-aware streaming variant of NVIDIA's sttarfastconformerhybridlargepcdv1.0, fine-tuned with chunked attention masks so it can run real-time on phone via sherpa-onnx OnlineRecognizer.
Downloads · 30 days
68
27% of all-time downloads
All-time downloads
253
Public
Repo size
2.3 GB
Likes
0
Public
Click a slice to open those files.
.onnx477 MB · 51%
From the Hugging Face model README
Cache-aware streaming variant of NVIDIA's stt_ar_fastconformer_hybrid_large_pcd_v1.0,
fine-tuned with chunked attention masks so it can run real-time on phone via
sherpa-onnx OnlineRecognizer.
Streaming config: att_context_size = [70, 13]
| metric | value |
|---|---|
| Best val_wer (10h train + 5h continue) | TBD (computed at upload time) |
| Tashkeel-stripped WER | TBD |
| Latency (end-to-end on phone) | ~1.04s lookahead + ~150ms pipeline |
| Model size | 459 MB (.nemo), ~470 MB (ONNX with cache I/O) |
tarteel-ai/everyayahgoogle/fleurs ar_egimport nemo.collections.asr as nemo_asr
m = nemo_asr.models.ASRModel.from_pretrained(
'dev-ahmedhany/stt_ar_fastconformer_hybrid_large_streaming_pcd_v1.0'
)
# Offline transcribe — all chunks at once, equivalent to streaming
hyp = m.transcribe(['audio.wav'])
See examples/streaming_inference.py in the
NeMo cache-aware streaming notebook.
final recognizer = sherpa.OnlineRecognizer(
model: 'streaming_70_13.onnx',
);
final stream = recognizer.createStream();
// per audio chunk:
stream.acceptWaveform(samples, sampleRate);
recognizer.decode(stream);
final partialText = recognizer.getResult(stream).text;