princeton-nlp / SimCSE

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

When inference hint:newly initialized: ['bert.pooler.dense.weight', 'bert.pooler.dense.bias'] #196

Closed Chucy2020 closed 1 year ago

Chucy2020 commented 1 year ago

image 请问我该如何解决这个问题?

gaotianyu1350 commented 1 year ago

It seems that you forgot to convert the models before evaluating them. Please check out convert models section and evaluation section in README.