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
Encode the relation and entity ? #22
Comments
I'm not sure I understand your question. How is this different from encoding e and r as vectors? |
If by NLP you mean we didn't use sentences "Boston is located in the US" to encode the vector for LocatedIn, then you're correct. We created relation embeddings from random and trained the embedding parameters using the RL objective. I hope that helps! :) |
Thanks very much, that helps. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello, I read your paper and codes and there is a confusion.
About encoding relation and entity, here is my understanding.
You don't encode them as vectors, instead using embedding matrices r and e and looking up in the embedding matrices according to their ids. And tf.nn.embedding_lookup() function could train the parameters in the embedding matrices.
Is that right?
The text was updated successfully, but these errors were encountered: