sanchit-gandhi HF staff commited on
Commit
c50b935
1 Parent(s): d18eaaa

fix section on OAI whisper

Browse files
Files changed (1) hide show
  1. README.md +2 -2
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
- medium_en = hf_hub_download(repo_id="distil-whisper/distil-medium.en", filename="original-model.bin")
262
- model = load_model(medium_en)
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"]