Commonsense knowledge graph completion and alignment
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.shBaseline model: TransE.
Our model: TransER (TransE + Relation Classifier)
Train the model:
$ cd cd OpenEA/run
$ ./run_rel.shThe 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.