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