tiny whisper e53a435
Félix Marty commited on
How to use fxmarty/whisper-tiny-working with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("automatic-speech-recognition", model="fxmarty/whisper-tiny-working") # Load model directly
from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq
processor = AutoProcessor.from_pretrained("fxmarty/whisper-tiny-working")
model = AutoModelForSpeechSeq2Seq.from_pretrained("fxmarty/whisper-tiny-working", device_map="auto")