zjunlp / KnowPrompt

[WWW 2022] KnowPrompt: Knowledge-aware Prompt-tuning with Synergistic Optimization for Relation Extraction
MIT License
195 stars 34 forks source link

跑代码报错:ValueError: Connection error, and we cannot find the requested files in the cached path. Please try again or make sure your Internet connection is on. #24

Closed yangqianBLCU closed 1 year ago

yangqianBLCU commented 1 year ago
截屏2023-10-18 15 23 07

而且已经把reberta-large模型下载到本地,也更改了main.py中的from_pretrain()的地址,还是报错

zxlzr commented 1 year ago

您好看报错是您的网络问题模型没下载成功,建议您可以先把模型下载本地再重试一下。

yangqianBLCU commented 1 year ago

您好看报错是您的网络问题模型没下载成功,建议您可以先把模型下载本地再重试一下。

而且已经把reberta-large模型下载到本地,也更改了main.py中的from_pretrain()的地址,还是报错

yangqianBLCU commented 1 year ago
截屏2023-10-18 15 40 44 截屏2023-10-18 15 41 25

已经进行下载模型到本地和改地址操作,还是没有解决问题,请问有什么好的方法吗? 谢谢

yangqianBLCU commented 5 months ago

我记得我当时就是下载到本地加载这样

---- 回复的原邮件 ---- | 发件人 | @.> | | 发送日期 | 2024年07月05日 19:23 | | 收件人 | zjunlp/KnowPrompt @.> | | 抄送人 | yangqian @.>, Comment @.> | | 主题 | Re: [zjunlp/KnowPrompt] 跑代码报错:ValueError: Connection error, and we cannot find the requested files in the cached path. Please try again or make sure your Internet connection is on. (Issue #24) |

已经进行下载模型到本地和改地址操作,还是没有解决问题,请问有什么好的方法吗? 谢谢

你好,请问这个问题你解决了吗?迫切期待你的回复,谢谢

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>