-
Notifications
You must be signed in to change notification settings - Fork 579
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 in loading one of the pretrained model from Sentence-Transformers #17
Comments
It looks like that model isn't stored on Hugging Face's model hub yet. txtai only supports models there or local models. You can run the following to pull the model locally
Then use xlm-r-100langs-bert-base-nli-stsb-mean-tokens as the path when creating the Embeddings instance. |
Hello, thankyou for the reply I tried with your solution. but now I am getting below error while loading the local model OSError: Error no file named ['pytorch_model.bin', 'tf_model.h5', 'model.ckpt.index'] found in directory /content/model/xlm-r-100langs-bert-base-nli-stsb-mean-tokens or |
How about the path /content/model/xlm-r-100langs-bert-base-nli-stsb-mean-tokens/0_Transformer |
yes you are right. I did it already. So, it's started working... now going ahead for searching. Regards, |
I am trying to load below pre-trained model from Sentence-Transformers in the Embedding function of txtai
xlm-r-100langs-bert-base-nli-stsb-mean-tokens:
But i am getting not found error.
Regards,
The text was updated successfully, but these errors were encountered: