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

What huggingface/transformers version is this compatible with? #223

Closed bruel-gabrielsson closed 1 year ago

bruel-gabrielsson commented 1 year ago

Hi! Great work! What huggingface/transformers version is this compatible with? Would be very grateful for your input!

jeongwoopark0514 commented 1 year ago

I am running this in conda env with python 3.9 and transformer 4.2.1. There seems to be no problem!

github-actions[bot] commented 1 year ago

Stale issue message

gaotianyu1350 commented 1 year ago

Transformers 4.2.1 should work! (as suggested in the requirements.txt file)