/CNN_Relation_Extract

用CNN进行关系抽取,基于Ranking Loss进行关系抽取的论文,实现了其中的CNN和Ranking Loss。 使用pytorch实现。

Primary LanguagePerl

cnn-relation-extraction-with-ranking-loss

Implementation of paper Classifying Relations by Ranking with Convolutional Neural Networks(https://www.aclweb.org/anthology/P15-106) with pytorch.

execute:

python main.py

Support:

pytorch: 0.4.1
python: 3.6
spacy
numpy
pandas
torchtext