How to use openai/whisper-tiny.en with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="openai/whisper-tiny.en")
# Load model directly from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq processor = AutoProcessor.from_pretrained("openai/whisper-tiny.en") model = AutoModelForSpeechSeq2Seq.from_pretrained("openai/whisper-tiny.en")
This PR is in draft mode
· Sign up or log in to comment