Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The training of TransE #5

Open
WeiQi1995 opened this issue Sep 23, 2019 · 1 comment
Open

The training of TransE #5

WeiQi1995 opened this issue Sep 23, 2019 · 1 comment

Comments

@WeiQi1995
Copy link

I didn't find the ‘ transE_emb.py ’ file in your code, so I would like to ask how the initialization vector of transE is represented in the training, or can you give me the ‘ transE_emb.py ’ file? At the same time, I have a question about KEQA. The vectorized representation obtained after KEQA is not in the same vector space as the embedded representation TransE, so when the Euclidean distance between the two is found, will there be an error match?

@xhuang31
Copy link
Member

Thank you so much for the comments.

Knowledge graph embedding is not the focus of our paper. For the TransE embedding, we directly use the implementation from https://github.com/ZichaoHuang/TransE. I cannot put "transE_emb.py" in this repo since the contribution should be credited to https://github.com/ZichaoHuang/TransE.

Yes, you are right. It is not an error match, but an inaccurate match. Our goal is to make the predicted entity representation as close as possible to the representation of the correct head entity. The goal is NOT to recover exactly the same representation, but a close one, so that the learned vector could be used as a pointer to lead us to the current head entity.

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants