Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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=
|
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}
|