-
Notifications
You must be signed in to change notification settings - Fork 10
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
About Triple2Seq part #4
Comments
Thanks for your comments. get_triplet function will generate all neighborhood triplets surrounding the entities. The input to this function is the head or tail entity, not an entity-relation pair. |
Would you mind telling me where entity-relation pair information is involved? |
My previous reply might cause some confusion and sorry for that. We sample the triplet based on the entity and then generate the relevant triplets. We are not sampling based on entity-relation pair but generate the final outputs in triple-level. Triple2Seq is the process of converting the original triple to a sequence with surrounding contextual triples. |
Can you add my Wechat so we can have a nice communication? |
OK, no problem. |
|
Welcome to discuss |
I saw that in the Triple2Seq section, it is mentioned that the neighbors are triple-level, but in the preprocessing code.
Relphormer/dataset/create_neighbor.py
Line 98 in 67a2aab
The text was updated successfully, but these errors were encountered: