Install dependency on `allennlp.tools` failing.
See original GitHub issueHi, apologies if I am the only one having this error – surprised not to see anyone else report it.
It seem that installing from pip3
I run into an error on import t5
because of from allennlp.tools import squad_eval
in metrics.py
https://github.com/google-research/text-to-text-transfer-transformer/blob/master/t5/evaluation/metrics.py
Installing allennlp
directly does appears to create this error, actually. As in their repo (at least the one via pip install allennlp
– the allennlp.tools
is no longer built that way. It seems perhaps, they changed and broke your dependency?
Unfortunately, as far as I can tell allennlp
does not do release versions. Not sure which checkpoint breaks this.
Apologies if this is my mistake. Will try rebuilding allennlp
from an old commit and see if this works again. Thank you.
Issue Analytics
- State:
- Created 4 years ago
- Comments:6
allennlp==0.9.0 should work
We can pull the code in but we’d have to put it in a separate third_party directory (like https://github.com/brain-research/realistic-ssl-evaluation/tree/master/third_party/vat) which is annoying.