Transformers How to use optimum-internal-testing/tiny-random-whisper with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("automatic-speech-recognition", model="optimum-internal-testing/tiny-random-whisper") # Load model directly
from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq
processor = AutoProcessor.from_pretrained("optimum-internal-testing/tiny-random-whisper")
model = AutoModelForSpeechSeq2Seq.from_pretrained("optimum-internal-testing/tiny-random-whisper")