解码
decode_main
decode_main参数:
- rescoring_weight:如果为0,不需要rescore;不为0的任意值,要做rescore
- ctc_weight:rescore中,最终某条n-best分数 = score_aed + ctc_weight * score_ctc
binding
prefix beam search
参考 https://github.com/awni/speech
之前的笔记中解码代码:
1 | """ |
decode_main参数:
prefix beam search
参考 https://github.com/awni/speech
之前的笔记中解码代码:
1 | """ |