ashwinR commited on
Commit
f0ced2a
·
1 Parent(s): a66dbe1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ from langchain.llms import GPT4All
4
 
5
  PATH = './ggml-mpt-7b-instruct.bin'
6
 
7
- llm = GPT4All(model=PATH, verbose=True)
8
 
9
  prompt = PromptTemplate(input_variables=['question'], template="""
10
  Question: {question}
 
4
 
5
  PATH = './ggml-mpt-7b-instruct.bin'
6
 
7
+ llm = GPT4All(model="./ggml-mpt-7b-instruct.bin", top_p=0.15, temp=0.5, repeat_penalty=1.1)
8
 
9
  prompt = PromptTemplate(input_variables=['question'], template="""
10
  Question: {question}