code of Relation Classification via Multi-Level Attention CNNs
Switch branches/tags
Nothing to show
Clone or download
Latest commit 51a9b94 Nov 28, 2017
Permalink
Failed to load latest commit information.
README.md Update README.md Nov 28, 2017
acnn_structure.png Add files via upload Sep 13, 2017
acnn_train.py Update acnn_train.py Oct 17, 2017
data_pro.py Update data_pro.py Oct 24, 2017
pyt_acnn.py Update pyt_acnn.py Nov 28, 2017
train.txt Add files via upload Sep 13, 2017

README.md

Relation Classification via Attention Model

As you know the attention model can help us to solve many problems.Resently, I have a project which need to recognize the relation from some entities. After reading several paper, I decided to implement this paper: Relation Classification via Multi-Level Attention CNNs I desperately desire to use pytorch to do some awsome things. So it's the only choice for me. And i think you will like it.

some of data handling codes are copied from ACNN

You need an environment: pytorch 0.2

Git this project to your pycharm or other IDE, then edit the acnn_train.py to satisfied your data

11.28 The Renewed Version

thanks for advice from Di Jin. I revisited the paper and did some modification on my code.

I would do some test when I'm back to work.

Network Structure