chiayewken / Span-ASTE

Code Implementation of "Learning Span-Level Interactions for Aspect Sentiment Triplet Extraction".

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Are invalid triplet added as training instances during training stage?

liuyijiang1994 opened this issue · comments

commented

Hi, thanks for such excellent work!
In the Sentiment Relation Classification section, are negative samples, i.e. invalid triplet, added as training instances during training?
Looking forward to your reply!

commented

Oh, I found that you utilize AdjacencyField and add 1 to relation labels when calculating the loss!