Closed FinalFlowers closed 10 months ago
Hi, here examples[sent0_cname]
and examples[sent1_cname]
are both lists, so it is a concatenation of two lists instead of two strings.
Hi, here
examples[sent0_cname]
andexamples[sent1_cname]
are both lists, so it is a concatenation of two lists instead of two strings.
Get~ Thank you~
https://github.com/princeton-nlp/SimCSE/blob/main/train.py#L419C13-L419C13 If add sent0 and sent1 together, then max_length=32 will produce more truncation in the following sentences.