Downloads · 30 days
28
3% of all-time downloads
jonatasgrosman/whisper-large-es-cv11
whisper-large-es-cv11 is a automatic speech recognition model from jonatasgrosman. Use it when you need speech turned into text. It is set up for transformers. The card lists the license as apache-2.0.
This model is a fine-tuned version of openai/whisper-large-v2 on Spanish using the train split of Common Voice 11.
Downloads · 30 days
28
3% of all-time downloads
All-time downloads
1K
Public
Repo size
55.6 GB
Likes
2
Public
Click a slice to open those files.
.bin6.2 GB · 100%
From the Hugging Face model README
This model is a fine-tuned version of openai/whisper-large-v2 on Spanish using the train split of Common Voice 11.
from transformers import pipeline
transcriber = pipeline(
"automatic-speech-recognition",
model="jonatasgrosman/whisper-large-es-cv11"
)
transcriber.model.config.forced_decoder_ids = (
transcriber.tokenizer.get_decoder_prompt_ids(
language="es",
task="transcribe"
)
)
transcription = transcriber("path/to/my_audio.wav")
I've performed the evaluation of the model using the test split of two datasets, the Common Voice 11 (same dataset used for the fine-tuning) and the Fleurs (dataset not seen during the fine-tuning). As Whisper can transcribe casing and punctuation, I've performed the model evaluation in 2 different scenarios, one using the raw text and the other using the normalized text (lowercase + removal of punctuations). Additionally, for the Fleurs dataset, I've evaluated the model in a scenario where there are no transcriptions of numerical values since the way these values are described in this dataset is different from how they are described in the dataset used in fine-tuning (Common Voice), so it is expected that this difference in the way of describing numerical values will affect the performance of the model for this type of transcription in Fleurs.
| CER | WER | |
|---|---|---|
| jonatasgrosman/whisper-large-es-cv11 | 2.43 | 8.85 |
| jonatasgrosman/whisper-large-es-cv11 + text normalization | 1.56 | 4.67 |
| openai/whisper-large-v2 | 3.71 | 12.34 |
| openai/whisper-large-v2 + text normalization | 2.45 | 6.30 |
| CER | WER | |
|---|---|---|
| jonatasgrosman/whisper-large-es-cv11 | 3.06 | 9.11 |
| jonatasgrosman/whisper-large-es-cv11 + text normalization | 3.45 | 5.40 |
| jonatasgrosman/whisper-large-es-cv11 + keep only non-numeric samples | 1.83 | 7.57 |
| jonatasgrosman/whisper-large-es-cv11 + text normalization + keep only non-numeric samples | 2.36 | 4.14 |
| openai/whisper-large-v2 | 2.30 | 8.50 |
| openai/whisper-large-v2 + text normalization | 2.76 | 4.79 |
| openai/whisper-large-v2 + keep only non-numeric samples | 1.93 | 7.33 |
| openai/whisper-large-v2 + text normalization + keep only non-numeric samples | 2.50 | 4.28 |