Add scripts to export ASR models from wenet to ONNX (#425)

See
https://user-images.githubusercontent.com/5284924/282995968-f6d39118-8008-4ce7-9d7c-d1d6387ac183.png
This commit is contained in:
Fangjun Kuang
2023-11-15 11:41:15 +08:00
committed by GitHub
parent 097d641869
commit d34640e3a3
7 changed files with 1163 additions and 0 deletions

10
scripts/wenet/README.md Normal file
View File

@@ -0,0 +1,10 @@
# Introduction
This folder contains script for exporting models
from [wenet](https://github.com/wenet-e2e/wenet)
to onnx. You can use the exported models in sherpa-onnx.
Note that both **streaming** and **non-streaming** models are supported.
We only use the CTC branch. Rescore with the attention decoder
is not supported, though decoding with H, HL, and HLG is supported.