quark0 / ANALOGY

Analogical inference for knowledge graph completion
https://arxiv.org/abs/1705.02426
MIT License
71 stars 18 forks source link

ANALOGY

The repository provides lightweight C++ implementations for the following papers

Basic Usage

Training

make && ./main -algorithm Analogy -model_path output.model

Prediction

./main -algorithm Analogy -model_path output.model -prediction 1

The program runs with 32 threads by default. For more options, please refer to main.cc.

Contributors

Please cite the following if you use the code for publication

@article{liu2017analogical,
  title={Analogical Inference for Multi-Relational Embeddings},
  author={Liu, Hanxiao and Wu, Yuexin and Yang, Yiming},
  journal={arXiv preprint arXiv:1705.02426},
  year={2017}
}