Home

Awesome

ComplEx-NNE+AER

Codes and datasets for "Improving Knowledge Graph Embedding Using Simple Constraints" (ACL-2018)

Introduction

The repository provides java implementations and DB100K dataset used for the paper:

As well as the implementations for the following papers:

Datasets

Files

Datasets we used are in the corresponding subfolder contained in datasets/ with the following formats:

Preprocessing

python data.py data_folder

Codes

Run the code

java -jar -train data_folder/train.txt -valid data_folder/valid.txt -test data_folder/test.txt

Parameters

You can changes parameter when training the model

k = number of dimensions
lmbda = L2 regularization coffecient
neg = number of negative samples
mu = AER regularization coffecient

Citation

@inproceedings{boyang2018:aer,
	author = {Ding, Boyang and Wang, Quan and Wang, Bin and Guo, Li},
	booktitle = {56th Annual Meeting of the Association for Computational Linguistics},
	title = {Improving Knowledge Graph Embedding Using Simple Constraints},
	year = {2018}
}

Contact

For all remarks or questions please contact Quan Wang: wangquan (at) iie (dot) ac (dot) cn .