Invalid model directory when running privateGPT.py #712
Unanswered
joseberlines
asked this question in
Q&A
Replies: 1 comment
-
|
You're running a conda environment so I suspect that you have to add a full absolute path to your model as an env variable not relative. Can you try that? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The follwoing is a situation that I get after trying to run the privateGPT.py file:
basically the error is:
File "/home/jxxxxxxxxx/shared/users/j/jxxxxxxxxxx/2023_06_12_G4A/privateGPT/privateGPT.py", line 37, in main
llm = GPT4All(model=model_path, n_ctx=model_n_ctx, backend='gptj', callbacks=callbacks, verbose=True)
File "pydantic/main.py", line 341, in pydantic.main.BaseModel.init
pydantic.error_wrappers.ValidationError: 1 validation error for GPT4All
root
Invalid model directory (type=value_error)
the models file looks like this:

Does someone knows what is going on here?
I have followed for two times all the instructions of this video:
https://www.youtube.com/watch?v=jxSPx1bfl2M
thanks a lot
Beta Was this translation helpful? Give feedback.
All reactions