Commit
•
c50b935
1
Parent(s):
d18eaaa
fix section on OAI whisper
Browse files
README.md
CHANGED
@@ -258,8 +258,8 @@ from datasets import load_dataset
|
|
258 |
from huggingface_hub import hf_hub_download
|
259 |
from whisper import load_model, transcribe
|
260 |
|
261 |
-
|
262 |
-
model = load_model(
|
263 |
|
264 |
dataset = load_dataset("hf-internal-testing/librispeech_asr_dummy", "clean", split="validation")
|
265 |
sample = dataset[0]["audio"]["array"]
|
|
|
258 |
from huggingface_hub import hf_hub_download
|
259 |
from whisper import load_model, transcribe
|
260 |
|
261 |
+
distil_large_v2 = hf_hub_download(repo_id="distil-whisper/distil-large-v2", filename="original-model.bin")
|
262 |
+
model = load_model(distil_large_v2)
|
263 |
|
264 |
dataset = load_dataset("hf-internal-testing/librispeech_asr_dummy", "clean", split="validation")
|
265 |
sample = dataset[0]["audio"]["array"]
|