huggingface / transfer-learning-conv-ai

🦄 State-of-the-Art Conversational AI with Transfer Learning
MIT License
1.74k stars 430 forks source link

Load model checkpoint #122

Open raihan0824 opened 2 years ago

raihan0824 commented 2 years ago

Hi there! I've trained my model and my server was down after the first epoch. How can I load the model checkpoint? When I run train.py I got the following error:

ValueError: Files ['checkpoint_mymodel_28215.pt'] with extension '.pt' are already present in the directory model. If you want to use this directory anyway, pass 'require_empty=False'.