mozilla-foundation/common_voice_17_0
Updated • 5.49k • 16
How to use MohammadGholizadeh/whisper-small-fa with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("automatic-speech-recognition", model="MohammadGholizadeh/whisper-small-fa") # Load model directly
from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq
processor = AutoProcessor.from_pretrained("MohammadGholizadeh/whisper-small-fa")
model = AutoModelForSpeechSeq2Seq.from_pretrained("MohammadGholizadeh/whisper-small-fa")Base model
openai/whisper-small