Adding tuned parameters for new pnorm recipe (Babel fullLP)

git-svn-id: https://svn.code.sf.net/p/kaldi/code/trunk@3334 5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8
This commit is contained in:
Guoguo Chen 2013-12-21 08:27:11 +00:00
Родитель e07d733c08
Коммит 13c2714900
3 изменённых файлов: 13 добавлений и 6 удалений

Просмотреть файл

@ -1,14 +1,14 @@
# DNN hybrid system training parameters # DNN hybrid system training parameters
dnn_num_hidden_layers=5 dnn_num_hidden_layers=4
dnn_input_dim=5000 dnn_input_dim=4000
dnn_output_dim=500 dnn_output_dim=400
dnn_minibatch_size=128 dnn_minibatch_size=128
dnn_init_learning_rate=0.008 dnn_init_learning_rate=0.008
dnn_final_learning_rate=0.0008 dnn_final_learning_rate=0.0008
dnn_max_change=10 dnn_max_change=10
dnn_num_jobs=8 dnn_num_jobs=8
dnn_num_threads=1 dnn_num_threads=1
dnn_mixup=5000 dnn_mixup=12000
dnn_parallel_opts="-l gpu=1,hostname=g*" dnn_parallel_opts="-l gpu=1,hostname=g*"
bnf_every_nth_frame=2 # take every 2nd frame. bnf_every_nth_frame=2 # take every 2nd frame.
@ -18,7 +18,10 @@ use_pitch=false
lmwt_plp_extra_opts=( --min-lmwt 8 --max-lmwt 12 ) lmwt_plp_extra_opts=( --min-lmwt 8 --max-lmwt 12 )
lmwt_bnf_extra_opts=( --min-lmwt 13 --max-lmwt 18 ) lmwt_bnf_extra_opts=( --min-lmwt 13 --max-lmwt 18 )
lmwt_dnn_extra_opts=( --min-lmwt 8 --max-lmwt 12 ) lmwt_dnn_extra_opts=( --min-lmwt 9 --max-lmwt 13 )
dnn_beam=16.0
dnn_lat_beam=8.5
icu_opt=(--use-icu true --icu-transform Any-Lower) icu_opt=(--use-icu true --icu-transform Any-Lower)

Просмотреть файл

@ -18,7 +18,10 @@ use_pitch=false
lmwt_plp_extra_opts=( --min-lmwt 8 --max-lmwt 12 ) lmwt_plp_extra_opts=( --min-lmwt 8 --max-lmwt 12 )
lmwt_bnf_extra_opts=( --min-lmwt 13 --max-lmwt 18 ) lmwt_bnf_extra_opts=( --min-lmwt 13 --max-lmwt 18 )
lmwt_dnn_extra_opts=( --min-lmwt 8 --max-lmwt 12 ) lmwt_dnn_extra_opts=( --min-lmwt 9 --max-lmwt 13 )
dnn_beam=16.0
dnn_lat_beam=8.5
icu_opt=(--use-icu true --icu-transform Any-Lower) icu_opt=(--use-icu true --icu-transform Any-Lower)

Просмотреть файл

@ -332,6 +332,7 @@ if [ -f exp/tri6_nnet/.done ]; then
if [ ! -f $decode/.done ]; then if [ ! -f $decode/.done ]; then
mkdir -p $decode mkdir -p $decode
steps/nnet2/decode.sh --cmd "$decode_cmd" --nj $my_nj \ steps/nnet2/decode.sh --cmd "$decode_cmd" --nj $my_nj \
--beam $dnn_beam --lat-beam $dnn_lat_beam \
--skip-scoring true "${decode_extra_opts[@]}" \ --skip-scoring true "${decode_extra_opts[@]}" \
--transform-dir exp/tri5/decode_${dirid} \ --transform-dir exp/tri5/decode_${dirid} \
exp/tri5/graph ${datadir} $decode |tee $decode/decode.log exp/tri5/graph ${datadir} $decode |tee $decode/decode.log