As the title clearly describes the issue I've been experiencing, I'm not able to get a response to a question from the dataset I use using the nomic-ai/gpt4all. The execution simply stops. No exception occurs. How can I overcome this situation?
p.s. I use the offline mode of GPT4
since I need to process a bulk of questions.
p.s. This issue occurs after a while. Something prevents GPT4All
to generate a response for the given question.
question = 'Was Avogadro a professor at the University of Turin?'
gpt = GPT4All()
gpt.open()
resp = gpt.prompt(question)
print(f'Response: {resp}') # --> the execution does not reach here
This works on my windows laptop. Using pygpt4all, based on this: https://github.com/nomic-ai/pygpt4all.
Output: