This model is a fine-tuned version of deepdml/whisper-large-v3-turbo-ar-mix-norm.
It was trained using QLoRA on approximately 15 hours of Al Jazeera Arabic broadcast news and subsequently merged into a standalone model. It specializes in formal Arabic news transcription (MSA), achieving a Semantic Similarity score of ~92% with the reference text.
Tested on a held-out test set from the AlJazeera corpus. The model demonstrates a massive improvement over the baseline for this specific domain.
| Metric | Score | Notes |
|---|---|---|
| WER | 22.76% | Significant improvement over baseline (~90%) due to domain adaptation. |
| Semantic Similarity | 0.9265 | Near-perfect meaning retention (LaBSE metric). |
| BLEU | 66.82 | High overlap in phrasing. |
| METEOR | 0.8122 | Excellent alignment of word roots. |
This is a full, standalone model. You do not need to load the base model separately.
import torch
from transformers import AutoModelForSpeechSeq2Seq, AutoProcessor, pipeline
model_id = "zaki982/whisper-turbo-aljazeera-lora"
# 1. Load Model
model = AutoModelForSpeechSeq2Seq.from_pretrained(
model_id,
torch_dtype=torch.float16,
low_cpu_mem_usage=True,
use_safetensors=True
)
model.to("cuda")
# 2. Load Processor
processor = AutoProcessor.from_pretrained(model_id)
# 3. Create Pipeline
pipe = pipeline(
"automatic-speech-recognition",
model=model,
tokenizer=processor.tokenizer,
feature_extractor=processor.feature_extractor,
chunk_length_s=30,
batch_size=16,
torch_dtype=torch.float16,
device=0,
)
# 4. Transcribe
# Ensure you force the language to Arabic for best results
audio_file = "path_to_your_audio.wav"
result = pipe(audio_file, generate_kwargs={"language": "arabic", "task": "transcribe"})
print(result["text"])
This model is optimized for:
model.safetensors 1.6 GBadapter_model.safetensors 13 MBdeepdml/whisper-large-v3-turbo-ar-mix-norm