-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to install? #2
Comments
You need to be in the |
Thanks! was able to import and run on STS-B dataset. However, loading the model throws this warning. Is it expected?
|
Hi! I just changed the code in |
Hi @JhonDan1999 The warning is caused by loading our DiffCSE model (encoder-decoder arch) into the RoBERTa model (encoder-only arch). If you only want to extract sentence embeddings without training, it should be fine, as you don't need the decoder to extract. For the second warning, if you're using RoBERTa, just make sure that your sentence length is not longer than 514 (including BOS/EOS), then it should be fine. |
Could you pls share how to install
diffcse
? I tried the belowthen running
results in
ModuleNotFoundError
Thanks!
The text was updated successfully, but these errors were encountered: