If you use the code, please kindly cite the following paper:
Yankai Lin, Zhiyuan Liu, Maosong Sun, Yang Liu, Xuan Zhu. Learning Entity and Relation Embeddings for Knowledge Graph Completion. The 29th AAAI Conference on Artificial Intelligence (AAAI'15).
Relation extraction on an open-domain knowledge base
Accompanying repository for our EMNLP 2017 paper. It contains the code to replicate the experiments and the pre-trained models for sentence-level relation extraction.