Downloads · 30 days
16
4% of all-time downloads
baristiran/whisper-large-v3-quran-lora
whisper-large-v3-quran-lora is a automatic speech recognition model from baristiran. Use it when you need speech turned into text. It is set up for peft. The card lists the license as apache-2.0.
Fine-tuned openai/whisper-large-v3 for Quranic Arabic speech recognition using LoRA.
Downloads · 30 days
16
4% of all-time downloads
All-time downloads
394
Public
Repo size
231 MB
Likes
0
Public
Click a slice to open those files.
.safetensors231 MB · 99%
From the Hugging Face model README
Fine-tuned openai/whisper-large-v3 for Quranic Arabic speech recognition using LoRA.
| Metric | Score |
|---|---|
| WER (normalized) | 1.58% |
| WER (diacritized) | 3.92% |
| Tarteel AI baseline | 5.75% |
| Parameter | Value |
|---|---|
| Base model | openai/whisper-large-v3 (1.5B params) |
| Method | LoRA (r=32, alpha=64) |
| Target modules | q_proj, k_proj, v_proj, out_proj, fc1, fc2 |
| Trainable params | ~13M (0.87%) |
| Dataset | tarteel-ai/everyayah (~127K samples) |
| Epochs | 5 (~18K steps) |
| Batch size | 32 x 2 = 64 effective |
| Learning rate | 3e-4 (cosine scheduler) |
| Precision | fp16 |
| GPU | NVIDIA A100 80GB |
| Training time | ~12 hours |
from transformers import WhisperProcessor, WhisperForConditionalGeneration
from peft import PeftModel
processor = WhisperProcessor.from_pretrained("baristiran/whisper-large-v3-quran-lora")
base_model = WhisperForConditionalGeneration.from_pretrained("openai/whisper-large-v3")
model = PeftModel.from_pretrained(base_model, "baristiran/whisper-large-v3-quran-lora")
# Transcribe
inputs = processor(audio_array, sampling_rate=16000, return_tensors="pt")
predicted_ids = model.generate(**inputs, max_length=225)
transcription = processor.batch_decode(predicted_ids, skip_special_tokens=True)[0]
Part of Tilavet — open-source Quran STT + translation platform.