Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
T

torchkge

> 编程语言
Open source

TorchKGE: Knowledge Graph embedding in Python and PyTorch.

387 stars0 likes1 views
WebsiteGitHub

About

TorchKGE: Knowledge Graph embedding in Python and PyTorch.

======== TorchKGE

.. image:: https://graphs.telecom-paristech.fr/images/logo_torchKGE_small.png :align: right :width: 100px :alt: logo torchkge

.. image:: https://img.shields.io/pypi/v/torchkge.svg :target: https://pypi.python.org/pypi/torchkge

.. image:: https://github.com/torchkge-team/torchkge/actions/workflows/ci_checks.yml/badge.svg :target: https://github.com/torchkge-team/torchkge/actions/workflows/ci_checks.yml

.. image:: https://readthedocs.org/projects/torchkge/badge/?version=latest :target: https://torchkge.readthedocs.io/en/latest/?badge=latest :alt: Documentation Status

.. image:: https://img.shields.io/pypi/pyversions/torchkge.svg :target: https://pypi.org/project/torchkge/

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):

.. code::

@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.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Python

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言