av_hubert
av_hubert copied to clipboard
How to train a LM used for decoding
Hi, Thank you for your work. I saw lm_model and lm_weight in the config file. But how to train this LM using our own text data?
Hi,
We didn't use LM during decoding. If you want to use a language model, you can follow the fairseq LM instructions for training.
Hi,
We didn't use LM during decoding. If you want to use a language model, you can follow the fairseq LM instructions for training.
Thank you for your reply. We have trained an LM following the fairseq LM instructions and it worked. Although the decoding results with LM are not as better as we expected.