mozilla-foundation/common_voice_17_0
Updated • 3.5k • 52
How to use mozilla-ai/whisper-small-fr with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("automatic-speech-recognition", model="mozilla-ai/whisper-small-fr") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq
processor = AutoProcessor.from_pretrained("mozilla-ai/whisper-small-fr")
model = AutoModelForSpeechSeq2Seq.from_pretrained("mozilla-ai/whisper-small-fr", device_map="auto")This model was created from the Mozilla.ai Blueprint: speech-to-text-finetune.
Base model
openai/whisper-small