Error: No sentence-transformers model found with name

#3
by stepan-romankov - opened

What could be the reason of an error?

No sentence-transformers model found with name /root/.cache/torch/sentence_transformers/cointegrated_rubert-tiny2. Creating a new one with MEAN pooling.

This model is not adapted for use within the sentence-transformers library.
The recommended code for its usage is given at the mode's page: https://huggingface.co/cointegrated/rubert-tiny2.

It is possible to make the model compatible with sentence-transformers, but it will take some time for me to figure out.

@stepan-romankov
I updated the model to be compatible with sentence_transformers; please take a look at the updated readme doc.
It still throws a warning Some weights of the model checkpoint .. were not used when initializing BertModel, but this is allright.

cointegrated changed discussion status to closed

Sign up or log in to comment