mozilla-foundation/common_voice_13_0
Updated • 2.45k • 4
How to use alism98/whisper-small-persian with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("automatic-speech-recognition", model="alism98/whisper-small-persian") # Load model directly
from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq
processor = AutoProcessor.from_pretrained("alism98/whisper-small-persian")
model = AutoModelForSpeechSeq2Seq.from_pretrained("alism98/whisper-small-persian")