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

Uploaded Source

Built Distribution

torchkge-0.16.25-py2.py3-none-any.whl (48.3 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: torchkge-0.16.25.tar.gz
  • Upload date:
  • Size: 37.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.0.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.8.7

File hashes

Hashes for torchkge-0.16.25.tar.gz
Algorithm Hash digest
SHA256 23e273c70acb740b0a92a1bcaa04d1b3677099c745bcc51cf943bee8456f3a96
MD5 a4c34fbefbbc85caa68cc23e8c6e5da0
BLAKE2b-256 637ae45c94670e22f14abeda0583fd2f53d635c072c3eeb7e19812f8825bac14

See more details on using hashes here.

File details

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

File metadata

  • Download URL: torchkge-0.16.25-py2.py3-none-any.whl
  • Upload date:
  • Size: 48.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.0.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.8.7

File hashes

Hashes for torchkge-0.16.25-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 80edcbae97dfd21c316ee0e6872acfdd1b2df2b1e689bb0e0d054c114e3b6607
MD5 3cd5d7803abc0598fb139bd350b8bcee
BLAKE2b-256 7f0a76ed98b225d2ffea82760ac0dd5fd0d05849f7bd35ff7e3729188310b8b0

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