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
Implementation of Cross-Sentence N-ary Relation Extraction using Lower-Arity Universal Schemas
This repository contains implementations of the proposed method and baseline methods tested in our paper "Cross-Sentence N-ary Relation Extraction using Lower-Arity Universal Schemas" (To be appeared in EMNLP 2019).
Data
Following data files are required to run codes.
Also, see data/README.md for the dataset format.
data/glove.6B.300d.txt # You can download it from here (https://nlp.stanford.edu/data/glove.6B.zip).
data/Wiki-90k/train
data/Wiki-90k/dev
data/Wiki-90k/test
data/WF-20k/train.json
data/WF-20k/dev.json
data/WF-20k/test.json
Proposed method and baseline methods
Required environment
Codes of our proposed method are tested in the following environment.
Before running codes, create logs directory. Results of experiments will be output in log files logs/ExpLog_<suffix>_<exp_number>.log. You can set suffix and exp_number by options when you start experiments.
To run experiments with the same settings in the paper, execute commands described in example.sh.
NOTES:
You can use GPU by specifying its id by --gpu <id> option, or the codes will use CPU (slow).
You can set a name and number of an experiment by using --suffix <NAME> and --exp_number <NUM> options.
About
Cross-sentence n-ary relation extraction with decomposed lower-arity universal schemas.