Skip to content

ChunhuaLiu596/CommonsenseKG

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CommonsenseKG

Commonsense knowledge graph completion and alignment

Data

Data set creation is in the folder of conceptnet-swow-data. Run run_alignment.sh to generate the data.

$ cd conceptnet-swow-data/
$ ./run_alignment.sh

Model

Baseline model: TransE.
Our model: TransER (TransE + Relation Classifier)

Train

Train the model:

$ cd cd OpenEA/run
$ ./run_rel.sh

The config is in OpenEA/run/args/iptranse_args_15K_rel.json.
When predict_relation is False, run the baseline model TransE.
When predict_relation is True, run the TransER model.

About

Commonsense knowledge graph completion and alignment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •