Skip to main content

Knowledge Graph embedding in Python and PyTorch.

Project description

logo torchkge https://img.shields.io/pypi/v/torchkge.svg https://travis-ci.com/torchkge-team/torchkge.svg?branch=master Documentation Status Updates

TorchKGE: Knowledge Graph embedding in Python and Pytorch.

TorchKGE is a Python module for knowledge graph (KG) embedding relying solely on Pytorch. This package provides researchers and engineers with a clean and efficient API to design and test new models. It features a KG data structure, simple model interfaces and modules for negative sampling and model evaluation. Its main strength is a highly efficient evaluation module for the link prediction task, a central application of KG embedding. It has been observed to be up to five times faster than AmpliGraph and twenty-four times faster than OpenKE. Various KG embedding models are also already implemented. Special attention has been paid to code efficiency and simplicity, documentation and API consistency. It is distributed using PyPI under BSD license.

Citations

If you find this code useful in your research, please consider citing our paper (presented at IWKG-KDD 2020):

@inproceedings{arm2020torchkge,
    title={TorchKGE: Knowledge Graph Embedding in Python and PyTorch},
    author={Armand Boschin},
    year={2020},
    month={Aug},
    booktitle={International Workshop on Knowledge Graph: Mining Knowledge Graph for Deep Insights},
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

torchkge-0.16.16.tar.gz (35.5 kB view details)

Uploaded Source

Built Distribution

torchkge-0.16.16-py2.py3-none-any.whl (47.7 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file torchkge-0.16.16.tar.gz.

File metadata

  • Download URL: torchkge-0.16.16.tar.gz
  • Upload date:
  • Size: 35.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.1

File hashes

Hashes for torchkge-0.16.16.tar.gz
Algorithm Hash digest
SHA256 27e9018e34499ce12f3c2a2e96fd8b61fa9375e18357186d1735ec750ac2c08b
MD5 f2418e767e928f5e04c7db682a921adf
BLAKE2b-256 073ea60127c1b6a3b19574f2a47ce13a3e27a1ee6023871b189edde8b8bfa2b5

See more details on using hashes here.

File details

Details for the file torchkge-0.16.16-py2.py3-none-any.whl.

File metadata

  • Download URL: torchkge-0.16.16-py2.py3-none-any.whl
  • Upload date:
  • Size: 47.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.1

File hashes

Hashes for torchkge-0.16.16-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 6ecfc922ce105323fd8565c128e593887ef0ad6fdbbe2346b8a5b38671aad277
MD5 9db6d96cf7cd878d488a134ab1cff838
BLAKE2b-256 2b19b79d15c99f1d0fecd4faba2361cd44eecfb7af5d00c559325023ea42e93b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page