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

Thanks for your amazing work, how do I load the local multi-qa-distilbert-cos-v1 model to run your code? #1

Open
GitHubBoys opened this issue Dec 21, 2023 · 0 comments

Comments

@GitHubBoys
Copy link

'huggingface_hub.utils.validators.HFValidationError: Repo id must use alphanumeric chars or '-', '', '.', '--' and '..' are forbidden, '-' and '.' cannot start or end the name, max length is 96: './multi-qa-distilbert-cos-v1'.
'
An error occurred when converting
code "model = SentenceTransformer.SentenceTransformer(model_name, device='cuda')"
to
code "model = SentenceTransformer.SentenceTransformer("./multi-qa-distilbert-cos-v1", device='cuda')"

Due to network reasons, I couldn't load the model on hugging face, so I downloaded the model locally. I hope you can help me. Thank 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

1 participant