You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Exception has occurred: FileNotFoundError
[Errno 2] No such file or directory: "C:\Users\Ad'min\AppData\Local\Temp\tmpwfgqi39a/./preweight/configuration_chatglm.py"
File "F:\ChatGLM-6B-main\ptuning\transbert.py", line 12, in
config = AutoConfig.from_pretrained(pretrained_model_name_or_path='./preweight/',trust_remote_code=True) # E.g. config (or model) was saved using save_pretrained('./test/saved_model/')
FileNotFoundError: [Errno 2] No such file or directory: "C:\Users\Ad'min\AppData\Local\Temp\tmpwfgqi39a/./preweight/configuration_chatglm.py"
The text was updated successfully, but these errors were encountered:
操作环境:WIN10+VSCODE
我已经把模型下载到本地文件夹preweight,然后采用如下函数测试,系统报错
config = AutoConfig.from_pretrained(pretrained_model_name_or_path='./preweight/',trust_remote_code=True)
Exception has occurred: FileNotFoundError
[Errno 2] No such file or directory: "C:\Users\Ad'min\AppData\Local\Temp\tmpwfgqi39a/./preweight/configuration_chatglm.py"
File "F:\ChatGLM-6B-main\ptuning\transbert.py", line 12, in
config = AutoConfig.from_pretrained(pretrained_model_name_or_path='./preweight/',trust_remote_code=True) # E.g. config (or model) was saved using
save_pretrained('./test/saved_model/')
FileNotFoundError: [Errno 2] No such file or directory: "C:\Users\Ad'min\AppData\Local\Temp\tmpwfgqi39a/./preweight/configuration_chatglm.py"
The text was updated successfully, but these errors were encountered: