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

编辑完的baichuan-13b该如何保存 #11

Open
sichehu opened this issue Jul 17, 2023 · 3 comments
Open

编辑完的baichuan-13b该如何保存 #11

sichehu opened this issue Jul 17, 2023 · 3 comments

Comments

@sichehu
Copy link

sichehu commented Jul 17, 2023

我save_pretrained()后的模型推理时有nan错误

@hiyouga
Copy link
Owner

hiyouga commented Jul 18, 2023

Baichuan-13B 模型文件是否用 [1] 替换?

[1] https://github.com/hiyouga/LLaMA-Efficient-Tuning/blob/main/tests/modeling_baichuan.py

@sichehu
Copy link
Author

sichehu commented Jul 19, 2023

Baichuan-13B 模型文件是否用 [1] 替换?

[1] https://github.com/hiyouga/LLaMA-Efficient-Tuning/blob/main/tests/modeling_baichuan.py

替换了之后确实可以进行推理了,不过模型的性能好像有点崩,回答
image
image

@maverick19910614
Copy link

我save_pretrained()后的模型推理时有nan错误

请问一下fastedit跑完之后直接就可以用吗

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

3 participants