private-gpt
private-gpt copied to clipboard
how can i run it?
What's the issue?
Traceback (most recent call last):
File "G:\privateGPT-main\ingest.py", line 7, in
Rename example.env to .env and edit the variables appropriately.
Traceback (most recent call last): File "C:\Program Files\Python311\Lib\site-packages\langchain\embeddings\llamacpp.py", line 78, in validate_environment values["client"] = Llama( ^^^^^^ File "C:\Program Files\Python311\Lib\site-packages\llama_cpp\llama.py", line 153, in init raise ValueError(f"Model path does not exist: {model_path}") ValueError: Model path does not exist: models/ggml-model-q4_0.bin
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "G:\privateGPT-main\ingest.py", line 35, in
how to edit the variables appropriately.
@zuomirror
@rabotone
PERSIST_DIRECTORY=db
LLAMA_EMBEDDINGS_MODEL=models/ggml-model-q4_0.bin
MODEL_TYPE=GPT4All
MODEL_PATH=models/ggml-gpt4all-j-v1.3-groovy.bin
MODEL_N_CTX=1000
@rabotone
PERSIST_DIRECTORY=db LLAMA_EMBEDDINGS_MODEL=models/ggml-model-q4_0.bin MODEL_TYPE=GPT4All MODEL_PATH=models/ggml-gpt4all-j-v1.3-groovy.bin MODEL_N_CTX=1000
Can you only use linux? Can you use windows
@zuomirror
You need to provide the absolute path to your LLAMA
model in the .env
file. See #68 for details.
Isn't It Already Explained?
I am getting this error, although I have set up all as zuomirror did.
Rename example.env to .env and edit the variables appropriately.
I Think Conda Is Better Right? 🤔
I am getting this error, although I have set up all as zuomirror did.
![]()
Make Sure Your Spell Is Correct,Haven't You? Or Reinstall It
All solved now - guys keep your python updated, lol.