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

为什么best_ckpt文件夹里面,没有保存的模型。 #149

Closed
zjp78 opened this issue Apr 10, 2023 · 1 comment
Closed

为什么best_ckpt文件夹里面,没有保存的模型。 #149

zjp78 opened this issue Apr 10, 2023 · 1 comment

Comments

@zjp78
Copy link

zjp78 commented Apr 10, 2023

best_ckpt文件夹里面只有config.json,没有保存的模型,导致运行infor_lora_finetune时报错,找不到文件。有人遇到同样的问题么。

@ssbuild
Copy link
Owner

ssbuild commented Apr 10, 2023

  1. lora 按照loss保存模型已注释, 因此保存的模型路径在 last_ckpt文件夹 , 配置文件在best_ckpt , 复制best_ckpt config.json 到 last_ckpt, 修改infor_lora_finetune 代码路径即可。
  2. 有时间会更新下路径

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

2 participants