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
This code may work on other linux environments, but we have not tried them.
For convenience, this package includes snapshot versions of clab/cnn (https://github.com/clab/cnn) and eigen (https://eigen.tuxfamily.org/). These follow the original license.
Usage
Compilation
tar xzf cnn.tar.gz
tar xzf eigen.tar.gz
mkdir build
cd build
cmake .. -DEIGEN3_INCLUDE_DIR=eigen -DCMAKE_CXX_COMPILER=/usr/bin/clang++
make
cd ..
Creation of directories
mkdir dict models
Preparation of the pretrained embeddings
cd dict/
wget https://tti-coin.jp/data/wikipedia200.bin
cd ..
These models are trained on the environments above (with Intel CPU).
If you use other environments, please retrain the models to avoid the incompatibility problem.
ACE 2005 (Relation extraction)
cd models/
wget https://tti-coin.jp/data/ace2005-test.txt.gz
gunzip ace2005-test.txt.gz
cd ..
SemEval 2010 Task 8 (Relation classification)
cd models/
wget https://tti-coin.jp/data/semeval-test.txt.gz
gunzip semeval-test.txt.gz
cd ..
Testing models
Prediction results will be written as *.pred.ann in the test corpus directory.