JohnGiorgi / seq2rel-ds

This is a companion repository to seq2rel (https://github.com/JohnGiorgi/seq2rel) which aims to make it easy to generate training data.
5 stars 1 forks source link

Include coref info in entity hints #27

Closed JohnGiorgi closed 3 years ago

JohnGiorgi commented 3 years ago

This PR updates entity hinting so that, if coreference annotations are known, they are included as a hint. We do this by including an index (starting at 0) like so:

image

So the model can use the hint to resolve coreference. This helps us more fairly compare to the existing literature on document-level RE.