diff --git a/egs/librispeech/ASR/conformer_ctc2/.decode.py.swp b/egs/librispeech/ASR/conformer_ctc2/.decode.py.swp index 730118e13..16c77f3b4 100644 Binary files a/egs/librispeech/ASR/conformer_ctc2/.decode.py.swp and b/egs/librispeech/ASR/conformer_ctc2/.decode.py.swp differ diff --git a/icefall/.decode.py.swp b/icefall/.decode.py.swp index 6f3663120..4d513d265 100644 Binary files a/icefall/.decode.py.swp and b/icefall/.decode.py.swp differ diff --git a/icefall/decode.py b/icefall/decode.py index 1e26e4e5d..1069d2fb8 100644 --- a/icefall/decode.py +++ b/icefall/decode.py @@ -954,7 +954,7 @@ def rescore_with_attention_decoder( assert nll.shape[0] == len(token_ids) attention_scores = -nll.sum(dim=1) - + if ngram_lm_scale is None: ngram_lm_scale_list = [0.01, 0.05, 0.08] ngram_lm_scale_list += [0.1, 0.3, 0.5, 0.6, 0.7, 0.9, 1.0]