bofenghuang commited on
Commit
78c1dc5
·
1 Parent(s): 7190d49
Files changed (1) hide show
  1. run_demo_multi_models.py +2 -6
run_demo_multi_models.py CHANGED
@@ -12,14 +12,10 @@ warnings.filterwarnings("ignore")
12
  disable_progress_bar()
13
 
14
  DEFAULT_MODEL_NAME = "bofenghuang/whisper-medium-cv11-french-punct"
 
15
  MODEL_NAMES = [
16
- "openai/whisper-small",
17
- "openai/whisper-medium",
18
- "openai/whisper-large-v2",
19
- "bofenghuang/whisper-small-cv11-french",
20
- "bofenghuang/whisper-small-cv11-french-punct",
21
- "bofenghuang/whisper-medium-cv11-french",
22
  "bofenghuang/whisper-medium-cv11-french-punct",
 
23
  ]
24
  CHUNK_LENGTH_S = 30
25
  MAX_NEW_TOKENS = 225
 
12
  disable_progress_bar()
13
 
14
  DEFAULT_MODEL_NAME = "bofenghuang/whisper-medium-cv11-french-punct"
15
+ # make sure no OOM
16
  MODEL_NAMES = [
 
 
 
 
 
 
17
  "bofenghuang/whisper-medium-cv11-french-punct",
18
+ "bofenghuang/whisper-large-v2-cv11-french-punct",
19
  ]
20
  CHUNK_LENGTH_S = 30
21
  MAX_NEW_TOKENS = 225