Padding bugs on data preprocess
Closed this issue · 2 comments
AppleHolic commented
On this code line,
the pad index 0 is same with first segment index.
So, it may not offer segment information exactly.
dhlee347 commented
I merged your pull requests.
yeachan-kr commented
The pad index 0 does not affect to the accuracy since the paddings will be masked.
Further, such requests cause the out-of-bound problem when loading the pre-trained models.