weaviate / t2v-transformers-models

This is the repo for the container that holds the models for the text2vec-transformers module
BSD 3-Clause "New" or "Revised" License
40 stars 27 forks source link

Error with SentenceTransformer #68

Open axeloh opened 1 year ago

axeloh commented 1 year ago

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:

image

axeloh commented 1 year ago

Trying with a different model (sentence-transformers/multi-qa-mpnet-base-cos-v1) it works fine.

tsmith023 commented 11 months ago

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?