A pytorch extension library to perform triple walks on knowledge graphs
Project description
A simple algorithm to learn embeddings of entities in knowledge graph.
What is it
TripleWalk is an algorithm to learn vector embeddings of entities in a knowledge graph by performing random walks on triples.
Installation
Please not this package is only available for python 3.8+ and Pytorch >= 1.9.0
Install from PyPI
pip install triple-walk
Install from Github
pip install git+https://github.com/udel-cbcb/triple_walk.git#egg=triple_walk
Triple Walk
Author : Sachin Gavali
Requirements
1. Pytorch >= 1.9.0
2. NVIDIA-GPU (Cuda Toolkit >= 11.4
3. AMD-GPU (ROCM == 4.0.1)
4. Python == 3.8
Examples
- SkipGram Triple Walk model : SkipGramTriple
- CBOW Triple Walk model : CBOWTriple
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
triple_walk-0.0.4.tar.gz
(19.4 kB
view details)
File details
Details for the file triple_walk-0.0.4.tar.gz.
File metadata
- Download URL: triple_walk-0.0.4.tar.gz
- Upload date:
- Size: 19.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.25.0 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.54.1 importlib-metadata/4.6.4 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
81b2c5db18fe658b4ff1c91b02e36439b413dd9cf493589940b4f9a85b67b69d
|
|
| MD5 |
c5fe39ee708076712d395a21d21d732e
|
|
| BLAKE2b-256 |
dae1b47f89c92ede50aa45e870b0a67ace0299b74868458b4a2481011d07fe32
|