princeton-nlp / SimCSE

[EMNLP 2021] SimCSE: Simple Contrastive Learning of Sentence Embeddings https://arxiv.org/abs/2104.08821
MIT License
3.31k stars 502 forks source link

你好,请问我用model.encode为什么获取不到句子的长度信息 #245

Closed Reset-aa closed 1 year ago

Reset-aa commented 1 year ago

我想返回(batch,length,768)的张量,但是目前只返回了(batch,768)

github-actions[bot] commented 1 year ago

Stale issue message