-
Notifications
You must be signed in to change notification settings - Fork 4.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
[Question]: trust_remote_code=True #10373
Comments
🤖 Hey @Bearsaerker! Great to see you back with another intriguing question. Hope you've been doing well! Based on the context provided, it seems like you're trying to initialize the The # download model locally
# note: you need enough RAM+compute to run this
embed_model = HuggingFaceEmbedding(
model_name=model_name, trust_remote_code=True
) In this code, the If you're trying to use the If you're still having trouble, could you please provide more information about the error message you're receiving and the exact code you're trying to run? This will help me better understand the issue and provide a more accurate solution. SourcesThis response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research. Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant. If you want to continue the conversation, start your reply with @dosu-bot. |
Give this a try. I successfully passed |
@logan-markewich Could you please assist @shaoyu-lu with the issue of passing parameters using
|
Question Validation
Question
I'm trying to get the onnx of jina running. It tells me, that I have to pass the argument "trust_remote_code=True", but I can't as it is described in the example of the Llama Index Embeddings Guide Doc.
It may be that I'm too stupid to find the right place to insert it, but help would be very appreciated!
The text was updated successfully, but these errors were encountered: