adityak6798 / Transformers-For-Negation-and-Speculation

This is the code for Negation and Speculation Cue Detection and Scope Resolution using BERT, XLNet and RoBERTa
MIT License
31 stars 7 forks source link

The output of CustomData for Cue Detection #2

Closed xga0 closed 3 years ago

xga0 commented 3 years ago

Hi Aditya,

Thank you for sharing your code! I ran into a problem when using CustomData to test the Cue Detection subtask. I don't know why, the length of my output is different from the length of the input.

Screen Shot 2020-10-09 at 5 41 43 PM

As shown in the screenshot above, my input sentence has five words, but the output has 18 labels. In contrast, using CustomData for Scope Resolution will output the correct results.

Thanks!

adityak6798 commented 3 years ago

Fixed this.