Downloads · 30 days
43
13% of all-time downloads
medfadiabaidi/whisper-small-tunisian-asr
whisper-small-tunisian-asr is a automatic speech recognition model from medfadiabaidi. Use it when you need speech turned into text.
This model is a fine-tuned version of openai/whisper-small on the TEDxTN dataset. It was trained to transcribe Tunisian dialect (Derja/Arabizi).
Downloads · 30 days
43
13% of all-time downloads
All-time downloads
340
Public
Parameters
242M
14.5 GB on disk
Likes
0
Public
Click a slice to open those files.
.pt9.6 GB · 62%
From the Hugging Face model README
This model is a fine-tuned version of openai/whisper-small on the TEDxTN dataset. It was trained to transcribe Tunisian dialect (Derja/Arabizi).
| Metric | Score |
|---|---|
| WER | 37.99% |
| CER | 18.77% |
from transformers import WhisperForConditionalGeneration, WhisperProcessor
model_id = "medfadiabaidi/whisper-small-tunisian-asr"
processor = WhisperProcessor.from_pretrained(model_id)
model = WhisperForConditionalGeneration.from_pretrained(model_id)
# audio_input = ... # Load your audio here
# inputs = processor(audio_input, return_tensors="pt")
# generated_ids = model.generate(inputs.input_features)
# transcription = processor.batch_decode(generated_ids, skip_special_tokens=True)[0]