This project has been archived by its maintainers, and is no longer receiving any 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},
}
Free software: BSD license
Documentation: https://torchkge.readthedocs.io.
Metadata
Release files for torchkge 0.17.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| torchkge-0.17.7.tar.gz | 41.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| torchkge-0.17.7-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 93.2 kB
Release files / torchkge-0.17.7.tar.gz
| Download URL | torchkge-0.17.7.tar.gz |
|---|---|
| Size | 41.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3be9cfb470cf6415d4690b109ddfda4a918b0b4aca4c91f7c97f890c8901f115
|
|
BLAKE2b-256 checksum How to use checksums |
0b2905c3198f3c0893dfcc169004a4ecd030e7a563bcfbadf6ca7457d2ef35ff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Release files / torchkge-0.17.7-py2.py3-none-any.whl
| Download URL | torchkge-0.17.7-py2.py3-none-any.whl |
|---|---|
| Size | 51.6 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
48a5102dad1dd2dd201e770ce236faa706ae7e15421044776e9bcb0c6f0a1239
|
|
BLAKE2b-256 checksum How to use checksums |
463ac1233633cfd9d1f03b5e5dd9bcf8fd84dea9a3e5238b14f1181aeddefdd1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|