trunk: changes to number of parameters in pnorm example script for WSJ; adding RESULTS.

git-svn-id: https://svn.code.sf.net/p/kaldi/code/trunk@3310 5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8
This commit is contained in:
Dan Povey 2013-12-14 05:41:20 +00:00
Родитель 29e2e8e207
Коммит 8f8a788f07
2 изменённых файлов: 15 добавлений и 8 удалений

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

@ -225,3 +225,10 @@ exp/nnet5c1/decode_bd_tgpr_eval92/wer_14:%WER 4.39 [ 248 / 5643, 32 ins, 17 del,
%WER 7.04 [ 580 / 8234, 68 ins, 93 del, 419 sub ] exp/nnet5c_gpu/decode_bd_tgpr_dev93/wer_13 %WER 7.04 [ 580 / 8234, 68 ins, 93 del, 419 sub ] exp/nnet5c_gpu/decode_bd_tgpr_dev93/wer_13
%WER 3.86 [ 218 / 5643, 28 ins, 13 del, 177 sub ] exp/nnet5c_gpu/decode_bd_tgpr_eval92/wer_14 %WER 3.86 [ 218 / 5643, 28 ins, 13 del, 177 sub ] exp/nnet5c_gpu/decode_bd_tgpr_eval92/wer_14
# 5d is GPU version of pnorm recipe, with 4 jobs; compare with nnet5c.
%WER 7.13 [ 587 / 8234, 72 ins, 93 del, 422 sub ] exp/nnet5d_gpu/decode_bd_tgpr_dev93/wer_13
%WER 4.06 [ 229 / 5643, 31 ins, 16 del, 182 sub ] exp/nnet5d_gpu/decode_bd_tgpr_eval92/wer_14
# decoded with tgpr LM.
%WER 9.55 [ 786 / 8234, 163 ins, 83 del, 540 sub ] exp/nnet5d_gpu/decode_tgpr_dev93/wer_13
%WER 6.50 [ 367 / 5643, 95 ins, 16 del, 256 sub ] exp/nnet5d_gpu/decode_tgpr_eval92/wer_14

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

@ -1,7 +1,6 @@
#!/bin/bash #!/bin/bash
# This is pnorm neural net training on top of adapted 40-dimensional features. # This is pnorm neural net training on top of adapted 40-dimensional features.
#
train_stage=-100 train_stage=-100
@ -22,29 +21,30 @@ dir=exp/nnet5d_gpu
ln -s $temp_dir/$dir/egs $dir/ ln -s $temp_dir/$dir/egs $dir/
fi fi
steps/nnet2/train_pnorm.sh \ steps/nnet2/train_pnorm.sh --stage $train_stage \
--num-jobs-nnet 4 --num-threads 1 --parallel-opts "$parallel_opts" \ --num-jobs-nnet 4 --num-threads 1 --parallel-opts "$parallel_opts" \
--egs-dir exp/nnet5d_gpu/egs \
--mix-up 8000 \ --mix-up 8000 \
--initial-learning-rate 0.02 --final-learning-rate 0.002 \ --initial-learning-rate 0.02 --final-learning-rate 0.002 \
--num-hidden-layers 4 \ --num-hidden-layers 4 \
--pnorm-input-dim 5000 --pnorm-output-dim 1000\ --pnorm-input-dim 2000 --pnorm-output-dim 400 \
--cmd "$decode_cmd" \ --cmd "$decode_cmd" \
--p 2 \ --p 2 \
data/train_si284 data/lang exp/tri4b_ali_si284 $dir || exit 1 data/train_si284 data/lang exp/tri4b_ali_si284 $dir || exit 1
steps/nnet2/decode.sh --cmd "$decode_cmd" --nj 10 \
steps/decode_nnet_cpu.sh --cmd "$decode_cmd" --nj 10 \
--transform-dir exp/tri4b/decode_tgpr_dev93 \ --transform-dir exp/tri4b/decode_tgpr_dev93 \
exp/tri4b/graph_tgpr data/test_dev93 $dir/decode_tgpr_dev93 exp/tri4b/graph_tgpr data/test_dev93 $dir/decode_tgpr_dev93
steps/nnet2/decode.sh --cmd "$decode_cmd" --nj 8 \ steps/decode_nnet_cpu.sh --cmd "$decode_cmd" --nj 8 \
--transform-dir exp/tri4b/decode_tgpr_eval92 \ --transform-dir exp/tri4b/decode_tgpr_eval92 \
exp/tri4b/graph_tgpr data/test_eval92 $dir/decode_tgpr_eval92 exp/tri4b/graph_tgpr data/test_eval92 $dir/decode_tgpr_eval92
steps/nnet2/decode.sh --cmd "$decode_cmd" --nj 10 \ steps/decode_nnet_cpu.sh --cmd "$decode_cmd" --nj 10 \
--transform-dir exp/tri4b/decode_bd_tgpr_dev93 \ --transform-dir exp/tri4b/decode_bd_tgpr_dev93 \
exp/tri4b/graph_bd_tgpr data/test_dev93 $dir/decode_bd_tgpr_dev93 exp/tri4b/graph_bd_tgpr data/test_dev93 $dir/decode_bd_tgpr_dev93
steps/nnet2/decode.sh --cmd "$decode_cmd" --nj 8 \ steps/decode_nnet_cpu.sh --cmd "$decode_cmd" --nj 8 \
--transform-dir exp/tri4b/decode_bd_tgpr_eval92 \ --transform-dir exp/tri4b/decode_bd_tgpr_eval92 \
exp/tri4b/graph_bd_tgpr data/test_eval92 $dir/decode_bd_tgpr_eval92 exp/tri4b/graph_bd_tgpr data/test_eval92 $dir/decode_bd_tgpr_eval92
) )