This is the implementation of my paper: SENet for Weakly-Supervised Realtion Extraction
- unzip zipfile in data/
- put data folder at .. (recommend)
- in cmd:
python3 train.py
and test result will be saved to temp/
python3 eval.py
you need to fill in the pkl file path in plot script, and run
cd plot/
python3 baselins.py
python3 metric.py
A student in PRIS, BUPT.
- Tensorflow-gpu==1.4.0
- sklearn, tflearn, nltk, numpy; update to date
- Python >= 3.6.5
I did NOT write these from scratch. I cloned this repo: ResCNN-9 and improve it.