Add transformers weights and config 250d6e5
Sanchit Gandhi commited on
How to use sanchit-gandhi/whisper-large-v3 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("automatic-speech-recognition", model="sanchit-gandhi/whisper-large-v3") # Load model directly
from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq
processor = AutoProcessor.from_pretrained("sanchit-gandhi/whisper-large-v3")
model = AutoModelForSpeechSeq2Seq.from_pretrained("sanchit-gandhi/whisper-large-v3", device_map="auto")