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.org/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.

Paper accepted at IWKG-KDD 2020. Reference coming soon.

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

Uploaded Source

Built Distribution

torchkge-0.16.12-py2.py3-none-any.whl (47.4 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

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

File hashes

Hashes for torchkge-0.16.12.tar.gz
Algorithm Hash digest
SHA256 1f174e5c3c89c91d2d6579cb01775a6e570260f5c19c682cc1d28f316c9057ec
MD5 452c11d44863f01b8f659cd6c450d3fc
BLAKE2b-256 c51b10de8c2e94a07f573b20021aef30a32b535296aa542b3f15153b7e4dbe32

See more details on using hashes here.

File details

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

File metadata

  • Download URL: torchkge-0.16.12-py2.py3-none-any.whl
  • Upload date:
  • Size: 47.4 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/49.1.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.1

File hashes

Hashes for torchkge-0.16.12-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 3fcf7cf9d3bd482424357e9de3e02b867f2b8b31ae265892bb7ede662decd000
MD5 f3921fb9e059ed8179d4fd0013608394
BLAKE2b-256 2f83a2c753d1c6d86ebeefb10884ca351919e9cf72d968bbda3e35d1c2dd30c8

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