Samirbagda commited on
Commit
2a7f5ba
·
verified ·
1 Parent(s): 81e37a4

Create Openai whisper smalll.data

Browse files
Files changed (1) hide show
  1. Openai whisper smalll.data +5 -0
Openai whisper smalll.data ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ # Load model directly
2
+ from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq
3
+
4
+ processor = AutoProcessor.from_pretrained("openai/whisper-small")
5
+ model = AutoModelForSpeechSeq2Seq.from_pretrained("openai/whisper-small")