Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -105,7 +105,7 @@ def get_conversation_chain(vectorstore):
|
|
105 |
"""
|
106 |
llm = HuggingFaceHub(
|
107 |
repo_id="mistralai/Mistral-7B-Instruct-v0.1",
|
108 |
-
model_kwargs={"temperature": 0.5, "max_length":
|
109 |
)
|
110 |
# llm = ChatOpenAI(temperature=0, model="gpt-3.5-turbo-0613")
|
111 |
|
|
|
105 |
"""
|
106 |
llm = HuggingFaceHub(
|
107 |
repo_id="mistralai/Mistral-7B-Instruct-v0.1",
|
108 |
+
model_kwargs={"temperature": 0.5, "max_length": 512},
|
109 |
)
|
110 |
# llm = ChatOpenAI(temperature=0, model="gpt-3.5-turbo-0613")
|
111 |
|