Update app.py
Browse files
app.py
CHANGED
@@ -33,7 +33,7 @@ def func(user):
|
|
33 |
# callbacks = [StreamingStdOutCallbackHandler()]
|
34 |
|
35 |
# Verbose is required to pass to the callback manager
|
36 |
-
llm = GPT4All(model="./nous-hermes-13b.ggmlv3.q4_0.bin")
|
37 |
llm_chain = LLMChain(prompt=prompt, llm=llm)
|
38 |
question = user
|
39 |
llm_chain.run(question)
|
|
|
33 |
# callbacks = [StreamingStdOutCallbackHandler()]
|
34 |
|
35 |
# Verbose is required to pass to the callback manager
|
36 |
+
llm = GPT4All(model="./nous-hermes-13b.ggmlv3.q4_0.bin", n_ctx=5000)
|
37 |
llm_chain = LLMChain(prompt=prompt, llm=llm)
|
38 |
question = user
|
39 |
llm_chain.run(question)
|