Blame view

egs/aurora4/s5/local/run_rnnlms_tri3b.sh 2.5 KB
8dcb6dfcb   Yannick Estève   first commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
  #!/bin/bash
  
  . ./cmd.sh
  
   # This step interpolates a small RNNLM (with weight 0.25) with the 4-gram LM.
  steps/rnnlmrescore.sh \
    --N 100 --cmd "$decode_cmd" --inv-acwt 17 \
    0.25 data/lang_test_bd_fg data/local/rnnlm.h30.voc10k data/test_eval92 \
    exp/tri3b/decode_bd_tgpr_eval92_fg exp/tri3b/decode_bd_tgpr_eval92_fg_rnnlm30_0.25  \
    || exit 1;
  
  steps/rnnlmrescore.sh \
    --N 100 --cmd "$decode_cmd" --inv-acwt 17 \
    0.5 data/lang_test_bd_fg data/local/rnnlm.h100.voc20k data/test_eval92 \
    exp/tri3b/decode_bd_tgpr_eval92_fg exp/tri3b/decode_bd_tgpr_eval92_fg_rnnlm100_0.5 \
    || exit 1;
  
  steps/rnnlmrescore.sh \
    --N 100 --cmd "$decode_cmd" --inv-acwt 17 \
    0.5 data/lang_test_bd_fg data/local/rnnlm.h200.voc30k data/test_eval92 \
    exp/tri3b/decode_bd_tgpr_eval92_fg exp/tri3b/decode_bd_tgpr_eval92_fg_rnnlm200_0.5 \
    || exit 1;
  
  steps/rnnlmrescore.sh \
    --N 100 --cmd "$decode_cmd" --inv-acwt 17 \
    0.5 data/lang_test_bd_fg data/local/rnnlm.h300.voc40k data/test_eval92 \
    exp/tri3b/decode_bd_tgpr_eval92_fg exp/tri3b/decode_bd_tgpr_eval92_fg_rnnlm300_0.5 \
    || exit 1;
  
  steps/rnnlmrescore.sh \
    --N 1000 --cmd "$decode_cmd" --inv-acwt 17 \
    0.5 data/lang_test_bd_fg data/local/rnnlm.h300.voc40k data/test_eval92 \
    exp/tri3b/decode_bd_tgpr_eval92_fg exp/tri3b/decode_bd_tgpr_eval92_fg_rnnlm300_0.5_N1000 
  
  dir=exp/tri3b/decode_bd_tgpr_eval92_fg_rnnlm300_0.75_N1000
  rm -rf $dir
  cp -r exp/tri3b/decode_bd_tgpr_eval92_fg_rnnlm300_0.5_N1000 $dir
  steps/rnnlmrescore.sh \
    --stage 7 --N 1000 --cmd "$decode_cmd" --inv-acwt 17 \
    0.75 data/lang_test_bd_fg data/local/rnnlm.h300.voc40k data/test_eval92 \
    exp/tri3b/decode_bd_tgpr_eval92_fg $dir
  
  dir=exp/tri3b/decode_bd_tgpr_eval92_fg_rnnlm300_0.75
  rm -rf $dir
  cp -r exp/tri3b/decode_bd_tgpr_eval92_fg_rnnlm300_0.5 $dir
  steps/rnnlmrescore.sh \
    --stage 7 --N 100 --cmd "$decode_cmd" --inv-acwt 17 \
    0.75 data/lang_test_bd_fg data/local/rnnlm.h300.voc40k data/test_eval92 \
    exp/tri3b/decode_bd_tgpr_eval92_fg $dir
  
  dir=exp/tri3b/decode_bd_tgpr_eval92_fg_rnnlm300_0.25
  rm -rf $dir
  cp -r exp/tri3b/decode_bd_tgpr_eval92_fg_rnnlm300_0.5 $dir
  steps/rnnlmrescore.sh \
    --stage 7 --N 100 --cmd "$decode_cmd" --inv-acwt 17 \
    0.25 data/lang_test_bd_fg data/local/rnnlm.h300.voc40k data/test_eval92 \
    exp/tri3b/decode_bd_tgpr_eval92_fg $dir
  
  steps/rnnlmrescore.sh \
    --N 10 --cmd "$decode_cmd" --inv-acwt 17 \
    0.5 data/lang_test_bd_fg data/local/rnnlm.h300.voc40k data/test_eval92 \
    exp/tri3b/decode_bd_tgpr_eval92_fg exp/tri3b/decode_bd_tgpr_eval92_fg_rnnlm300_0.5_N10 \
    || exit 1;