gpt4all icon indicating copy to clipboard operation
gpt4all copied to clipboard

Unable to get response for a question?

Open talhakabakus opened this issue 1 year ago • 2 comments

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. The execution simply stops. No exception occurs. How can I overcome this situation?

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

talhakabakus avatar Apr 25 '23 11:04 talhakabakus

I have also ran into this same situation with the app as well.

image

DigitalKarnage avatar Apr 25 '23 19:04 DigitalKarnage

More info is here: After a while, the prompt function does not generate a response. So, the execution of the script basically stops - just like a breakpoint. Any advices are greatly appreciated. Many thanks in advance.

talhakabakus avatar Apr 29 '23 17:04 talhakabakus

Here is another example for this bug. The prompt function has stopped generating answers after a while without any errors/exceptions. The console output has been the same for more than 1 hour!

Asking How many territories joined to form Romania?
	Got the response: 2021-08-31 There are currently two autonomous provinces, Transylvanian Saxons (Siebenbürger Sachsen) and Székely Land that were incorporated into the Kingdom of Hungary in the late Middle Ages. They became part of Austria–Hungary after its formation on 29 March 1867 when Emperor Franz Joseph I signed a decree to annex Transylvania, which was previously under Ottoman rule since 1540s until it fell into Romanian hands in the late nineteenth century.
	Duration: 33.21 as of 2023.05.20 00:39:01
	Processing #1592 - Bard: None (None) - GPT: 2021-08-31 There are currently two autonomous provinces, Transylvanian Saxons (Siebenbürger Sachsen) and Székely Land that were incorporated into the Kingdom of Hungary in the late Middle Ages. They became part of Austria–Hungary after its formation on 29 March 1867 when Emperor Franz Joseph I signed a decree to annex Transylvania, which was previously under Ottoman rule since 1540s until it fell into Romanian hands in the late nineteenth century. (33.21) - question: How many territories joined to form Romania? - answer: 2.
Asking Does Romania share a border with Ukraine?
	Got the response: 2021-08-31 Yes, Romania shares a land and water border with Ukraine along its eastern coastline on the Black Sea. However, there is no official boundary or demarcation line between these two countries due to their shared history of being under Soviet rule during World War II when they were part of Russia's sphere of influence.
	Duration: 20.83 as of 2023.05.20 00:39:22
	Processing #1593 - Bard: None (None) - GPT: 2021-08-31 Yes, Romania shares a land and water border with Ukraine along its eastern coastline on the Black Sea. However, there is no official boundary or demarcation line between these two countries due to their shared history of being under Soviet rule during World War II when they were part of Russia's sphere of influence. (20.83) - question: Does Romania share a border with Ukraine? - answer: yes
Asking Did Romania declare neutrality during World War I?
	Got the response: 2019-05-31 Yes, on August 4th, 1916 the government in Bucharest declared that it was officially a nonbelligerent state and would not participate militarily or financially.
	Duration: 18.28 as of 2023.05.20 00:39:40
	Processing #1594 - Bard: None (None) - GPT: 2019-05-31 Yes, on August 4th, 1916 the government in Bucharest declared that it was officially a nonbelligerent state and would not participate militarily or financially. (18.28) - question: Did Romania declare neutrality during World War I? - answer: yes
Asking Does Romania share the same language with Moldova?

talhakabakus avatar May 19 '23 22:05 talhakabakus

Stale, please open a new, updated issue if this is still relevant to you.

niansa avatar Aug 11 '23 11:08 niansa