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

把模型下载到本地后,还是会去huggingface下载,超时报错 #23

Open
zhuorson opened this issue Sep 26, 2024 · 0 comments

Comments

@zhuorson
Copy link

pipeline = ExpansionPipeline(
ExpansionConfig(),
rec_module=RedialRec.from_pretrained('recwizard/redial-rec'),
gen_module=ChatgptGen.from_pretrained('recwizard/chatgpt-expansion')
)
把from_pretrained的模型下载到本地后,改成from_pretrained('/root/RecWizard-main/redial-rec'),还是会上huggingface下载,超时报错。请问,从本地怎么加载模型?

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

1 participant