Skip to content

Peter7Yao/OPTransE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OPTransE

This is the source code for paper ''Representation Learning with Ordered Relation Paths for Knowledge Graph Completion (EMNLP 2019)''. For paper: https://www.aclweb.org/anthology/D19-1268/

Dataset and Model

For dataset and model, please refer to https://drive.google.com/open?id=1Jo39CqhwtigD1J3hoADZ6o7xpqKKqkwT.

Compile

$ g++ -I ./ train_OPTransE.cpp -o train_OPTransE -O2 -fopenmp -lpthread
$ g++ -I ./ test_OPTransE.cpp -o test_OPTransE -O2 -fopenmp -lpthread

Run

Train

$ ./train_OPTransE -datapath FB15K/

Test

$ ./test_OPTransE  -datapath FB15K/

Note that it will take a long time for training and testing.

About

Representation Learning with Ordered Relation Paths for Knowledge Graph Completion (EMNLP 2019)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published