vashAI/GPT4All_OwnDocuments_Offline

Step 6 - Unexpected keyword argument 'ggml_model'

Opened this issue · 0 comments

I have an issue at step 6:

`Exception ignored in: <function Model.del at 0x7d0a85b9a950>
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/pyllamacpp/model.py", line 454, in del
AttributeError: 'Model' object has no attribute '_ctx'

ValidationError Traceback (most recent call last)
in <cell line: 6>()
4 callback_manager = CallbackManager([StreamingStdOutCallbackHandler()])
5
----> 6 llm = GPT4All(model=gpt4all_path, callback_manager=callback_manager, verbose=True)

/usr/local/lib/python3.10/dist-packages/pydantic/main.cpython-310-x86_64-linux-gnu.so in pydantic.main.BaseModel.init()

ValidationError: 1 validation error for GPT4All
root
Model.init() got an unexpected keyword argument 'ggml_model' (type=type_error)`