Skip to content
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

Why did we freeze these packages? #8

Open
lgessler opened this issue Oct 18, 2020 · 2 comments
Open

Why did we freeze these packages? #8

lgessler opened this issue Oct 18, 2020 · 2 comments

Comments

@lgessler
Copy link
Collaborator

The following packages are frozen in requirements.txt:

flair==0.4.5
pandas<0.24
scikit-learn==0.22.1
torch<1.6
xgboost==0.90
@lgessler
Copy link
Collaborator Author

torch<1.6: this is because we're still using stanfordnlp, which uses some code which uses a deprecated matrix operation. (Upgrading stanfordnlp to stanza will fix this--see #3)
scikit-learn: there are pickles somewhere in our repo that we're loading that were produced under this scikit-learn version
flair==0.4.5: various pieces of code make assumptions about Flair's API and semantics that are no longer true for flair>0.4

@nitinvwaran
Copy link
Contributor

nitinvwaran commented Nov 6, 2020

I was involved in the freezing of xgboost. The POS ensemble model would not load for xgboost > 0.90 because of serialization issues. Don't recall the exact error but i recall v1.0 did upgrades to their serialization mechanism that weren't backward compatible. More details are here: https://xgboost.readthedocs.io/en/latest/tutorials/saving_model.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants