-
Notifications
You must be signed in to change notification settings - Fork 81
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
Loading a model from 0.4.1 in 0.5.11 #185
Comments
@dimidd thanks again for the bug reports. Going to dig into it -- did not expect this change to break saved model files. |
Could you post a traceback? This is a very sensical problem to be caused by that upgrade but I'm unable to reproduce.
|
Sorry, I think it was even an earlier version than 5.10, perhaps 0.5. Is this metadata somehow saved in the model file? |
BTW, I guess the documentation should be updated as well, since it seems that |
P.S. could this change have affected |
|
Digging into the |
@dimidd OK an update on the
You can use this in conjunction with the |
@dimidd Seems like there are substantial holes in the documentation for these things and some out of date docs in a few cases. Going to try to block out some time next week to make your life a bit easier in that regard. Thanks for bearing with us! |
Great, thanks a lot! Re the loading issue, perhaps we shouldn't bother with backward compatibility for earlier finetune versions, if there are more pressing issues. |
@dimidd I think that's wise -- because the project is young we were not too worried about preserving model save files between major finetune versions, but I am sorry we made life hard for you. Hope retraining is not too bad. Thanks again, closing for now! |
Describe the bug
After saving a model on
5.10
usingClassifier.save("my_model.bin")
, upgrading to5.11
.Loading using
Classifier.load("my_model.bin")
results inKeyError: 'base_model_path'
The text was updated successfully, but these errors were encountered: