You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current my_allennlp implementation tries to access variables that have been removed after version 0.9, e.g. DEFAULT_PREDICTORS.
The current version of AllenNLP is 2.1.0.
I have tried installing 0.9.0 instead, but this seems to fail on my system with Python 3.8.
I can install AllenNLP 1.5.0 and 2.1.0 just fine.
The text was updated successfully, but these errors were encountered:
At least for allennlp 1.5.0, the fix seems to be quite easy:
Instead of accessing the former global DEFAULT_PREDICTORS in my_allennlp/predictor/supertagger_predictor.py, a property default_predictor has to be defined in my_allennlp/models/supertagger.py as part of the class:
The current
my_allennlp
implementation tries to access variables that have been removed after version 0.9, e.g.DEFAULT_PREDICTORS
.The current version of AllenNLP is 2.1.0.
I have tried installing 0.9.0 instead, but this seems to fail on my system with Python 3.8.
I can install AllenNLP 1.5.0 and 2.1.0 just fine.
The text was updated successfully, but these errors were encountered: