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

Warning: Detected call of `lr_scheduler.step()` before `optimizer.step()` #209

Closed xxllp closed 1 year ago

xxllp commented 1 year ago

when I run the train.py get the warning .

github-actions[bot] commented 1 year ago

Stale issue message

gaotianyu1350 commented 1 year ago

This is caused by Huggingface's code. You can safely ignore this warning.