Create export.sh
Browse files- exp/export.sh +26 -0
exp/export.sh
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/usr/bin/env bash
|
2 |
+
|
3 |
+
python zipformer/export_onnx.py \
|
4 |
+
--exp-dir zipformer/exp \
|
5 |
+
--tokens ./data/zh-HK/lang_char/tokens.txt \
|
6 |
+
--epoch 24 \
|
7 |
+
--avg 5 \
|
8 |
+
--context-size 1 \
|
9 |
+
--use-averaged-model 1
|
10 |
+
|
11 |
+
python zipformer/export.py \
|
12 |
+
--exp-dir zipformer/exp \
|
13 |
+
--tokens ./data/zh-HK/lang_char/tokens.txt \
|
14 |
+
--epoch 24 \
|
15 |
+
--avg 5 \
|
16 |
+
--context-size 1 \
|
17 |
+
--use-averaged-model 1
|
18 |
+
|
19 |
+
python zipformer/export.py \
|
20 |
+
--exp-dir zipformer/exp \
|
21 |
+
--tokens ./data/zh-HK/lang_char/tokens.txt \
|
22 |
+
--epoch 24 \
|
23 |
+
--avg 5 \
|
24 |
+
--use-averaged-model 1 \
|
25 |
+
--context-size 1 \
|
26 |
+
--jit 1
|