04d_train_MMI_FMMI.sh 1.3 KB
#!/bin/sh

. 00_init_paths.sh

# TODO : 
#	- AM : quinphones, MLP ....
#	- LM : perplexity on dev, native 4g, rnnLM

# MMI ---> 22.15

steps/make_denlats.sh --nj 20 --sub-split 20 --transform-dir exp/tri3b_ali data/train lang exp/tri3b exp/tri3b_denlats || exit 1;
steps/train_mmi.sh --boost 0.1 data/train lang exp/tri3b_ali exp/tri3b_denlats exp/tri3b_mmi_b0.1  || exit 1;

steps/decode.sh --nj 6 --transform-dir exp/tri3b/decode_dev exp/tri3b/graph data/dev exp/tri3b_mmi_b0.1/decode_dev

first, train UBM for fMMI experiments.
steps/train_diag_ubm.sh --silence-weight 0.5 --nj 20 600 data/train lang exp/tri3b_ali exp/dubm3b

# fMMI+MMI ---> 21.15
steps/train_mmi_fmmi.sh --boost 0.1 data/train lang exp/tri3b_ali exp/dubm3b exp/tri3b_denlats exp/tri3b_fmmi_a || exit 1;

for iter in 3 4 5 6 7 8; do
	steps/decode_fmmi.sh --nj 6  --iter $iter --transform-dir exp/tri3b/decode_dev  exp/tri3b/graph data/dev  exp/tri3b_fmmi_a/decode_dev_it$iter
done

# fMMI + mmi with indirect differential ---> 20.65
steps/train_mmi_fmmi_indirect.sh --boost 0.1 data/train lang exp/tri3b_ali exp/dubm3b exp/tri3b_denlats exp/tri3b_fmmi_indirect || exit 1;

for iter in 3 4 5 6 7 8; do
 steps/decode_fmmi.sh --nj 6  --iter $iter --transform-dir exp/tri3b/decode_dev  exp/tri3b/graph data/dev exp/tri3b_fmmi_indirect/decode_dev_it$iter
done