Create export-ncnn.sh
Browse filesAdded `export-ncnn.sh`.
- export-ncnn.sh +17 -0
export-ncnn.sh
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/usr/bin/env bash
|
2 |
+
|
3 |
+
./conv_emformer_transducer_stateless2_small/export-for-ncnn.py \
|
4 |
+
--exp-dir $exp_dir \
|
5 |
+
--bpe-model data/lang_bpe_500/bpe.model \
|
6 |
+
--epoch 99 \
|
7 |
+
--avg 1 \
|
8 |
+
--use-averaged-model False \
|
9 |
+
--num-encoder-layers 16 \
|
10 |
+
--chunk-length 32 \
|
11 |
+
--cnn-module-kernel 31 \
|
12 |
+
--left-context-length 32 \
|
13 |
+
--right-context-length 8 \
|
14 |
+
--memory-size 32 \
|
15 |
+
--encoder-dim 144 \
|
16 |
+
--dim-feedforward 576 \
|
17 |
+
--nhead 4
|