Downloads · 30 days
0
RawandLaouini/ArabicEchoV2
ArabicEchoV2 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 on the custom WhisperArabicMergedv6 datase…
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 on the custom Whisper_Arabic_Merged_v6 dataset, containing 1183 audio samples, to improve transcription accuracy for Arabic speech.
openai/whisper-mediumThis model can be used for transcribing Arabic speech to text, ideal for applications like voice assistants, subtitle generation, or educational tools tailored to Arabic speakers.
The model should not be used for real-time transcription without optimization, nor for languages other than Arabic without retraining.
Trained on the Whisper_Arabic_Merged_v6 dataset, the model may reflect biases or limitations in dialectal coverage or audio quality. Performance may vary with different Arabic dialects or noisy conditions. Users should validate outputs for critical use.
Test the model on your specific use case and consider expanding the dataset 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/ArabicEchoV2")
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)
RawandLaouini/Whisper_Arabic_Merged_v6 (1183 samples)Audio was processed to match Whisper's requirements, with input features extracted using the Whisper processor.
Manual evaluation on 50 examples from the validation split.
The model achieves a WER of 29.69% and CER of 7.00% on the manual evaluation set, indicating good transcription accuracy for Arabic speech.
@misc{laouini2025arabicechov2,
author = {Rawand Laouini},
title = {ArabicEchoV2: Fine-tuned Whisper-medium for Arabic ASR with LoRA},
year = {2025},
howpublished = {\url{https://huggingface.co/RawandLaouini/ArabicEchoV2}}
}
Laouini, R. (2025). ArabicEchoV2: Fine-tuned Whisper-medium for Arabic ASR with LoRA. Retrieved from https://huggingface.co/RawandLaouini/ArabicEchoV2