Open csukuangfj opened 1 year ago
https://github.com/k2-fsa/sherpa-onnx/pull/147 added shallow fusion with RNNLM.
We also need to support it in sherpa
The first step is to use https://github.com/k2-fsa/icefall/pull/1050 as a reference to export the model via torchscript.
The next step is to use https://github.com/k2-fsa/sherpa-onnx/pull/147 as a reference to add code to sherpa. You can translate the code directly from sherpa-onnx to sherpa.
Help from the community is highly appreciated. If you have any doubts, please leave a message and we can help you.
https://github.com/k2-fsa/sherpa-onnx/pull/147 added shallow fusion with RNNLM.
We also need to support it in sherpa
The first step is to use https://github.com/k2-fsa/icefall/pull/1050 as a reference to export the model via torchscript.
The next step is to use https://github.com/k2-fsa/sherpa-onnx/pull/147 as a reference to add code to sherpa. You can translate the code directly from sherpa-onnx to sherpa.
Help from the community is highly appreciated. If you have any doubts, please leave a message and we can help you.