Closed bujiahao closed 2 years ago
Hi,
This is the SentEval format. Here each s in batch is a list of word, e.g., ["I", "have", "a", "pen", "."]. This operation will concatenate them back to a string sentence, "I have a pen .".
Thanks for the reply!
Stale issue message
In the SimCSE.simcse.trainers.py the 106th line, " sentences = [' '.join(s) for s in batch] " When evaluate , the code will convert a word (e.g. "eye") to a char ( e.g. "e","y","e") why?