mozilla-foundation/common_voice_17_0
Updated • 5.04k • 35
How to use nezamisafa/whisper-large-v3-persian with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("automatic-speech-recognition", model="nezamisafa/whisper-large-v3-persian") # Load model directly
from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq
processor = AutoProcessor.from_pretrained("nezamisafa/whisper-large-v3-persian")
model = AutoModelForSpeechSeq2Seq.from_pretrained("nezamisafa/whisper-large-v3-persian", device_map="auto")This model is a fine-tuned version of openai/whisper-large-v3 on the Common Voice 17.0 dataset. It achieves the following results on the evaluation set:
The data was fine-tuned using an RTX 6000 ADA graphics card. Over 200,000 samples were fine-tuned on the system. This data belonged to the Mozilla Foundation's Common Voice 17.0 dataset. The obtained result, despite improving the Word Error Rate (WER) compared to other models, still has grammatical weaknesses, which is due to spelling errors in the dataset.
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Wer |
|---|---|---|---|---|
| 0.1337 | 0.8110 | 2000 | 0.2818 | 31.0620 |
| 0.0608 | 1.6221 | 4000 | 0.2532 | 28.8171 |
| 0.0229 | 2.4331 | 6000 | 0.2499 | 26.5381 |
Base model
openai/whisper-large-v3