From 0812a3df200939612d0ef911bc0e27242b905eeb Mon Sep 17 00:00:00 2001 From: Hui Zhang Date: Wed, 27 Oct 2021 05:00:14 +0000 Subject: [PATCH] add more join ctc decode conf --- examples/librispeech/s2/conf/decode/decode.yaml | 4 ++-- examples/librispeech/s2/conf/decode/decode_att.yaml | 7 +++++++ .../s2/conf/decode/{decode_all.yaml => decode_ctc.yaml} | 4 ++-- 3 files changed, 11 insertions(+), 4 deletions(-) create mode 100644 examples/librispeech/s2/conf/decode/decode_att.yaml rename examples/librispeech/s2/conf/decode/{decode_all.yaml => decode_ctc.yaml} (73%) diff --git a/examples/librispeech/s2/conf/decode/decode.yaml b/examples/librispeech/s2/conf/decode/decode.yaml index 4c702db56..98b36d175 100644 --- a/examples/librispeech/s2/conf/decode/decode.yaml +++ b/examples/librispeech/s2/conf/decode/decode.yaml @@ -1,7 +1,7 @@ batchsize: 0 beam-size: 60 -ctc-weight: 0.0 -lm-weight: 0.0 +ctc-weight: 0.4 +lm-weight: 0.6 maxlenratio: 0.0 minlenratio: 0.0 penalty: 0.0 diff --git a/examples/librispeech/s2/conf/decode/decode_att.yaml b/examples/librispeech/s2/conf/decode/decode_att.yaml new file mode 100644 index 000000000..4c702db56 --- /dev/null +++ b/examples/librispeech/s2/conf/decode/decode_att.yaml @@ -0,0 +1,7 @@ +batchsize: 0 +beam-size: 60 +ctc-weight: 0.0 +lm-weight: 0.0 +maxlenratio: 0.0 +minlenratio: 0.0 +penalty: 0.0 diff --git a/examples/librispeech/s2/conf/decode/decode_all.yaml b/examples/librispeech/s2/conf/decode/decode_ctc.yaml similarity index 73% rename from examples/librispeech/s2/conf/decode/decode_all.yaml rename to examples/librispeech/s2/conf/decode/decode_ctc.yaml index 87d5f6d19..867bf6118 100644 --- a/examples/librispeech/s2/conf/decode/decode_all.yaml +++ b/examples/librispeech/s2/conf/decode/decode_ctc.yaml @@ -1,7 +1,7 @@ batchsize: 0 beam-size: 60 ctc-weight: 0.4 -lm-weight: 0.6 +lm-weight: 0.0 maxlenratio: 0.0 minlenratio: 0.0 -penalty: 0.0 \ No newline at end of file +penalty: 0.0