├── .gitignore ├── .readthedocs.yaml ├── Doc ├── NeuralKG源码解析.md ├── Paper │ ├── A Method to Learn Embedding of a Probabilistic Medical Knowledge Graph- Algorithm Development.pdf │ ├── Approximate inferring with confidence predicting based on uncertain knowledge graph embedding.pdf │ ├── GTransE- Generalizing Translation-Based Model on Uncertain Knowledge Graph Embedding.pdf │ ├── Gaussian Metric Learning for Few-Shot Uncertain Knowledge Graph Completion.pdf │ ├── Incorporating Uncertainty of Entities and Relations into Few-Shot Uncertain Knowledge Graph Embedding.pdf │ ├── Learning Embeddings from Knowledge Graphs With Numeric Edge Attributes.pdf │ ├── PASSLEAF- A Pool-bAsed Semi-Supervised LEArning Framework for Uncertain Knowledge Graph Embedding.pdf │ ├── Probabilistic Box Embeddings for Uncertain Knowledge Graph Reasoning.pdf │ ├── UKGE.pdf │ └── UPGAT- Uncertainty-Aware Pseudo-neighbor Augmented Knowledge Graph Attention Network.pdf ├── img-storage │ ├── pl_1.png │ ├── pl_2.png │ └── pl_3.png ├── link_predicition_filter.md ├── old_README.md ├── 框架编写指南.md └── 评测任务1-3&9-10.md ├── LICENSE ├── PASSLEAFdemo.py ├── README.md ├── README_CN.md ├── config ├── PASSLEAFdemo.yaml ├── cn15k │ ├── BEUrRE_cn15k.yaml │ ├── FocusE_cn15k.yaml │ ├── GMUC_cn15k.yaml │ ├── GTransE_cn15k.yaml │ ├── PASSLEAF_cn15k.yaml │ ├── UKGEPSL_cn15k.yaml │ ├── UKGE_cn15k.yaml │ ├── UKGsE_cn15k.yaml │ ├── UPGAT_cn15k.yaml │ └── ssCDL_cn15k.yaml ├── nl27k │ ├── BEUrRE_nl27k.yaml │ ├── FocusE_nl27k.yaml │ ├── GMUC_nl27k.yaml │ ├── GMUCp_nl27k.yaml │ ├── GTransE_nl27k.yaml │ ├── PASSLEAF_nl27k.yaml │ ├── UKGEPSL_nl27k.yaml │ ├── UKGE_nl27k.yaml │ ├── UKGsE_nl27k.yaml │ ├── UPGAT_nl27k.yaml │ └── ssCDL_nl27k.yaml └── ppi5k │ ├── BEUrRE_ppi5k.yaml │ ├── FocusE_ppi5k.yaml │ ├── GTransE_ppi5k.yaml │ ├── PASSLEAF_ppi5k.yaml │ ├── UKGEPSL_ppi5k.yaml │ ├── UKGE_ppi5k.yaml │ ├── UKGsE_ppi5k.yaml │ └── UPGAT_ppi5k.yaml ├── dataset ├── cn15k │ ├── dev_tasks.json │ ├── path_graph │ ├── softlogic.tsv │ ├── test.tsv │ ├── test_tasks.json │ ├── train.tsv │ ├── train_tasks.json │ └── val.tsv ├── nl27k │ ├── dev_tasks.json │ ├── ontology.csv │ ├── path_graph │ ├── softlogic.tsv │ ├── test.tsv │ ├── test_tasks.json │ ├── train.tsv │ ├── train_tasks.json │ └── val.tsv └── ppi5k │ ├── entity_id.csv │ ├── relation_id.csv │ ├── softlogic.tsv │ ├── test.tsv │ ├── train.tsv │ └── val.tsv ├── demo ├── BEUrREdemo.py ├── FocusEdemo.py ├── GMUCdemo.py ├── GMUCpdemo.py ├── GTransEdemo.py ├── PASSLEAFdemo.py ├── UKGE_PSLdemo.py ├── UKGEdemo.py ├── UKGsEdemo.py ├── UPGATdemo.py └── ssCDLdemo.py ├── docs ├── Makefile ├── make.bat ├── requirements.txt └── source │ ├── Parameters.md │ ├── _static │ └── css │ │ └── custom.css │ ├── conf.py │ ├── fsukgmodel.rst │ ├── index.rst │ ├── install.rst │ ├── modules.rst │ ├── result.md │ ├── ukgmodel.rst │ ├── unKR.data.rst │ ├── unKR.eval_task.rst │ ├── unKR.lit_model.rst │ ├── unKR.loss.rst │ ├── unKR.model.rst │ └── unKR.rst ├── generate_psl ├── README.md ├── config │ ├── cn15k.yaml │ ├── nl27k.yaml │ └── ppi5k.yaml ├── data │ ├── cn15k │ │ ├── data.tsv │ │ ├── entity_id.tsv │ │ ├── relation_id.tsv │ │ └── train.tsv │ ├── nl27k │ │ ├── data.tsv │ │ ├── entity_id.tsv │ │ ├── relation_id.tsv │ │ └── train.tsv │ └── ppi5k │ │ ├── data.tsv │ │ ├── entity_id.csv │ │ ├── relation_id.tsv │ │ └── train.tsv ├── get_psl.py ├── infer_psl.py └── utils │ ├── setup_parse.py │ └── tools.py ├── main.py ├── pics ├── demo.gif ├── ssCDL.png └── unKR.svg ├── requirements.txt ├── setup.py ├── src └── unKR │ ├── __init__.py │ ├── data │ ├── DataPreprocess.py │ ├── KGDataModule.py │ ├── Sampler.py │ ├── __init__.py │ └── base_data_module.py │ ├── eval_task │ ├── __init__.py │ ├── confidence_prediction.py │ ├── link_prediction.py │ └── nDCG.py │ ├── lit_model │ ├── BEUrRELitModel.py │ ├── BaseLitModel.py │ ├── FocusELitModel.py │ ├── GMUCLitModel.py │ ├── GTransELitModel.py │ ├── PASSLEAFLitModel.py │ ├── UKGELitModel.py │ ├── UKGEPSLLitModel.py │ ├── UKGsELitModel.py │ ├── UPGATLitModel.py │ ├── __init__.py │ └── ssCDLLit.py │ ├── loss │ ├── Adv_Loss.py │ ├── BEUrRE_Loss.py │ ├── FocusE_Loss.py │ ├── GMUC_Loss.py │ ├── GMUCp_Loss.py │ ├── GTransE_Loss.py │ ├── Margin_Loss.py │ ├── PASSLEAF_Loss.py │ ├── UKGE_Loss.py │ ├── UKGE_PSL_Loss.py │ ├── UKGsE_Loss.py │ ├── UPGAT_Loss.py │ ├── __init__.py │ └── ssCDL_loss.py │ ├── model │ ├── FSUKGModel │ │ ├── GMUC.py │ │ ├── GMUCp.py │ │ └── __init__.py │ ├── UKGModel │ │ ├── BEUrRE.py │ │ ├── FocusE.py │ │ ├── GTransE.py │ │ ├── PASSLEAF.py │ │ ├── SSCDL.py │ │ ├── UKGE.py │ │ ├── UKGE_PSL.py │ │ ├── UKGsE.py │ │ ├── UPGAT.py │ │ ├── __init__.py │ │ └── model.py │ └── __init__.py │ └── utils │ ├── __init__.py │ ├── setup_parser.py │ └── tools.py ├── sscdl_run.py ├── unKR_LLaMA2 ├── README.md ├── data │ ├── cn15k │ │ ├── cn15k_test_conf.csv │ │ ├── cn15k_test_tail.csv │ │ ├── cn15k_train_conf.json │ │ ├── cn15k_train_tail.json │ │ ├── entity_id.csv │ │ ├── instruction_cn15k.py │ │ ├── relation_id.csv │ │ └── relation_text.csv │ └── nl27k │ │ ├── instruction_nl27k.py │ │ ├── nl27k_test_conf.csv │ │ ├── nl27k_test_tail.csv │ │ ├── nl27k_train_conf.json │ │ └── nl27k_train_tail.json ├── lora_finetune.py └── lora_infer.py └── unKR_ssCDL └── README.md /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/.gitignore -------------------------------------------------------------------------------- /.readthedocs.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/.readthedocs.yaml -------------------------------------------------------------------------------- /Doc/NeuralKG源码解析.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/Doc/NeuralKG源码解析.md -------------------------------------------------------------------------------- /Doc/Paper/A Method to Learn Embedding of a Probabilistic Medical Knowledge Graph- Algorithm Development.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/Doc/Paper/A Method to Learn Embedding of a Probabilistic Medical Knowledge Graph- Algorithm Development.pdf -------------------------------------------------------------------------------- /Doc/Paper/Approximate inferring with confidence predicting based on uncertain knowledge graph embedding.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/Doc/Paper/Approximate inferring with confidence predicting based on uncertain knowledge graph embedding.pdf -------------------------------------------------------------------------------- /Doc/Paper/GTransE- Generalizing Translation-Based Model on Uncertain Knowledge Graph Embedding.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/Doc/Paper/GTransE- Generalizing Translation-Based Model on Uncertain Knowledge Graph Embedding.pdf -------------------------------------------------------------------------------- /Doc/Paper/Gaussian Metric Learning for Few-Shot Uncertain Knowledge Graph Completion.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/Doc/Paper/Gaussian Metric Learning for Few-Shot Uncertain Knowledge Graph Completion.pdf -------------------------------------------------------------------------------- /Doc/Paper/Incorporating Uncertainty of Entities and Relations into Few-Shot Uncertain Knowledge Graph Embedding.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/Doc/Paper/Incorporating Uncertainty of Entities and Relations into Few-Shot Uncertain Knowledge Graph Embedding.pdf -------------------------------------------------------------------------------- /Doc/Paper/Learning Embeddings from Knowledge Graphs With Numeric Edge Attributes.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/Doc/Paper/Learning Embeddings from Knowledge Graphs With Numeric Edge Attributes.pdf -------------------------------------------------------------------------------- /Doc/Paper/PASSLEAF- A Pool-bAsed Semi-Supervised LEArning Framework for Uncertain Knowledge Graph Embedding.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/Doc/Paper/PASSLEAF- A Pool-bAsed Semi-Supervised LEArning Framework for Uncertain Knowledge Graph Embedding.pdf -------------------------------------------------------------------------------- /Doc/Paper/Probabilistic Box Embeddings for Uncertain Knowledge Graph Reasoning.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/Doc/Paper/Probabilistic Box Embeddings for Uncertain Knowledge Graph Reasoning.pdf -------------------------------------------------------------------------------- /Doc/Paper/UKGE.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/Doc/Paper/UKGE.pdf -------------------------------------------------------------------------------- /Doc/Paper/UPGAT- Uncertainty-Aware Pseudo-neighbor Augmented Knowledge Graph Attention Network.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/Doc/Paper/UPGAT- Uncertainty-Aware Pseudo-neighbor Augmented Knowledge Graph Attention Network.pdf -------------------------------------------------------------------------------- /Doc/img-storage/pl_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/Doc/img-storage/pl_1.png -------------------------------------------------------------------------------- /Doc/img-storage/pl_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/Doc/img-storage/pl_2.png -------------------------------------------------------------------------------- /Doc/img-storage/pl_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/Doc/img-storage/pl_3.png -------------------------------------------------------------------------------- /Doc/link_predicition_filter.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/Doc/link_predicition_filter.md -------------------------------------------------------------------------------- /Doc/old_README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/Doc/old_README.md -------------------------------------------------------------------------------- /Doc/框架编写指南.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/Doc/框架编写指南.md -------------------------------------------------------------------------------- /Doc/评测任务1-3&9-10.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/Doc/评测任务1-3&9-10.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/LICENSE -------------------------------------------------------------------------------- /PASSLEAFdemo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/PASSLEAFdemo.py -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/README.md -------------------------------------------------------------------------------- /README_CN.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/README_CN.md -------------------------------------------------------------------------------- /config/PASSLEAFdemo.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/config/PASSLEAFdemo.yaml -------------------------------------------------------------------------------- /config/cn15k/BEUrRE_cn15k.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/config/cn15k/BEUrRE_cn15k.yaml -------------------------------------------------------------------------------- /config/cn15k/FocusE_cn15k.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/config/cn15k/FocusE_cn15k.yaml -------------------------------------------------------------------------------- /config/cn15k/GMUC_cn15k.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/config/cn15k/GMUC_cn15k.yaml -------------------------------------------------------------------------------- /config/cn15k/GTransE_cn15k.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/config/cn15k/GTransE_cn15k.yaml -------------------------------------------------------------------------------- /config/cn15k/PASSLEAF_cn15k.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/config/cn15k/PASSLEAF_cn15k.yaml -------------------------------------------------------------------------------- /config/cn15k/UKGEPSL_cn15k.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/config/cn15k/UKGEPSL_cn15k.yaml -------------------------------------------------------------------------------- /config/cn15k/UKGE_cn15k.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/config/cn15k/UKGE_cn15k.yaml -------------------------------------------------------------------------------- /config/cn15k/UKGsE_cn15k.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/config/cn15k/UKGsE_cn15k.yaml -------------------------------------------------------------------------------- /config/cn15k/UPGAT_cn15k.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/config/cn15k/UPGAT_cn15k.yaml -------------------------------------------------------------------------------- /config/cn15k/ssCDL_cn15k.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/config/cn15k/ssCDL_cn15k.yaml -------------------------------------------------------------------------------- /config/nl27k/BEUrRE_nl27k.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/config/nl27k/BEUrRE_nl27k.yaml -------------------------------------------------------------------------------- /config/nl27k/FocusE_nl27k.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/config/nl27k/FocusE_nl27k.yaml -------------------------------------------------------------------------------- /config/nl27k/GMUC_nl27k.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/config/nl27k/GMUC_nl27k.yaml -------------------------------------------------------------------------------- /config/nl27k/GMUCp_nl27k.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/config/nl27k/GMUCp_nl27k.yaml -------------------------------------------------------------------------------- /config/nl27k/GTransE_nl27k.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/config/nl27k/GTransE_nl27k.yaml -------------------------------------------------------------------------------- /config/nl27k/PASSLEAF_nl27k.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/config/nl27k/PASSLEAF_nl27k.yaml -------------------------------------------------------------------------------- /config/nl27k/UKGEPSL_nl27k.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/config/nl27k/UKGEPSL_nl27k.yaml -------------------------------------------------------------------------------- /config/nl27k/UKGE_nl27k.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/config/nl27k/UKGE_nl27k.yaml -------------------------------------------------------------------------------- /config/nl27k/UKGsE_nl27k.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/config/nl27k/UKGsE_nl27k.yaml -------------------------------------------------------------------------------- /config/nl27k/UPGAT_nl27k.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/config/nl27k/UPGAT_nl27k.yaml -------------------------------------------------------------------------------- /config/nl27k/ssCDL_nl27k.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/config/nl27k/ssCDL_nl27k.yaml -------------------------------------------------------------------------------- /config/ppi5k/BEUrRE_ppi5k.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/config/ppi5k/BEUrRE_ppi5k.yaml -------------------------------------------------------------------------------- /config/ppi5k/FocusE_ppi5k.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/config/ppi5k/FocusE_ppi5k.yaml -------------------------------------------------------------------------------- /config/ppi5k/GTransE_ppi5k.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/config/ppi5k/GTransE_ppi5k.yaml -------------------------------------------------------------------------------- /config/ppi5k/PASSLEAF_ppi5k.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/config/ppi5k/PASSLEAF_ppi5k.yaml -------------------------------------------------------------------------------- /config/ppi5k/UKGEPSL_ppi5k.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/config/ppi5k/UKGEPSL_ppi5k.yaml -------------------------------------------------------------------------------- /config/ppi5k/UKGE_ppi5k.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/config/ppi5k/UKGE_ppi5k.yaml -------------------------------------------------------------------------------- /config/ppi5k/UKGsE_ppi5k.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/config/ppi5k/UKGsE_ppi5k.yaml -------------------------------------------------------------------------------- /config/ppi5k/UPGAT_ppi5k.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/config/ppi5k/UPGAT_ppi5k.yaml -------------------------------------------------------------------------------- /dataset/cn15k/dev_tasks.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/dataset/cn15k/dev_tasks.json -------------------------------------------------------------------------------- /dataset/cn15k/path_graph: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/dataset/cn15k/path_graph -------------------------------------------------------------------------------- /dataset/cn15k/softlogic.tsv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/dataset/cn15k/softlogic.tsv -------------------------------------------------------------------------------- /dataset/cn15k/test.tsv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/dataset/cn15k/test.tsv -------------------------------------------------------------------------------- /dataset/cn15k/test_tasks.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/dataset/cn15k/test_tasks.json -------------------------------------------------------------------------------- /dataset/cn15k/train.tsv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/dataset/cn15k/train.tsv -------------------------------------------------------------------------------- /dataset/cn15k/train_tasks.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/dataset/cn15k/train_tasks.json -------------------------------------------------------------------------------- /dataset/cn15k/val.tsv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/dataset/cn15k/val.tsv -------------------------------------------------------------------------------- /dataset/nl27k/dev_tasks.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/dataset/nl27k/dev_tasks.json -------------------------------------------------------------------------------- /dataset/nl27k/ontology.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/dataset/nl27k/ontology.csv -------------------------------------------------------------------------------- /dataset/nl27k/path_graph: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/dataset/nl27k/path_graph -------------------------------------------------------------------------------- /dataset/nl27k/softlogic.tsv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/dataset/nl27k/softlogic.tsv -------------------------------------------------------------------------------- /dataset/nl27k/test.tsv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/dataset/nl27k/test.tsv -------------------------------------------------------------------------------- /dataset/nl27k/test_tasks.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/dataset/nl27k/test_tasks.json -------------------------------------------------------------------------------- /dataset/nl27k/train.tsv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/dataset/nl27k/train.tsv -------------------------------------------------------------------------------- /dataset/nl27k/train_tasks.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/dataset/nl27k/train_tasks.json -------------------------------------------------------------------------------- /dataset/nl27k/val.tsv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/dataset/nl27k/val.tsv -------------------------------------------------------------------------------- /dataset/ppi5k/entity_id.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/dataset/ppi5k/entity_id.csv -------------------------------------------------------------------------------- /dataset/ppi5k/relation_id.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/dataset/ppi5k/relation_id.csv -------------------------------------------------------------------------------- /dataset/ppi5k/softlogic.tsv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/dataset/ppi5k/softlogic.tsv -------------------------------------------------------------------------------- /dataset/ppi5k/test.tsv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/dataset/ppi5k/test.tsv -------------------------------------------------------------------------------- /dataset/ppi5k/train.tsv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/dataset/ppi5k/train.tsv -------------------------------------------------------------------------------- /dataset/ppi5k/val.tsv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/dataset/ppi5k/val.tsv -------------------------------------------------------------------------------- /demo/BEUrREdemo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/demo/BEUrREdemo.py -------------------------------------------------------------------------------- /demo/FocusEdemo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/demo/FocusEdemo.py -------------------------------------------------------------------------------- /demo/GMUCdemo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/demo/GMUCdemo.py -------------------------------------------------------------------------------- /demo/GMUCpdemo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/demo/GMUCpdemo.py -------------------------------------------------------------------------------- /demo/GTransEdemo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/demo/GTransEdemo.py -------------------------------------------------------------------------------- /demo/PASSLEAFdemo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/demo/PASSLEAFdemo.py -------------------------------------------------------------------------------- /demo/UKGE_PSLdemo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/demo/UKGE_PSLdemo.py -------------------------------------------------------------------------------- /demo/UKGEdemo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/demo/UKGEdemo.py -------------------------------------------------------------------------------- /demo/UKGsEdemo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/demo/UKGsEdemo.py -------------------------------------------------------------------------------- /demo/UPGATdemo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/demo/UPGATdemo.py -------------------------------------------------------------------------------- /demo/ssCDLdemo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/demo/ssCDLdemo.py -------------------------------------------------------------------------------- /docs/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/docs/Makefile -------------------------------------------------------------------------------- /docs/make.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/docs/make.bat -------------------------------------------------------------------------------- /docs/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/docs/requirements.txt -------------------------------------------------------------------------------- /docs/source/Parameters.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/docs/source/Parameters.md -------------------------------------------------------------------------------- /docs/source/_static/css/custom.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/docs/source/_static/css/custom.css -------------------------------------------------------------------------------- /docs/source/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/docs/source/conf.py -------------------------------------------------------------------------------- /docs/source/fsukgmodel.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/docs/source/fsukgmodel.rst -------------------------------------------------------------------------------- /docs/source/index.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/docs/source/index.rst -------------------------------------------------------------------------------- /docs/source/install.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/docs/source/install.rst -------------------------------------------------------------------------------- /docs/source/modules.rst: -------------------------------------------------------------------------------- 1 | src 2 | === 3 | 4 | .. toctree:: 5 | :maxdepth: 4 6 | 7 | -------------------------------------------------------------------------------- /docs/source/result.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/docs/source/result.md -------------------------------------------------------------------------------- /docs/source/ukgmodel.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/docs/source/ukgmodel.rst -------------------------------------------------------------------------------- /docs/source/unKR.data.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/docs/source/unKR.data.rst -------------------------------------------------------------------------------- /docs/source/unKR.eval_task.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/docs/source/unKR.eval_task.rst -------------------------------------------------------------------------------- /docs/source/unKR.lit_model.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/docs/source/unKR.lit_model.rst -------------------------------------------------------------------------------- /docs/source/unKR.loss.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/docs/source/unKR.loss.rst -------------------------------------------------------------------------------- /docs/source/unKR.model.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/docs/source/unKR.model.rst -------------------------------------------------------------------------------- /docs/source/unKR.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/docs/source/unKR.rst -------------------------------------------------------------------------------- /generate_psl/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/generate_psl/README.md -------------------------------------------------------------------------------- /generate_psl/config/cn15k.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/generate_psl/config/cn15k.yaml -------------------------------------------------------------------------------- /generate_psl/config/nl27k.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/generate_psl/config/nl27k.yaml -------------------------------------------------------------------------------- /generate_psl/config/ppi5k.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/generate_psl/config/ppi5k.yaml -------------------------------------------------------------------------------- /generate_psl/data/cn15k/data.tsv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/generate_psl/data/cn15k/data.tsv -------------------------------------------------------------------------------- /generate_psl/data/cn15k/entity_id.tsv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/generate_psl/data/cn15k/entity_id.tsv -------------------------------------------------------------------------------- /generate_psl/data/cn15k/relation_id.tsv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/generate_psl/data/cn15k/relation_id.tsv -------------------------------------------------------------------------------- /generate_psl/data/cn15k/train.tsv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/generate_psl/data/cn15k/train.tsv -------------------------------------------------------------------------------- /generate_psl/data/nl27k/data.tsv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/generate_psl/data/nl27k/data.tsv -------------------------------------------------------------------------------- /generate_psl/data/nl27k/entity_id.tsv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/generate_psl/data/nl27k/entity_id.tsv -------------------------------------------------------------------------------- /generate_psl/data/nl27k/relation_id.tsv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/generate_psl/data/nl27k/relation_id.tsv -------------------------------------------------------------------------------- /generate_psl/data/nl27k/train.tsv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/generate_psl/data/nl27k/train.tsv -------------------------------------------------------------------------------- /generate_psl/data/ppi5k/data.tsv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/generate_psl/data/ppi5k/data.tsv -------------------------------------------------------------------------------- /generate_psl/data/ppi5k/entity_id.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/generate_psl/data/ppi5k/entity_id.csv -------------------------------------------------------------------------------- /generate_psl/data/ppi5k/relation_id.tsv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/generate_psl/data/ppi5k/relation_id.tsv -------------------------------------------------------------------------------- /generate_psl/data/ppi5k/train.tsv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/generate_psl/data/ppi5k/train.tsv -------------------------------------------------------------------------------- /generate_psl/get_psl.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/generate_psl/get_psl.py -------------------------------------------------------------------------------- /generate_psl/infer_psl.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/generate_psl/infer_psl.py -------------------------------------------------------------------------------- /generate_psl/utils/setup_parse.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/generate_psl/utils/setup_parse.py -------------------------------------------------------------------------------- /generate_psl/utils/tools.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/generate_psl/utils/tools.py -------------------------------------------------------------------------------- /main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/main.py -------------------------------------------------------------------------------- /pics/demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/pics/demo.gif -------------------------------------------------------------------------------- /pics/ssCDL.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/pics/ssCDL.png -------------------------------------------------------------------------------- /pics/unKR.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/pics/unKR.svg -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/requirements.txt -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/setup.py -------------------------------------------------------------------------------- /src/unKR/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/src/unKR/__init__.py -------------------------------------------------------------------------------- /src/unKR/data/DataPreprocess.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/src/unKR/data/DataPreprocess.py -------------------------------------------------------------------------------- /src/unKR/data/KGDataModule.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/src/unKR/data/KGDataModule.py -------------------------------------------------------------------------------- /src/unKR/data/Sampler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/src/unKR/data/Sampler.py -------------------------------------------------------------------------------- /src/unKR/data/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/src/unKR/data/__init__.py -------------------------------------------------------------------------------- /src/unKR/data/base_data_module.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/src/unKR/data/base_data_module.py -------------------------------------------------------------------------------- /src/unKR/eval_task/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/src/unKR/eval_task/__init__.py -------------------------------------------------------------------------------- /src/unKR/eval_task/confidence_prediction.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/src/unKR/eval_task/confidence_prediction.py -------------------------------------------------------------------------------- /src/unKR/eval_task/link_prediction.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/src/unKR/eval_task/link_prediction.py -------------------------------------------------------------------------------- /src/unKR/eval_task/nDCG.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/src/unKR/eval_task/nDCG.py -------------------------------------------------------------------------------- /src/unKR/lit_model/BEUrRELitModel.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/src/unKR/lit_model/BEUrRELitModel.py -------------------------------------------------------------------------------- /src/unKR/lit_model/BaseLitModel.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/src/unKR/lit_model/BaseLitModel.py -------------------------------------------------------------------------------- /src/unKR/lit_model/FocusELitModel.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/src/unKR/lit_model/FocusELitModel.py -------------------------------------------------------------------------------- /src/unKR/lit_model/GMUCLitModel.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/src/unKR/lit_model/GMUCLitModel.py -------------------------------------------------------------------------------- /src/unKR/lit_model/GTransELitModel.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/src/unKR/lit_model/GTransELitModel.py -------------------------------------------------------------------------------- /src/unKR/lit_model/PASSLEAFLitModel.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/src/unKR/lit_model/PASSLEAFLitModel.py -------------------------------------------------------------------------------- /src/unKR/lit_model/UKGELitModel.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/src/unKR/lit_model/UKGELitModel.py -------------------------------------------------------------------------------- /src/unKR/lit_model/UKGEPSLLitModel.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/src/unKR/lit_model/UKGEPSLLitModel.py -------------------------------------------------------------------------------- /src/unKR/lit_model/UKGsELitModel.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/src/unKR/lit_model/UKGsELitModel.py -------------------------------------------------------------------------------- /src/unKR/lit_model/UPGATLitModel.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/src/unKR/lit_model/UPGATLitModel.py -------------------------------------------------------------------------------- /src/unKR/lit_model/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/src/unKR/lit_model/__init__.py -------------------------------------------------------------------------------- /src/unKR/lit_model/ssCDLLit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/src/unKR/lit_model/ssCDLLit.py -------------------------------------------------------------------------------- /src/unKR/loss/Adv_Loss.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/src/unKR/loss/Adv_Loss.py -------------------------------------------------------------------------------- /src/unKR/loss/BEUrRE_Loss.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/src/unKR/loss/BEUrRE_Loss.py -------------------------------------------------------------------------------- /src/unKR/loss/FocusE_Loss.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/src/unKR/loss/FocusE_Loss.py -------------------------------------------------------------------------------- /src/unKR/loss/GMUC_Loss.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/src/unKR/loss/GMUC_Loss.py -------------------------------------------------------------------------------- /src/unKR/loss/GMUCp_Loss.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/src/unKR/loss/GMUCp_Loss.py -------------------------------------------------------------------------------- /src/unKR/loss/GTransE_Loss.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/src/unKR/loss/GTransE_Loss.py -------------------------------------------------------------------------------- /src/unKR/loss/Margin_Loss.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/src/unKR/loss/Margin_Loss.py -------------------------------------------------------------------------------- /src/unKR/loss/PASSLEAF_Loss.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/src/unKR/loss/PASSLEAF_Loss.py -------------------------------------------------------------------------------- /src/unKR/loss/UKGE_Loss.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/src/unKR/loss/UKGE_Loss.py -------------------------------------------------------------------------------- /src/unKR/loss/UKGE_PSL_Loss.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/src/unKR/loss/UKGE_PSL_Loss.py -------------------------------------------------------------------------------- /src/unKR/loss/UKGsE_Loss.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/src/unKR/loss/UKGsE_Loss.py -------------------------------------------------------------------------------- /src/unKR/loss/UPGAT_Loss.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/src/unKR/loss/UPGAT_Loss.py -------------------------------------------------------------------------------- /src/unKR/loss/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/src/unKR/loss/__init__.py -------------------------------------------------------------------------------- /src/unKR/loss/ssCDL_loss.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/src/unKR/loss/ssCDL_loss.py -------------------------------------------------------------------------------- /src/unKR/model/FSUKGModel/GMUC.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/src/unKR/model/FSUKGModel/GMUC.py -------------------------------------------------------------------------------- /src/unKR/model/FSUKGModel/GMUCp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/src/unKR/model/FSUKGModel/GMUCp.py -------------------------------------------------------------------------------- /src/unKR/model/FSUKGModel/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/src/unKR/model/FSUKGModel/__init__.py -------------------------------------------------------------------------------- /src/unKR/model/UKGModel/BEUrRE.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/src/unKR/model/UKGModel/BEUrRE.py -------------------------------------------------------------------------------- /src/unKR/model/UKGModel/FocusE.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/src/unKR/model/UKGModel/FocusE.py -------------------------------------------------------------------------------- /src/unKR/model/UKGModel/GTransE.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/src/unKR/model/UKGModel/GTransE.py -------------------------------------------------------------------------------- /src/unKR/model/UKGModel/PASSLEAF.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/src/unKR/model/UKGModel/PASSLEAF.py -------------------------------------------------------------------------------- /src/unKR/model/UKGModel/SSCDL.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/src/unKR/model/UKGModel/SSCDL.py -------------------------------------------------------------------------------- /src/unKR/model/UKGModel/UKGE.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/src/unKR/model/UKGModel/UKGE.py -------------------------------------------------------------------------------- /src/unKR/model/UKGModel/UKGE_PSL.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/src/unKR/model/UKGModel/UKGE_PSL.py -------------------------------------------------------------------------------- /src/unKR/model/UKGModel/UKGsE.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/src/unKR/model/UKGModel/UKGsE.py -------------------------------------------------------------------------------- /src/unKR/model/UKGModel/UPGAT.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/src/unKR/model/UKGModel/UPGAT.py -------------------------------------------------------------------------------- /src/unKR/model/UKGModel/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/src/unKR/model/UKGModel/__init__.py -------------------------------------------------------------------------------- /src/unKR/model/UKGModel/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/src/unKR/model/UKGModel/model.py -------------------------------------------------------------------------------- /src/unKR/model/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/src/unKR/model/__init__.py -------------------------------------------------------------------------------- /src/unKR/utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/src/unKR/utils/__init__.py -------------------------------------------------------------------------------- /src/unKR/utils/setup_parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/src/unKR/utils/setup_parser.py -------------------------------------------------------------------------------- /src/unKR/utils/tools.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/src/unKR/utils/tools.py -------------------------------------------------------------------------------- /sscdl_run.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/sscdl_run.py -------------------------------------------------------------------------------- /unKR_LLaMA2/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/unKR_LLaMA2/README.md -------------------------------------------------------------------------------- /unKR_LLaMA2/data/cn15k/cn15k_test_conf.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/unKR_LLaMA2/data/cn15k/cn15k_test_conf.csv -------------------------------------------------------------------------------- /unKR_LLaMA2/data/cn15k/cn15k_test_tail.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/unKR_LLaMA2/data/cn15k/cn15k_test_tail.csv -------------------------------------------------------------------------------- /unKR_LLaMA2/data/cn15k/cn15k_train_conf.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/unKR_LLaMA2/data/cn15k/cn15k_train_conf.json -------------------------------------------------------------------------------- /unKR_LLaMA2/data/cn15k/cn15k_train_tail.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/unKR_LLaMA2/data/cn15k/cn15k_train_tail.json -------------------------------------------------------------------------------- /unKR_LLaMA2/data/cn15k/entity_id.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/unKR_LLaMA2/data/cn15k/entity_id.csv -------------------------------------------------------------------------------- /unKR_LLaMA2/data/cn15k/instruction_cn15k.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/unKR_LLaMA2/data/cn15k/instruction_cn15k.py -------------------------------------------------------------------------------- /unKR_LLaMA2/data/cn15k/relation_id.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/unKR_LLaMA2/data/cn15k/relation_id.csv -------------------------------------------------------------------------------- /unKR_LLaMA2/data/cn15k/relation_text.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/unKR_LLaMA2/data/cn15k/relation_text.csv -------------------------------------------------------------------------------- /unKR_LLaMA2/data/nl27k/instruction_nl27k.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/unKR_LLaMA2/data/nl27k/instruction_nl27k.py -------------------------------------------------------------------------------- /unKR_LLaMA2/data/nl27k/nl27k_test_conf.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/unKR_LLaMA2/data/nl27k/nl27k_test_conf.csv -------------------------------------------------------------------------------- /unKR_LLaMA2/data/nl27k/nl27k_test_tail.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/unKR_LLaMA2/data/nl27k/nl27k_test_tail.csv -------------------------------------------------------------------------------- /unKR_LLaMA2/data/nl27k/nl27k_train_conf.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/unKR_LLaMA2/data/nl27k/nl27k_train_conf.json -------------------------------------------------------------------------------- /unKR_LLaMA2/data/nl27k/nl27k_train_tail.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/unKR_LLaMA2/data/nl27k/nl27k_train_tail.json -------------------------------------------------------------------------------- /unKR_LLaMA2/lora_finetune.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/unKR_LLaMA2/lora_finetune.py -------------------------------------------------------------------------------- /unKR_LLaMA2/lora_infer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/unKR_LLaMA2/lora_infer.py -------------------------------------------------------------------------------- /unKR_ssCDL/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seucoin/unKR/HEAD/unKR_ssCDL/README.md --------------------------------------------------------------------------------