├── LICENSE ├── README.md ├── dataset.zip ├── experiments ├── LKGE_grid_search.sh ├── ablation_study_ENT_REL.sh ├── ablation_study_FAC_HYB.sh ├── base_model_grid_search.sh ├── regular_models_grid_search.sh ├── run_all_5seeds.sh └── time.sh ├── main.py ├── overview.jpg └── src ├── config.py ├── data_load ├── KnowledgeGraph.py └── data_loader.py ├── model ├── BaseModel.py ├── CWR.py ├── EMR.py ├── EWC.py ├── GEM.py ├── LAN.py ├── LKGE.py ├── MEAN.py ├── PNN.py ├── SI.py ├── Snapshot_only.py ├── finetune.py ├── model_process.py └── retraining.py ├── parse_args.py ├── test.py ├── train.py └── utils.py /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/LKGE/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/LKGE/HEAD/README.md -------------------------------------------------------------------------------- /dataset.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/LKGE/HEAD/dataset.zip -------------------------------------------------------------------------------- /experiments/LKGE_grid_search.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/LKGE/HEAD/experiments/LKGE_grid_search.sh -------------------------------------------------------------------------------- /experiments/ablation_study_ENT_REL.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/LKGE/HEAD/experiments/ablation_study_ENT_REL.sh -------------------------------------------------------------------------------- /experiments/ablation_study_FAC_HYB.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/LKGE/HEAD/experiments/ablation_study_FAC_HYB.sh -------------------------------------------------------------------------------- /experiments/base_model_grid_search.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/LKGE/HEAD/experiments/base_model_grid_search.sh -------------------------------------------------------------------------------- /experiments/regular_models_grid_search.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/LKGE/HEAD/experiments/regular_models_grid_search.sh -------------------------------------------------------------------------------- /experiments/run_all_5seeds.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/LKGE/HEAD/experiments/run_all_5seeds.sh -------------------------------------------------------------------------------- /experiments/time.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/LKGE/HEAD/experiments/time.sh -------------------------------------------------------------------------------- /main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/LKGE/HEAD/main.py -------------------------------------------------------------------------------- /overview.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/LKGE/HEAD/overview.jpg -------------------------------------------------------------------------------- /src/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/LKGE/HEAD/src/config.py -------------------------------------------------------------------------------- /src/data_load/KnowledgeGraph.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/LKGE/HEAD/src/data_load/KnowledgeGraph.py -------------------------------------------------------------------------------- /src/data_load/data_loader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/LKGE/HEAD/src/data_load/data_loader.py -------------------------------------------------------------------------------- /src/model/BaseModel.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/LKGE/HEAD/src/model/BaseModel.py -------------------------------------------------------------------------------- /src/model/CWR.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/LKGE/HEAD/src/model/CWR.py -------------------------------------------------------------------------------- /src/model/EMR.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/LKGE/HEAD/src/model/EMR.py -------------------------------------------------------------------------------- /src/model/EWC.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/LKGE/HEAD/src/model/EWC.py -------------------------------------------------------------------------------- /src/model/GEM.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/LKGE/HEAD/src/model/GEM.py -------------------------------------------------------------------------------- /src/model/LAN.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/LKGE/HEAD/src/model/LAN.py -------------------------------------------------------------------------------- /src/model/LKGE.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/LKGE/HEAD/src/model/LKGE.py -------------------------------------------------------------------------------- /src/model/MEAN.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/LKGE/HEAD/src/model/MEAN.py -------------------------------------------------------------------------------- /src/model/PNN.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/LKGE/HEAD/src/model/PNN.py -------------------------------------------------------------------------------- /src/model/SI.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/LKGE/HEAD/src/model/SI.py -------------------------------------------------------------------------------- /src/model/Snapshot_only.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/LKGE/HEAD/src/model/Snapshot_only.py -------------------------------------------------------------------------------- /src/model/finetune.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/LKGE/HEAD/src/model/finetune.py -------------------------------------------------------------------------------- /src/model/model_process.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/LKGE/HEAD/src/model/model_process.py -------------------------------------------------------------------------------- /src/model/retraining.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/LKGE/HEAD/src/model/retraining.py -------------------------------------------------------------------------------- /src/parse_args.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/LKGE/HEAD/src/parse_args.py -------------------------------------------------------------------------------- /src/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/LKGE/HEAD/src/test.py -------------------------------------------------------------------------------- /src/train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/LKGE/HEAD/src/train.py -------------------------------------------------------------------------------- /src/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/LKGE/HEAD/src/utils.py --------------------------------------------------------------------------------