update model card README.md 4fd0b40
Bhansali commited on
How to use Samveg17/whisper-base-hi with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("automatic-speech-recognition", model="Samveg17/whisper-base-hi", device_map="auto") # Load model directly
from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq
processor = AutoProcessor.from_pretrained("Samveg17/whisper-base-hi")
model = AutoModelForSpeechSeq2Seq.from_pretrained("Samveg17/whisper-base-hi", device_map="auto")