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

translation模型一定要存在么? #82

Open
datuizhuang opened this issue Apr 18, 2024 · 2 comments
Open

translation模型一定要存在么? #82

datuizhuang opened this issue Apr 18, 2024 · 2 comments

Comments

@datuizhuang
Copy link

公司内网无法连接外部,没有下载translation模型,启动脚本也选择了 --no_translator,然后还是会去下载这个模型,导致requests.exceptions.ConnectionError. 请问这是写死在哪里了吗?

@tyxsspa
Copy link
Owner

tyxsspa commented Apr 18, 2024

目前modelscope的机制是这样的,必须把所有模型文件都下载到缓存,跟是否有--no_translator无关。建议还是下一份完整的吧

@datuizhuang
Copy link
Author

目前modelscope的机制是这样的,必须把所有模型文件都下载到缓存,跟是否有--no_translator无关。建议还是下一份完整的吧

感谢~ 另外我把ms_wrapper.py里面的init_model()这个方法中self.trans_pipe = ....给注释掉就行了

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