Pre-converted CTranslate2 (faster-whisper) models for Quranic recitation transcription, used in the Quranic Recitation Error Detection Pipeline.
Given audio of a Quranic verse, these models produce Arabic transcripts used downstream for error detection — substitutions, deletions, insertions, harakat errors, and Tajweed violations (medd, idgham, ikhfa, ghunna, qalqala, iqlab, izhar, tafkheem).
Models Included
whisper-quran-ct2/ — Recommended for CPU / production
Note: int8 CTranslate2 conversion of this large fine-tuned model degrades transcription quality. For best results, use the original HuggingFace model directly with --backend huggingface --model wasimlhr/whisper-quran-v1. This CT2 version is included for reference and speed experiments only.
Usage
With faster-whisper directly
python
1from faster_whisper import WhisperModel
23model = WhisperModel("kaylazima/quranic-model/whisper-quran-ct2", device="cpu", compute_type="int8")4segments, _ = model.transcribe("recitation.wav", language="ar", word_timestamps=True)5for seg in segments:6print(seg.text)
Evaluated on Buraaq/quran-md-ayahs (Surah 37, ayahs 78–87, Alafasy reciter, 10 samples). Ground-truth WER = 0 (professional reciter); observed WER reflects ASR hallucination rate.
Model
Backend
Mean WER
Word-level F1
Avg time/ayah
whisper-quran-ct2 (tarteel-ai base)
faster-whisper int8
0.613
0.786
~5.3 s (CPU)
wasimlhr HuggingFace original
HF float32
0.020
0.977
~18.6 s (CPU)
tarteel-ai hallucinates tail phrases on short ayahs; wasimlhr (HF backend) achieves near-perfect transcription with one minor hamza normalisation difference.
Model Conversion
Models were converted using ct2-transformers-converter: