aliyzd95/common_voice_21_0_fa
Viewer • Updated • 51.1k • 118
How to use aliyzd95/whisper-small-persian-v1 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("automatic-speech-recognition", model="aliyzd95/whisper-small-persian-v1") # Load model directly
from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq
processor = AutoProcessor.from_pretrained("aliyzd95/whisper-small-persian-v1")
model = AutoModelForSpeechSeq2Seq.from_pretrained("aliyzd95/whisper-small-persian-v1")This model is a fine-tuned version of openai/whisper-small on the Common Voice 21.0 dataset. It achieves the following results on the evaluation set:
openai/whisper-small| Metric | Value |
|---|---|
| WER | 31.93% |
from transformers import pipeline
pipe = pipeline("automatic-speech-recognition", model="aliyzd95/whisper-small-persian-v1")
result = pipe("your-audio.wav")
print(result["text"])
The following hyperparameters were used during training:
Base model
openai/whisper-small