onehaitao / Att-BLSTM-relation-extraction

Implementation of Attention-Based Bidirectional Long Short-Term Memory Networks for Relation Classification.
MIT License
76 stars 17 forks source link
relation-extraction semeval-2010

Att-BLSTM-relation-extraction

PWC

Implementation of Attention-Based Bidirectional Long Short-Term Memory Networks for Relation Classification.

Environment Requirements

Data

Usage

  1. Download the embedding and decompress it into the embedding folder.

  2. Run the following the commands to start the program.

    python run.py

    More details can be seen by python run.py -h.

  3. You can use the official scorer to check the final predicted result.

    perl semeval2010_task8_scorer-v1.2.pl proposed_answer.txt predicted_result.txt >> result.txt

Result

The result of my version and that in paper are present as follows: paper my version
0.840 0.8313

The training log can be seen in train.log and the official evaluation results is available in result.txt.

Note:

Reference Link