legacy-datasets/common_voice
Updated • 1.58k • 144
How to use flozi00/whisper-large-german-lora-cv13 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("automatic-speech-recognition", model="flozi00/whisper-large-german-lora-cv13") # Load model directly
from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq
processor = AutoProcessor.from_pretrained("flozi00/whisper-large-german-lora-cv13")
model = AutoModelForSpeechSeq2Seq.from_pretrained("flozi00/whisper-large-german-lora-cv13")How to use flozi00/whisper-large-german-lora-cv13 with PEFT:
Task type is invalid.
This model is the peft lora adapter for whisper
The eval script can be found here https://github.com/flozi00/asr-as-a-service/blob/6d75d398bebe46d2ca84933b15e9f6017075cc97/eval.py containing some normalizations, for example "Stephanie" and "Stefanie" or "seins" and "seines".
The model can be tried for free on https://atra.ai without caring about hosting or installation
Base model
openai/whisper-large-v2