Skip to content
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

Error with SentenceTransformer #68

Open
axeloh opened this issue Oct 27, 2023 · 2 comments
Open

Error with SentenceTransformer #68

axeloh opened this issue Oct 27, 2023 · 2 comments

Comments

@axeloh
Copy link

axeloh commented Oct 27, 2023

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
Copy link
Author

axeloh commented Oct 27, 2023

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

@tsmith023
Copy link
Contributor

Hey @axeloh, this may or may not have been due to the bump of the torch dependency. This was reverted here: #70, are you able to verify if this fixes the above issue for you?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants