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

微调中断后如何继续训练 #670

Open
wanghaolan123 opened this issue Nov 16, 2024 · 1 comment
Open

微调中断后如何继续训练 #670

wanghaolan123 opened this issue Nov 16, 2024 · 1 comment

Comments

@wanghaolan123
Copy link

在使用官方提供的finetune_lora.sh对MiniCPM-V-2.6进行微调的时候中断了,请问如何从已保存的checkpoint进行继续训练?

@LDLINGLINGLING
Copy link
Collaborator

训练的finetune脚本中的trainer.train()括号中增加resume_from_checkpoint='/path/to/checkpoint'

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