-
-
Notifications
You must be signed in to change notification settings - Fork 289
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
error trying to regenerate #9
Comments
Hey Gautam, when you set regenerate to False, it just reads the existing CSV file. When you set it to False, it tries to re-extract concepts from the LLM. For that, it needs an Ollama server hosted locally and Zephyr model pulled locally. Step 1: Install Ollama https://ollama.ai |
Hey Rahul, Thank you for that, I'm still getting errors: [GIN] 2023/11/26 - 03:54:20 | 404 | 507.407µs | 127.0.0.1 | POST "/api/generate" [0] 0:ollama* |
I am confused. In any case, this problem pertains to the Ollama server on your local. I am sure if it is running properly, the code will run. Please refer to Ollama documentation |
ok i'll try again. I am not running this locally, I'm trying to run it on colab so that might be the problem. |
Good morning. |
Hi Rahul,
Thank you for this wonderful project and I'm excited to play around with it.
If I said regenerate to false, then the code works but when I try to regenerate using my own PDF and data, I get the following error:
ERROR ### Here is the buggy response: None
An error occurred: HTTPConnectionPool(host='localhost', port=11434): Max retries exceeded with url: /api/generate (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7caf1e449180>: Failed to establish a new connection: [Errno 111] Connection refused'))
ERROR ### Here is the buggy response: None
An error occurred: HTTPConnectionPool(host='localhost', port=11434): Max retries exceeded with url: /api/generate (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7caf1e44a9e0>: Failed to establish a new connection: [Errno 111] Connection refused'))
ERROR ### Here is the buggy response: None
ValueError Traceback (most recent call last)
in <cell line: 4>()
3
4 if regenerate:
----> 5 concepts_list = df2Graph(df, model='zephyr:latest')
6 dfg1 = graph2Df(concepts_list)
7 if not os.path.exists(outputdirectory):
1 frames
/usr/local/lib/python3.10/dist-packages/numpy/core/overrides.py in concatenate(*args, **kwargs)
ValueError: need at least one array to concatenate
-- if it helps, I'm using Google Collab and pulled your repo into my instance
The text was updated successfully, but these errors were encountered: