Errors on loading the checkpoint for indexing the corpus #59
-
Hi, I am trying to run the model with provided checkpoint. I download the PyTorch lightening checkpoint from hugginface and save them to ReProver/ckpts/leandojo-pl-ckpts, However, when I ran
I got error like this:
I would really appreciate if you can share your thoughts on possible solutions!!! The packages' version are:
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
I have solved this problem. If someone encounter the same problem as mine, please try changing the content in the file 'latest' to 'checkpoint'. |
Beta Was this translation helpful? Give feedback.
-
It looks like PyTorch Lightning or DeepSpeed has changed their checkpoint format recently, and some old checkpoints are no longer loadable by the new version. I'm trying to re-train all models, which will finish in the next week or so. |
Beta Was this translation helpful? Give feedback.
-
I just updated the evaluation script to use Hugging Face checkpoints instead of PyTorch Lightning checkpoints, which hopefully can eliminate this issue. Please follow the instructions in the new README. Feel free to re-open it if you have other questions. |
Beta Was this translation helpful? Give feedback.
I just updated the evaluation script to use Hugging Face checkpoints instead of PyTorch Lightning checkpoints, which hopefully can eliminate this issue. Please follow the instructions in the new README. Feel free to re-open it if you have other questions.