Original paper Attention-Based Bidirectional Long Short-Term Memory Networks for Relation Classification(Zhou/ACL2016) with overall architecture listed below.
-
Python (>=3.5)
-
TensorFlow (>=r1.0)
- SemEval 2010 Task 8 with 19 relations.The full introduction can be found here.
#python3 train.py
#python3 eval.py
- finetune the paras to get better performance
- other todos are in the code
- any suggestions, welcome to issue