This PR defines how to use pretrained models for performing tasks such as link predication on Knowledge Graphs.
Pretained models can be version controlled inside examples/pretrained/__ with the file name model.vec.pt. On inference, users can run:
python inference.py -mn TransE -ld examples/pretrained/TransE/model.vec.pt # pykg2vec will load the pretrained model from the specified path.
This PR defines how to use pretrained models for performing tasks such as link predication on Knowledge Graphs.
Pretained models can be version controlled inside examples/pretrained/__ with the file name model.vec.pt. On inference, users can run:
python inference.py -mn TransE -ld examples/pretrained/TransE/model.vec.pt # pykg2vec will load the pretrained model from the specified path.