Fix sen_idx for sliced corpus in Extractor
jumelet opened this issue · 0 comments
jumelet commented
diagNNose/diagnnose/corpus/corpus.py
Line 166 in 76d9fe1
When taking a slice that does not start at 0 this leads to a bug in the Extractor which can not handle non-contiguous sen_ids.