Vectorizing MNLI sentence segmentation and similarity computation
forrestbao opened this issue · 1 comments
forrestbao commented
The code below does sentence segmentation one sentence each time. Please use a vectorized version that segments multiple sentences each time.
Also, we should have two versions for MNLI-based approaches: word-level like original BERT-score and sentence-level like BERT-score sentence.
forrestbao commented
Please spend up to 1 hour to figure out why using MNLI based model to compute sentence similarity is so slow.