transformers-whisper-quran-cli
pip3 install -U click \
mutagen \
jiwer \
evaluate \
transformers \
pyarabic \
optimum
- Calculate WER and generate csv files for juz 28
(58:66)
using custom checkpoint from a huggingface repo.
python3 main.py generate \
--sorah-range 58:66 \
"/kaggle/input/quran-reciters/metadata/ayah_text_clear.csv" \
"/kaggle/input/quran-reciters/audio/audio/Minshawy_Murattal_128kbps" \
--model "omartariq612/whisper-small-augmented-epoch-5" \
--out-prefix "Minshawy_Murattal_128kbps" \
-o .. \
--device cuda \
--batch-size 24