t2v-transformers-models
t2v-transformers-models copied to clipboard
Error with SentenceTransformer
With the new change introduced by the SentenceTransformer PR, I run into an issue when building the Docker image for this repo. Specifically, I am using MODEL_NAME=hkunlp/instructor-xl and the error occurs when initializing the SentenceTransformer on line 30 in download.py. Traceback:
Trying with a different model (sentence-transformers/multi-qa-mpnet-base-cos-v1) it works fine.
Hey @axeloh, this may or may not have been due to the bump of the torch dependency. This was reverted here: https://github.com/weaviate/t2v-transformers-models/pull/70, are you able to verify if this fixes the above issue for you?
Hello!
I believe this is related to your sentence-transformers version being a tad too low.
- Tom Aarsen