Closed ethanlabelle closed 4 months ago
You might be using the new code to load a model checkpoint trained by the old code? If so, this error is expected. We used to have the max_seq_len
hyperparameter but later split it into max_inp_seq_len
and max_oup_seq_len
.
You might be using the new code to load a model checkpoint trained by the old code? If so, this error is expected. We used to have the
max_seq_len
hyperparameter but later split it intomax_inp_seq_len
andmax_oup_seq_len
.
I guess they might be using the checkpoints from https://huggingface.co/kaiyuy/leandojo-pl-ckpts/tree/main. Do you have plan to update them?
You might be using the new code to load a model checkpoint trained by the old code? If so, this error is expected. We used to have the
max_seq_len
hyperparameter but later split it intomax_inp_seq_len
andmax_oup_seq_len
.I guess they might be using the checkpoints from https://huggingface.co/kaiyuy/leandojo-pl-ckpts/tree/main. Do you have plan to update them?
Oh, indeed. I'll re-train the model and update those checkpoints. I've been a bit swamped recently, but I hope to do that in the next month. Before the checkpoints are updated, you can change the code manually in order to load the current checkpoints.
You might be using the new code to load a model checkpoint trained by the old code? If so, this error is expected. We used to have the
max_seq_len
hyperparameter but later split it intomax_inp_seq_len
andmax_oup_seq_len
.I guess they might be using the checkpoints from https://huggingface.co/kaiyuy/leandojo-pl-ckpts/tree/main. Do you have plan to update them?
Oh, indeed. I'll re-train the model and update those checkpoints. I've been a bit swamped recently, but I hope to do that in the next month. Before the checkpoints are updated, you can change the code manually in order to load the current checkpoints.
Thank you for your devotion to open-source all the way.
should be fixed
Here is the trace:
I have been working on a branch that is 50 commits behind main and recently merged the new commits. This is a new error- seems the parameter from the config *.yaml can be used, but for now I will just add values of 1024 for these 2 arguments.