FastASR icon indicating copy to clipboard operation
FastASR copied to clipboard

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

Open flyingdouers opened this issue 1 year ago • 2 comments

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

flyingdouers avatar Mar 08 '24 08:03 flyingdouers

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

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

chenkui164 avatar Mar 08 '24 09:03 chenkui164

好的,感谢

flyingdouers avatar Mar 28 '24 07:03 flyingdouers