Awesome
<h1 align="center"> A Re-evaluation of Knowledge Graph Completion Methods </h1> <h4 align="center">Source code for ACL 2020 paper on Knowledge Graph Evaluation</h4> <p align="center"> <a href="https://acl2020.org/"><img src="http://img.shields.io/badge/ACL-2020-4b44ce.svg"></a> <a href="https://arxiv.org/abs/1911.03903"><img src="http://img.shields.io/badge/Paper-PDF-red.svg"></a> <a href="https://virtual.acl2020.org/paper_main.489.html"><img src="http://img.shields.io/badge/Video-ACL-green.svg"></a> <a href="https://shikhar-vashishth.github.io/assets/pdf/kgeval_slides.pdf"><img src="http://img.shields.io/badge/Slides-PDF-B31B1B.svg"></a> <a href="https://towardsdatascience.com/knowledge-graphs-in-natural-language-processing-acl-2020-ebb1f0a6e0b1"><img src="http://img.shields.io/badge/Blog-Medium-9cf.svg"></a> <a href="https://github.com/svjan5/kg-reeval/blob/master/LICENSE"> <img src="https://img.shields.io/badge/License-Apache%202.0-blue.svg"> </a> </p>Overview
Effect of different evaluation protocols on recent KG embedding methods on FB15k-237 dataset. For TOP and BOTTOM, we report changes in performance with respect to RANDOM protocol. Please refer to paper for more details.
Dependencies
- Compatible with TensorFlow 1.x, PyTorch 1.x, and Python 3.x.
- Dependencies can be installed using
requirements.txt
.
Usage:
- Codes for different models are included in their respective directories.
- Run
proproc.sh
for unziping the data.
Citation:
Please cite the following paper if you use this code in your work.
@inproceedings{sun-etal-2020-evaluation,
title = "A Re-evaluation of Knowledge Graph Completion Methods",
author = "Sun, Zhiqing and
Vashishth, Shikhar and
Sanyal, Soumya and
Talukdar, Partha and
Yang, Yiming",
booktitle = "Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics",
month = jul,
year = "2020",
address = "Online",
publisher = "Association for Computational Linguistics",
url = "https://www.aclweb.org/anthology/2020.acl-main.489",
doi = "10.18653/v1/2020.acl-main.489",
pages = "5516--5522"
}
For any clarification, comments, or suggestions please create an issue or contact Zhiqing or Shikhar.