Skip to main content

Knowledge Graph embedding in Python and PyTorch.

Project description

logo torchkge https://img.shields.io/pypi/v/torchkge.svg https://github.com/torchkge-team/torchkge/actions/workflows/ci_checks.yml/badge.svg Documentation Status https://img.shields.io/pypi/pyversions/torchkge.svg

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.17.6.tar.gz (41.4 kB view details)

Uploaded Source

Built Distribution

torchkge-0.17.6-py2.py3-none-any.whl (51.5 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: torchkge-0.17.6.tar.gz
  • Upload date:
  • Size: 41.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for torchkge-0.17.6.tar.gz
Algorithm Hash digest
SHA256 4931e02ab540ffff82d1ff13d03a72a6db30519985f0e2b2a4e98bb113c0e9dc
MD5 9d30866ede3af252e735b549842b828f
BLAKE2b-256 f2236d18b93f42daa29fac31023f9df03c560186bbd6f81b997591dfdab11116

See more details on using hashes here.

File details

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

File metadata

  • Download URL: torchkge-0.17.6-py2.py3-none-any.whl
  • Upload date:
  • Size: 51.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for torchkge-0.17.6-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 9f985ffc9099d320a270833b1749ca59484eab534d497ad28eba1f797303a50e
MD5 01642cf0eca89b7dcad63fe17b769e39
BLAKE2b-256 55bd62a434a010e3d1c39e516f9a912012aad4771b612f89215b6eb282efea45

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