Spaces:
Runtime error
Runtime error
Commit
·
faabceb
1
Parent(s):
692826d
minor fixes
Browse files- examples.py +45 -45
examples.py
CHANGED
|
@@ -16,6 +16,51 @@
|
|
| 16 |
# See the License for the specific language governing permissions and
|
| 17 |
# limitations under the License.
|
| 18 |
examples = [
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
# wenetspeech
|
| 20 |
# https://huggingface.co/luomingshuang/icefall_asr_wenetspeech_pruned_transducer_stateless2/tree/main/test_wavs
|
| 21 |
[
|
|
@@ -85,51 +130,6 @@ examples = [
|
|
| 85 |
4,
|
| 86 |
"./test_wavs/aishell2/ID0012W0215.wav",
|
| 87 |
],
|
| 88 |
-
# librispeech
|
| 89 |
-
# https://huggingface.co/csukuangfj/icefall-asr-librispeech-pruned-transducer-stateless5-2022-05-13/tree/main/test_wavs
|
| 90 |
-
[
|
| 91 |
-
"English",
|
| 92 |
-
"csukuangfj/icefall-asr-librispeech-pruned-transducer-stateless3-2022-05-13",
|
| 93 |
-
"greedy_search",
|
| 94 |
-
4,
|
| 95 |
-
"./test_wavs/librispeech/1089-134686-0001.wav",
|
| 96 |
-
],
|
| 97 |
-
[
|
| 98 |
-
"English",
|
| 99 |
-
"csukuangfj/icefall-asr-librispeech-pruned-transducer-stateless3-2022-05-13",
|
| 100 |
-
"greedy_search",
|
| 101 |
-
4,
|
| 102 |
-
"./test_wavs/librispeech/1221-135766-0001.wav",
|
| 103 |
-
],
|
| 104 |
-
[
|
| 105 |
-
"English",
|
| 106 |
-
"csukuangfj/icefall-asr-librispeech-pruned-transducer-stateless3-2022-05-13",
|
| 107 |
-
"greedy_search",
|
| 108 |
-
4,
|
| 109 |
-
"./test_wavs/librispeech/1221-135766-0002.wav",
|
| 110 |
-
],
|
| 111 |
-
# gigaspeech
|
| 112 |
-
[
|
| 113 |
-
"English",
|
| 114 |
-
"wgb14/icefall-asr-gigaspeech-pruned-transducer-stateless2",
|
| 115 |
-
"greedy_search",
|
| 116 |
-
4,
|
| 117 |
-
"./test_wavs/gigaspeech/1-minute-audiobook.opus",
|
| 118 |
-
],
|
| 119 |
-
[
|
| 120 |
-
"English",
|
| 121 |
-
"wgb14/icefall-asr-gigaspeech-pruned-transducer-stateless2",
|
| 122 |
-
"greedy_search",
|
| 123 |
-
4,
|
| 124 |
-
"./test_wavs/gigaspeech/100-seconds-podcast.opus",
|
| 125 |
-
],
|
| 126 |
-
[
|
| 127 |
-
"English",
|
| 128 |
-
"wgb14/icefall-asr-gigaspeech-pruned-transducer-stateless2",
|
| 129 |
-
"greedy_search",
|
| 130 |
-
4,
|
| 131 |
-
"./test_wavs/gigaspeech/100-seconds-youtube.opus",
|
| 132 |
-
],
|
| 133 |
# tal_csasr
|
| 134 |
# https://huggingface.co/luomingshuang/icefall_asr_tal-csasr_pruned_transducer_stateless5/tree/main/test_wavs
|
| 135 |
[
|
|
|
|
| 16 |
# See the License for the specific language governing permissions and
|
| 17 |
# limitations under the License.
|
| 18 |
examples = [
|
| 19 |
+
# librispeech
|
| 20 |
+
# https://huggingface.co/csukuangfj/icefall-asr-librispeech-pruned-transducer-stateless5-2022-05-13/tree/main/test_wavs
|
| 21 |
+
[
|
| 22 |
+
"English",
|
| 23 |
+
"csukuangfj/icefall-asr-librispeech-pruned-transducer-stateless3-2022-05-13",
|
| 24 |
+
"greedy_search",
|
| 25 |
+
4,
|
| 26 |
+
"./test_wavs/librispeech/1089-134686-0001.wav",
|
| 27 |
+
],
|
| 28 |
+
[
|
| 29 |
+
"English",
|
| 30 |
+
"csukuangfj/icefall-asr-librispeech-pruned-transducer-stateless3-2022-05-13",
|
| 31 |
+
"greedy_search",
|
| 32 |
+
4,
|
| 33 |
+
"./test_wavs/librispeech/1221-135766-0001.wav",
|
| 34 |
+
],
|
| 35 |
+
[
|
| 36 |
+
"English",
|
| 37 |
+
"csukuangfj/icefall-asr-librispeech-pruned-transducer-stateless3-2022-05-13",
|
| 38 |
+
"greedy_search",
|
| 39 |
+
4,
|
| 40 |
+
"./test_wavs/librispeech/1221-135766-0002.wav",
|
| 41 |
+
],
|
| 42 |
+
# gigaspeech
|
| 43 |
+
[
|
| 44 |
+
"English",
|
| 45 |
+
"wgb14/icefall-asr-gigaspeech-pruned-transducer-stateless2",
|
| 46 |
+
"greedy_search",
|
| 47 |
+
4,
|
| 48 |
+
"./test_wavs/gigaspeech/1-minute-audiobook.opus",
|
| 49 |
+
],
|
| 50 |
+
[
|
| 51 |
+
"English",
|
| 52 |
+
"wgb14/icefall-asr-gigaspeech-pruned-transducer-stateless2",
|
| 53 |
+
"greedy_search",
|
| 54 |
+
4,
|
| 55 |
+
"./test_wavs/gigaspeech/100-seconds-podcast.opus",
|
| 56 |
+
],
|
| 57 |
+
[
|
| 58 |
+
"English",
|
| 59 |
+
"wgb14/icefall-asr-gigaspeech-pruned-transducer-stateless2",
|
| 60 |
+
"greedy_search",
|
| 61 |
+
4,
|
| 62 |
+
"./test_wavs/gigaspeech/100-seconds-youtube.opus",
|
| 63 |
+
],
|
| 64 |
# wenetspeech
|
| 65 |
# https://huggingface.co/luomingshuang/icefall_asr_wenetspeech_pruned_transducer_stateless2/tree/main/test_wavs
|
| 66 |
[
|
|
|
|
| 130 |
4,
|
| 131 |
"./test_wavs/aishell2/ID0012W0215.wav",
|
| 132 |
],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 133 |
# tal_csasr
|
| 134 |
# https://huggingface.co/luomingshuang/icefall_asr_tal-csasr_pruned_transducer_stateless5/tree/main/test_wavs
|
| 135 |
[
|