Question about max length of sentence
xixy opened this issue · comments
Thank you very much for your open-sourced code. I noticed that you set the max length of sentence to 40 by cutting sentences longer than 40 as follows:
Line 200 in e5d5445
Is the comparison fair considering many sentences are longer than 40? For example, the longest sentence in train/dev/test contains 228/154/84 tokens respectively. The triggers are also dropped and not counted when calculating F1.
Thank you and look forward to your reply.
The parameter of "max length of sentences" is a hyper-parameter, it can be set to 40 or others for batch training. In evaluation, it can be set as the max length of sentences on the development set.
Thanks for reply. Another question is did you use the max length for evaluation, which corresponds to the performance reported in your paper?
Yes, we set the hyper-parameter as the max sentence length on the test set for evaluation.
Thanks for reply.