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

不用modelscope怎么加载modelscope的模型 #56

Open
reporter-law opened this issue Oct 24, 2023 · 2 comments
Open

不用modelscope怎么加载modelscope的模型 #56

reporter-law opened this issue Oct 24, 2023 · 2 comments

Comments

@reporter-law
Copy link

2023.1.12 我们在阿里巴巴魔搭社区开源了两个最新的SOTA纠错模型(基于BART),分别面向通用领域法律领域,支持一键调用推理和Demo试玩,欢迎大家试用:通用领域,法律领域。

如何使用transformer加载该类模型?

@HillZhang1999
Copy link
Owner

需要手动转换一下保存的权重,适配transformer的载入格式

@reporter-law
Copy link
Author

需要手动转换一下保存的权重,适配transformer的载入格式

手动转换后的模型预测为乱码

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