Open devfoo-one opened 3 years ago
Before running tests downgrading to overrides==3.1.0 and scikit-learn==0.22.2 solves the issue!
@lunarie16 Thanks! I´ve changed my requirements to
torch==1.4.0
Flask
waitress
ujson
spacy==2.0.18
urllib3==1.25.10
click==7.1.2
overrides==3.1.0
scikit-learn==0.22.2
and it works as expected.
Hello, have you installed the allennlp? I can't install it with the official guide
@leonodelee Hello, have you tried following the steps I give in my answers to issue #39 ? If so and you still have trouble, please provide error messages, or if there are none, a more detailed description of the abnormal behavior.
@leonodelee Hello, have you tried following the steps I give in my answers to issue #39 ? If so and you still have trouble, please provide error messages, or if there are none, a more detailed description of the abnormal behavior.
Thank you for your kindful help, I solved this problem by 'pip install allennlp==0.8.2' and other install instructions in https://github.com/allenai/kb/issues/39
Hi,
I am trying to run the KnowBert code but keep getting stuck with the following error when trying to run the tests or the "How to embed sentences or sentence pairs programmatically" snippet:
Steps to reproduce
docker run -it continuumio/anaconda3
apt-get update && apt install -y g++ make
git clone https://github.com/allenai/kb.git
conda create -n knowbert python=3.6.7
source activate knowbert
pip install torch==1.2.0
pip install -r requirements.txt
python -c "import nltk; nltk.download('wordnet')"
python -m spacy download en_core_web_sm
pip install --editable .
pytest -v tests