Skip to content

Code associated wth the InterpretE research paper

Notifications You must be signed in to change notification settings

toniodo/InterpretE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

InterpretE

This is the repository for our research paper Bring back Semantics to Knowledge Graph Embeddings : An Interpretability Approach.

Code

All the experiments done in the paper are sorted by dataset on each folder. All the generated files used to run the experiments (entity types, location with abstraction) are placed in the folder data/ for each dataset. If you use a conda environment you can create the environment using the environment.yml file, otherwise a requirements.txt file is also given. You will also need to install the LibKGE library from the official repository in order to load the pre-trained models.

Data

In order to run the scripts you need to place train.csv, valid.csv and test.csv file in the folder data/for each corresponding dataset.

Pretrained Embedding Models

The KG embedding models that were used in this work were downloaded from the LibKGE repository wherever available. The rest of the models were trained by Jain et al.. Once you have downloaded the pre-trained models, make sure they are stored in the ./embeddings directory located in the root of this repository.

About

Code associated wth the InterpretE research paper

Topics

Resources

Stars

Watchers

Forks