alicekyting
commited on
Update README.md
Browse files
README.md
CHANGED
@@ -49,4 +49,12 @@ model = AutoModelForSpeechSeq2Seq.from_pretrained(
|
|
49 |
torch_dtype=torch.float16,
|
50 |
)
|
51 |
|
52 |
-
processor = AutoProcessor.from_pretrained("alicekyting/whisper-large-v3-4bit-model")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
49 |
torch_dtype=torch.float16,
|
50 |
)
|
51 |
|
52 |
+
processor = AutoProcessor.from_pretrained("alicekyting/whisper-large-v3-4bit-model")
|
53 |
+
|
54 |
+
pipe = pipeline(
|
55 |
+
"automatic-speech-recognition",
|
56 |
+
model=model,
|
57 |
+
tokenizer=processor.tokenizer,
|
58 |
+
feature_extractor=processor.feature_extractor,
|
59 |
+
torch_dtype=torch_dtype,
|
60 |
+
)
|