facebook/voxpopuli
Viewer • Updated • 1.26M • 31k • 158
How to use Abdo96/whisper-small-en-accented with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("automatic-speech-recognition", model="Abdo96/whisper-small-en-accented") # Load model directly
from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq
processor = AutoProcessor.from_pretrained("Abdo96/whisper-small-en-accented")
model = AutoModelForSpeechSeq2Seq.from_pretrained("Abdo96/whisper-small-en-accented", device_map="auto")