-
Notifications
You must be signed in to change notification settings - Fork 7.4k
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
How to set trust_remote_code=True
in privateGPT to use nomic-ai/nomic-embed-text-v1.5 embed model from huggingface.co?
#1893
Comments
@01PAfXWT Hi, same situation here. did you find any solution for this? |
To set the
Above modifications work for me. |
@01PAfXWT Worked like a charm, thanks mate 👍 |
jaluma
added a commit
that referenced
this issue
Aug 1, 2024
Merged
jaluma
added a commit
that referenced
this issue
Aug 1, 2024
* fix: allow to configure trust_remote_code based on: #1893 (comment) * fix: nomic hf embeddings
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
First of all, grateful thanks to the authors of privateGPT for developing such a great app.
However, when I tried to use
nomic-ai/nomic-embed-text-v1.5
from huggingface.co as an embedding model coupled with llamacpp for local setups, an error occurred as follows:I am wondering how I can set the
trust_remote_code=True
option and properly pass it to privateGPT. I tried insertingtrust_remote_code: true
in thehuggingface
orllamacpp
section in the yaml file, but it did not work.The following is my configuration profile.
Any suggestions? Thank you.
The text was updated successfully, but these errors were encountered: