wenet icon indicating copy to clipboard operation
wenet copied to clipboard

How can I use LM + attention correcting?

Open rookie0607 opened this issue 2 years ago • 1 comments

At present, I have implemented CTC prefix beam search + LM in aishell1. How can I use LM + attention correcting?

rookie0607 avatar Sep 13 '22 11:09 rookie0607

Just prepare the nbest candidates and feed it to rescoring module, please refer https://github.com/wenet-e2e/wenet/blob/main/runtime/core/decoder/asr_decoder.cc#L80.

robin1001 avatar Sep 14 '22 01:09 robin1001