FlagEmbedding icon indicating copy to clipboard operation
FlagEmbedding copied to clipboard

How do I resume training from a saved checkpoint?

Open daegonYu opened this issue 1 year ago • 4 comments

I have fine-tuned the reranker through this github. I would like to continue learning from the saved checkpoint. Can you give me some instructions on how to do that?

daegonYu avatar Sep 29 '24 10:09 daegonYu

You can pass the fine-tuned model to --model_name_or_path

staoxiao avatar Sep 30 '24 08:09 staoxiao

This method is not a method to continue learning from the model's interrupted LR and train dataset, but a method to additionally learn from an initialized state, right?

daegonYu avatar Sep 30 '24 09:09 daegonYu

This method is not a method to continue learning from the model's interrupted LR and train dataset, but a method to additionally learn from an initialized state, right?

Yes. The current script doesn't implement the function to resume training from the previous state.

staoxiao avatar Sep 30 '24 13:09 staoxiao

Thank you for your reply.

daegonYu avatar Oct 01 '24 23:10 daegonYu