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

微调后的模型 #1222

Open
yzc111 opened this issue Nov 14, 2024 · 1 comment
Open

微调后的模型 #1222

yzc111 opened this issue Nov 14, 2024 · 1 comment

Comments

@yzc111
Copy link

yzc111 commented Nov 14, 2024

你好,请问哪个是微调后的模型呢? 微调后会有多个checkpoint文件,同级目录中有一个model.safetensors,应该使用哪个作为最后的结果呢?

@hanhainebula
Copy link
Collaborator

你好,@yzc111。同级目录中的 model.safetensors 是经过完整训练得到的模型参数,checkpoint 文件夹中是训练过程中保存的模型参数,比如 checkpoint-1000 表示训练 1000 个 step 时保存的模型文件。一般使用最终训练的模型文件,也可以根据下游测试集上的测试结果来选取更优的模型文件。

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