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

FileNotFoundError: [Errno 2] No such file or directory: 'qwen7b_multirounds/adapter_model.bin' 如何解决 #84

Open
whysirier opened this issue Dec 8, 2023 · 8 comments

Comments

@whysirier
Copy link

No description provided.

@whysirier
Copy link
Author

根据例子安装包的版本就好了

@L4HeyXiao
Copy link

那个bin,成了safetensors文件,可以
from safetensors.torch import save_file, load_file
self.net.load_state_dict(
load_file(os.path.join(ckpt_path,'adapter_model.safetensors')),strict =False)

@KKK66661
Copy link

你好 ,我想问一下您们解决了吗,

@whysirier
Copy link
Author

你好 ,我想问一下您们解决了吗,

解决了,您照着example下的例子就能运行,网上的csdn代码报错应该是包版本不匹配的原因

1 similar comment
@whysirier
Copy link
Author

你好 ,我想问一下您们解决了吗,

解决了,您照着example下的例子就能运行,网上的csdn代码报错应该是包版本不匹配的原因

@xuxiaoru
Copy link

是哪个包的版本呢,torchkeras吗

@whysirier
Copy link
Author

是哪个包的版本呢,torchkeras吗

是的

@whysirier
Copy link
Author

会造成%%chat无法使用。
会造成%%chat无法使用。确实用不了

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

4 participants