79636016

Date: 2025-05-23 18:12:30
Score: 0.5
Natty:
Report link

The problem is that SentenceTransformer relies on the indices present in the Series. Therefore, to eliminate this issue, you need to reset the indices before calling encode(sentences):

sentences = sentences.reset_index(drop=True)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Kirill Dolmatov