Skip to content

基于注意力机制的双向长短期记忆网络的关系分类

Notifications You must be signed in to change notification settings

jecktion/Att_BiLSTM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Relation Classification with Attention-Bi-LSTM

Original paper Attention-Based Bidirectional Long Short-Term Memory Networks for Relation Classification(Zhou/ACL2016) with overall architecture listed below.

Requrements

  • Python (>=3.5)

  • TensorFlow (>=r1.0)

Datasets

  • SemEval 2010 Task 8 with 19 relations.The full introduction can be found here.

Usage

For Training:

#python3 train.py 

For final evaluate

#python3 eval.py 

To do

  • finetune the paras to get better performance
  • other todos are in the code
  • any suggestions, welcome to issue

About

基于注意力机制的双向长短期记忆网络的关系分类

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages