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
You will need to install our graph4nlp library in order to run the demo code. Please follow the following environment setup instructions. Please also refer to the graph4nlp repository page for more details on how to use the library.
git clone -b [branch_version] https://github.com/graph4ai/graph4nlp.git
cd graph4nlp
Please choose the branch version corresponding to the demo version as shown in the table below.
demo version
library branch version
DLG4NLP@ICLR 2022
v0.5.5
TheWebConf 2022
v0.5.5
AAAI 2022
v0.5.5
CLIQ-ai 2021
stable_nov2021b
IJCAI 2021
stable_202108
KDD 2021
stable_202108
SIGIR 2021
stable
NAACL 2021
stable
Then run ./configure (or ./configure.bat if you are using Windows 10) to config your installation. The configuration program will ask you to specify your CUDA version. If you do not have a GPU, please choose 'cpu'.
./configure
Finally, install the package
python setup.py install
Install other packages
pip install torchtext
pip install notebook
Set up StanfordCoreNLP (for static graph construction only, unnecessary for this demo because preprocessed data is provided)