Yuekai Zhang commited on
Commit
d67a714
1 Parent(s): 6d54fa1

update client file

Browse files
Files changed (2) hide show
  1. examples.py +17 -10
  2. test_wavs/mini_zh/mid.wav +0 -0
examples.py CHANGED
@@ -20,42 +20,49 @@ examples = [
20
  "Chinese+English",
21
  "whisper-large-v2",
22
  "greedy_search",
23
- "<|startoftranscript|><|zh|><|en|><transcribe><notimestamps>",
24
  "./test_wavs/tal_csasr/0.wav",
25
  ],
 
 
 
 
 
 
 
26
  [
27
  "Japanese",
28
  "whisper-large-v2",
29
  "greedy_search",
30
- "<|startoftranscript|><|jp|><transcribe><notimestamps>",
31
  "./test_wavs/fleurs/7760285811293653093.wav",
32
  ],
33
  [
34
  "Korean",
35
  "whisper-large-v2",
36
  "greedy_search",
37
- "<|startoftranscript|><|ko|><translation><notimestamps>",
38
  "./test_wavs/fleurs/15029788401146217023.wav",
39
  ],
40
  [
41
  "Korean",
42
  "whisper-large-v2",
43
  "greedy_search",
44
- "<|startoftranscript|><|ko|><transcribe><notimestamps>",
45
  "./test_wavs/fleurs/15029788401146217023.wav",
46
  ],
47
  [
48
  "Japanese",
49
  "whisper-large-v2",
50
  "greedy_search",
51
- "<|startoftranscript|><|en|><transcribe><notimestamps>",
52
  "./test_wavs/fleurs/7760285811293653093.wav",
53
  ],
54
  [
55
  "English",
56
  "whisper-large-v2",
57
  "greedy_search",
58
- "<|startoftranscript|><|en|><transcribe><notimestamps>",
59
  "./test_wavs/librispeech/1089-134686-0001.wav",
60
  ],
61
  # [
@@ -69,7 +76,7 @@ examples = [
69
  "Russian",
70
  "whisper-large-v2",
71
  "greedy_search",
72
- "<|startoftranscript|><|ru|><transcribe><notimestamps>",
73
  "./test_wavs/russian/russian-i-love-you.wav",
74
  ],
75
  # [
@@ -83,14 +90,14 @@ examples = [
83
  "German",
84
  "whisper-large-v2",
85
  "greedy_search",
86
- "<|startoftranscript|><|de|><transcribe><notimestamps>",
87
  "./test_wavs/german/20170517-0900-PLENARY-16-de_20170517.wav",
88
  ],
89
  [
90
  "Arabic",
91
  "whisper-large-v2",
92
  "greedy_search",
93
- "<|startoftranscript|><|ar|><transcribe><notimestamps>",
94
  "./test_wavs/arabic/a.wav",
95
  ],
96
  # [
@@ -104,7 +111,7 @@ examples = [
104
  "French",
105
  "whisper-large-v2",
106
  "greedy_search",
107
- "<|startoftranscript|><|fr|><transcribe><notimestamps>",
108
  "./test_wavs/french/common_voice_fr_19364697.wav",
109
  ],
110
  # [
 
20
  "Chinese+English",
21
  "whisper-large-v2",
22
  "greedy_search",
23
+ "<|startoftranscript|><|zh|><|en|><|transcribe|><notimestamps>",
24
  "./test_wavs/tal_csasr/0.wav",
25
  ],
26
+ [
27
+ "Chinese",
28
+ "whisper-large-v2",
29
+ "greedy_search",
30
+ "<|startofprev|>法律<|startoftranscript|><|zh|><|transcribe|><notimestamps>",
31
+ "./test_wavs/mini_zh/mid.wav",
32
+ ],
33
  [
34
  "Japanese",
35
  "whisper-large-v2",
36
  "greedy_search",
37
+ "<|startoftranscript|><|jp|><|transcribe|><notimestamps>",
38
  "./test_wavs/fleurs/7760285811293653093.wav",
39
  ],
40
  [
41
  "Korean",
42
  "whisper-large-v2",
43
  "greedy_search",
44
+ "<|startoftranscript|><|ko|><|translate|><notimestamps>",
45
  "./test_wavs/fleurs/15029788401146217023.wav",
46
  ],
47
  [
48
  "Korean",
49
  "whisper-large-v2",
50
  "greedy_search",
51
+ "<|startoftranscript|><|ko|><|transcribe|><notimestamps>",
52
  "./test_wavs/fleurs/15029788401146217023.wav",
53
  ],
54
  [
55
  "Japanese",
56
  "whisper-large-v2",
57
  "greedy_search",
58
+ "<|startoftranscript|><|en|><|transcribe|><notimestamps>",
59
  "./test_wavs/fleurs/7760285811293653093.wav",
60
  ],
61
  [
62
  "English",
63
  "whisper-large-v2",
64
  "greedy_search",
65
+ "<|startoftranscript|><|en|><|transcribe|><notimestamps>",
66
  "./test_wavs/librispeech/1089-134686-0001.wav",
67
  ],
68
  # [
 
76
  "Russian",
77
  "whisper-large-v2",
78
  "greedy_search",
79
+ "<|startoftranscript|><|ru|><|transcribe|><notimestamps>",
80
  "./test_wavs/russian/russian-i-love-you.wav",
81
  ],
82
  # [
 
90
  "German",
91
  "whisper-large-v2",
92
  "greedy_search",
93
+ "<|startoftranscript|><|de|><|transcribe|><notimestamps>",
94
  "./test_wavs/german/20170517-0900-PLENARY-16-de_20170517.wav",
95
  ],
96
  [
97
  "Arabic",
98
  "whisper-large-v2",
99
  "greedy_search",
100
+ "<|startoftranscript|><|ar|><|transcribe|><notimestamps>",
101
  "./test_wavs/arabic/a.wav",
102
  ],
103
  # [
 
111
  "French",
112
  "whisper-large-v2",
113
  "greedy_search",
114
+ "<|startoftranscript|><|fr|><|transcribe|><notimestamps>",
115
  "./test_wavs/french/common_voice_fr_19364697.wav",
116
  ],
117
  # [
test_wavs/mini_zh/mid.wav ADDED
Binary file (160 kB). View file