nanguoshun / LSR

Pytorch Implementation of our ACL 2020 Paper "Reasoning with Latent Structure Refinement for Document-Level Relation Extraction"
127 stars 22 forks source link

About construction of entities #34

Open MingYangi opened 3 years ago

MingYangi commented 3 years ago

How does the red node in Figure 2, the entity construct?Is it to calculate the average reference value of the blue mentioned nodes, and then treat the blue node with the highest probability as the red solid node?

MingYangi commented 3 years ago

Oh no, the entity node is the average of every mentioned node, right?Not in the way I've described it.

nanguoshun commented 3 years ago

hi @SeaYM, thanks for your question. YES, you are right! The rep of an entity node is computed by averaging all corresponding mention nodes.