princeton-nlp / SimCSE

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

evaluation process #158

Closed Nirvana-2021 closed 2 years ago

Nirvana-2021 commented 2 years ago

Hi, Where I can find the process of computing loss value and how to deliver the validate data into unsupervised train-eval process?

gaotianyu1350 commented 2 years ago

Hi,

The training/evaluation code can be found in simcse/trainers.py.