Source code of MetaP
PyTorch==1.6.0
Python==3.7.10
- With random initialized embeddings for COVID19-One:
python main.py --fine_tune --data_form Discard
- With pre-trained embeddings for NELL-One:
python main.py --fine_tune --data_form Pre-Train
@inproceedings{jiang2021metap,
title={MetaP: Meta Pattern Learning for One-Shot Knowledge Graph Completion},
author={Jiang, Zhiyi and Gao, Jianliang and Lv, Xinqi},
booktitle={Proceedings of the 44th International ACM SIGIR Conference on Research and Development in Information Retrieval},
pages={2232--2236},
year={2021}
}