Downloads · 30 days
0
RawandLaouini/ArabicEchoV1
ArabicEchoV1 is a machine learning model from RawandLaouini. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This is a fine-tuned version of the openai/whisper-medium model, adapted for Arabic Automatic Speech Recognition (ASR) using LoRA (Low-Rank Adaptation). The model was trained to transcribe Arabic audio from the Common…
Downloads · 30 days
0
Access
Public
Updated Apr 16, 2025
Repo size
18.9 MB
Likes
0
Public
Click a slice to open those files.
.safetensors18.9 MB · 91%
From the Hugging Face model README
This is a fine-tuned version of the openai/whisper-medium model, adapted for Arabic Automatic Speech Recognition (ASR) using LoRA (Low-Rank Adaptation). The model was trained to transcribe Arabic audio from the Common Voice 11.0 dataset, focusing on improving performance for the Arabic language.
openai/whisper-mediumThis model can be used for transcribing Arabic speech to text, suitable for applications like voice assistants, subtitle generation, or educational tools for Arabic speakers.
The model should not be used for real-time transcription without further optimization, nor for languages other than Arabic without retraining.
The model was trained on the Common Voice 11.0 Arabic dataset, which may contain biases or limited dialectal coverage. Performance may vary across different Arabic dialects or noisy environments. Users should validate outputs for critical applications.
Users should test the model on their specific use case and consider augmenting the training data for better dialectal or noise robustness.
Use the following code to load and use the model:
from transformers import WhisperProcessor, WhisperForConditionalGeneration
from peft import PeftModel
processor = WhisperProcessor.from_pretrained("openai/whisper-medium")
model = WhisperForConditionalGeneration.from_pretrained("openai/whisper-medium")
model = PeftModel.from_pretrained(model, "RawandLaouini/ArabicEchoV1")
model.eval()
input_features = processor(audio, return_tensors="pt").input_features
predicted_ids = model.generate(input_features)
transcription = processor.tokenizer.batch_decode(predicted_ids, skip_special_tokens=True)[0]
print(transcription)
mozilla-foundation/common_voice_11_0 (Arabic split)Audio was resampled to 16 kHz to match Whisper's requirements, and input features were extracted using the Whisper processor.
Manual evaluation on 200 examples from the Common Voice test split.
The model achieves a WER of 44.25% and CER of 11.87% on the manual evaluation set, indicating moderate transcription accuracy for Arabic speech.
@misc{laouini2025arabicechov1,
author = {Rawand Laouini},
title = {ArabicEchoV1: Fine-tuned Whisper-medium for Arabic ASR with LoRA},
year = {2025},
howpublished = {\url{https://huggingface.co/RawandLaouini/ArabicEchoV1}}
}
Laouini, R. (2025). ArabicEchoV1: Fine-tuned Whisper-medium for Arabic ASR with LoRA. Retrieved from https://huggingface.co/RawandLaouini/ArabicEchoV1