Pykg2vec: A Python Library for Knowledge Graph Embedding

Abstract

Pykg2vec is a Python library for learning the representations of the entities and relations in knowledge graphs. Pykg2vec's flexible and modular software architecture currently implements 25 state-of-the-art knowledge graph embedding algorithms, and is designed to easily incorporate new algorithms.The goal of pykg2vec is to provide a practical and educational platform to accelerate research in knowledge graph representation learning. Pykg2vec is built on top of PyTorch and Python's multiprocessing framework and provides modules for batch generation, Bayesian hyperparameter optimization, evaluation of KGE tasks, embedding, and result visualization. Pykg2vec is released under the MIT License and is also available in the Python Package Index (PyPI). The source code of pykg2vec is available at https://github.com/Sujit-O/pykg2vec.

Cite

Text

Yu et al. "Pykg2vec: A Python Library for Knowledge Graph Embedding." Machine Learning Open Source Software, 2021.

Markdown

[Yu et al. "Pykg2vec: A Python Library for Knowledge Graph Embedding." Machine Learning Open Source Software, 2021.](https://mlanthology.org/mloss/2021/yu2021jmlr-pykg2vec/)

BibTeX

@article{yu2021jmlr-pykg2vec,
  title     = {{Pykg2vec: A Python Library for Knowledge Graph Embedding}},
  author    = {Yu, Shih-Yuan and Chhetri, Sujit Rokka and Canedo, Arquimedes and Goyal, Palash and Al Faruque, Mohammad Abdullah},
  journal   = {Machine Learning Open Source Software},
  year      = {2021},
  pages     = {1-6},
  volume    = {22},
  url       = {https://mlanthology.org/mloss/2021/yu2021jmlr-pykg2vec/}
}