wenet-e2e / wenet

Production First and Production Ready End-to-End Speech Recognition Toolkit
https://wenet-e2e.github.io/wenet/
Apache License 2.0
4.13k stars 1.07k forks source link

转换后的paraformer模型可使用decoder_main进行解码吗? #2402

Closed RyanFlying closed 4 months ago

RyanFlying commented 7 months ago

期望转换后paraformer模型能够直接使用decoder_main进行解码,这样相当于带了语言模型进行解码。

Mddct commented 7 months ago

目前只能用recognize.py, 欢迎提pr

wwfcnu commented 7 months ago

按照paraformer的units生成了TLG,需要怎么修改decoder_main