I am trying to use infgrad/stella-base-en-v2 on hugging to generate embeddings using langchain

  1. The model exists on the huggingface hub
  2. The model is listed on the MTEB leaderboard
  3. The model has sentence transformer tag on it

Still when I try to use it like so:

from langchain_community.embeddings import HuggingFaceEmbeddings
embeddings = HuggingFaceEmbeddings(model_name = "infgrad/stella-base-en-v2")

I get the warning:

No sentence-transformers model found with name infgrad/stella-base-en-v2. Creating a new one with MEAN pooling.

Why is that the case?



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.