facebook/multilingual_librispeech
Viewer • Updated • 1.49M • 17.9k • 183
How to use sgangireddy/whisper-largev2-mls-german with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("automatic-speech-recognition", model="sgangireddy/whisper-largev2-mls-german") # Load model directly
from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq
processor = AutoProcessor.from_pretrained("sgangireddy/whisper-largev2-mls-german")
model = AutoModelForSpeechSeq2Seq.from_pretrained("sgangireddy/whisper-largev2-mls-german")# Load model directly
from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq
processor = AutoProcessor.from_pretrained("sgangireddy/whisper-largev2-mls-german")
model = AutoModelForSpeechSeq2Seq.from_pretrained("sgangireddy/whisper-largev2-mls-german")This model is a fine-tuned version of openai/whisper-large-v2 on the facebook/multilingual_librispeech german dataset. It achieves the following results on the evaluation set:
The model is fine-tuned for 4000 updates/steps on multilingual librispeech German train data.
Even after fine-tuning the model is doing slightly worse than the zero-shot.
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Wer |
|---|---|---|---|---|
| 0.1755 | 0.25 | 1000 | 0.1844 | 7.7118 |
| 0.1185 | 0.5 | 2000 | 0.1636 | 7.0659 |
| 0.1081 | 0.75 | 3000 | 0.1396 | 6.0844 |
| 0.1222 | 1.0 | 4000 | 0.1370 | 6.0483 |
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="sgangireddy/whisper-largev2-mls-german")