Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

大佬,基于少量孤立词的模型压缩请指点 #77

Open
flyingdouers opened this issue Mar 8, 2024 · 2 comments
Open

大佬,基于少量孤立词的模型压缩请指点 #77

flyingdouers opened this issue Mar 8, 2024 · 2 comments

Comments

@flyingdouers
Copy link

使用 k2_rnnt2_cli中的模型,我现在的字典库只需要50个汉字,bin模型能变的小点么?如果可以,我应该怎么做!

@chenkui164
Copy link
Owner

模型大小是无法更改的,只能是选择一个更小的模型。

使用这个项目吧,https://github.com/k2-fsa/sherpa-onnx
里面包含很多预模型,https://k2-fsa.github.io/sherpa/onnx/pretrained_models/index.html
如果太占CPU可以选择模型小的模型,或者使用int8的一些仿真的版本。

@flyingdouers
Copy link
Author

好的,感谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants