thunlp / Fast-TransX

An Efficient implementation of TransE and its extended models for Knowledge Representation Learning
MIT License
402 stars 108 forks source link

e1_e2.txt #57

Closed AndRossi closed 2 years ago

AndRossi commented 5 years ago

I am trying to train PTransE on other datasets in addition to FB15K, and therefore I need to generate the corresponding e1_e2.txt file. However I am really confused about how exactly the is e1_e2.txt is generated.

Can you please explain this to me (or, even better, share the code for generating that file, so I can study it myself)? Thanks!

THUCSTHanxu13 commented 2 years ago

For this, we refer to the original code of PtransE https://github.com/thunlp/KB2E/tree/master/PTransE