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

About training #218

Closed lywang76 closed 1 year ago

lywang76 commented 1 year ago

Hello, I follow your run_unsup_example.sh to train SimCSE.

I got the following errors in SentEval. Can you give me a guide how to fix it?image

PKU-Fgx commented 1 year ago

i found the same problem, have you already solved it?

gaotianyu1350 commented 1 year ago

It seems that the python version might be too new for the code calling inspect. Maybe try Python < 3.9?

fstermann commented 1 year ago

I had the same issue, even with Python 3.8. Changing inspect.getargspec to inspect.getfullargspec should solve the issue.

github-actions[bot] commented 1 year ago

Stale issue message