Tilawi Quran ASR — FastConformer (Offline & Real-Time Streaming ONNX)
Production FastConformer models fine-tuned for Quranic Arabic Automatic Speech Recognition (ASR) with full diacritics (Tashkeel). Includes two release bundles:
- Version 1 (Root
/): Offline full-context batch ONNX & Android INT8 models (4.72% CTC WER / 2.99% RNNT WER). - Version 2 (
/streaming): Stateful, strictly-causal (0 msfuture lookahead) multi-lookahead streaming ONNX & Android INT8 models (32.6× real-time on CPU at560 mschunks).
Usage & License
Non-Profit Use Only (CC-BY-NC-4.0): Released strictly for non-profit, educational, and research purposes. Commercial use is prohibited.
Curated Training Corpus
Trained on 99,782 dual-decoder consensus-curated 16 kHz clips (97,646 train + 2,136 validation), filtered from 121,652 blended recordings:
- Professional Recitations:
yousifgamalo/mp3quran(232 reciter configurations). - Non-Professional / Crowdsourced:
yousifgamalo/quran-cleaned-nonprofessional-recordings(411 splits). - Dual-Decoder Consensus Curation: Audited via CTC + RNNT agreement, 80 ms frame-feasibility bounds, speaking-rate filtering, and canonical
quran.jsonRasm boundary checks (0 <unk>tokens across all 6,236 verses).
Validation Results (2,136 Curated Clips)
Version 1 — Offline Batch Model (Root /)
| Decoder / Subset | Clips | Exact WER (with Tashkeel) | No-Diacritic WER | CER |
|---|---|---|---|---|
| CTC — Full Validation | 2,136 | 4.72% (4.75% macro) | 4.28% | 2.59% |
CTC — Professional (mp3quran) | 962 | 2.59% | 2.34% | 1.67% |
| CTC — Non-Professional | 1,174 | 6.38% | 5.74% | 3.18% |
| RNNT — Full Validation | 2,136 | 2.99% (3.02% macro) | 2.83% | 2.27% |
Version 2 — Strictly-Causal Stateful Streaming Model (/streaming, 0 ms Future Lookahead)
A single ONNX graph supports 4 chunk/lookahead modes via cache_last_channel ([1, 17, 70, 512]), cache_last_time ([1, 17, 512, 8]), and cache_last_channel_len:
| Streaming Mode / Subset | Lookahead | CTC Exact WER | CTC No-Diacritic WER | CTC CER | RNNT Exact WER |
|---|---|---|---|---|---|
| 1,120 ms High-Accuracy (Overall) | [70, 13] | 12.00% | 10.27% | 5.74% | 10.29% |
| ↳ 1,120 ms Professional (962 clips) | [70, 13] | 7.44% | 6.23% | 3.49% | 5.93% |
| ↳ 1,120 ms Non-Professional (1,174 clips) | [70, 13] | 15.60% | 13.47% | 7.27% | 13.68% |
| 560 ms Balanced Real-Time (Overall) | [70, 6] | 14.07% | 11.89% | 6.36% | 12.03% |
| ↳ 560 ms Professional (962 clips) | [70, 6] | 8.55% | 7.02% | 3.71% | 6.51% |
| 160 ms Low-Latency (Overall) | [70, 1] | 18.28% | 15.36% | 7.94% | 15.85% |
| 80 ms Ultra-Low Latency (Overall) | [70, 0] | 21.44% | 18.02% | 8.99% | 19.34% |
Repository Structure
Root / — Version 1 Offline Batch Bundle
fastconformer_full_mixed.onnx: Slimmed FP32 CTC ONNX model (436.8 MB).fastconformer_quran_int8.onnx: Dynamic INT8 quantized CTC ONNX model for Android (125.2 MB).quran.json: All 6,236 Quran verses with Uthmani text, normalized text, and token IDs (0 <unk>).vocab.json&quran_ctc_tokens.json: 1,024 SentencePiece BPE pieces +<blk>(ID1024).SHA256SUMS: SHA-256 checksums for offline artifacts.
/streaming — Version 2 Stateful Streaming Bundle
streaming/fastconformer_quran_streaming_fp32.onnx: Statefulcache_support=TrueFP32 ONNX (437.4 MB).streaming/fastconformer_quran_streaming_int8.onnx: Stateful Android INT8 streaming ONNX (125.4 MB).streaming/streaming_config.json: Cache tensor shapes, chunk windows, and 80-channel Welford online mel normalizer priors (N0=50).streaming/mel_basis_80x257.bin: Precomputed 80×257 float32 mel filterbank matrix.streaming/vocab.json,streaming/quran_ctc_tokens.json,streaming/quran.json,streaming/SHA256SUMS.
/nemo — Full PyTorch / NVIDIA NeMo Checkpoints (CTC + RNNT)
nemo/yousifgamalo_quran_fastconformer.nemo: Version-1 offline hybrid checkpoint.nemo/yousifgamalo_quran_fastconformer_streaming.nemo: Version-2 cache-aware streaming hybrid checkpoint.