Create pretrained.sh
Browse files- exp/pretrained.sh +15 -0
exp/pretrained.sh
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
export CUDA_VISIBLE_DEVICES="0"
|
2 |
+
|
3 |
+
for m in greedy_search modified_beam_search fast_beam_search; do
|
4 |
+
./pruned_transducer_stateless7_streaming/pretrained.py \
|
5 |
+
--checkpoint ./pruned_transducer_stateless7_streaming/exp/pretrained.pt \
|
6 |
+
--bpe-model ./data/lang_bpe_500/bpe.model \
|
7 |
+
--method $m \
|
8 |
+
--beam-size 4 \
|
9 |
+
--beam 4 \
|
10 |
+
--max-contexts 4 \
|
11 |
+
--max-states 8 \
|
12 |
+
test_wavs/common_voice_fr_19364697.wav \
|
13 |
+
test_wavs/common_voice_fr_19738183.wav \
|
14 |
+
test_wavs/common_voice_fr_27024649.wav
|
15 |
+
done
|