Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -55,7 +55,7 @@ def get_conversation_chain(vectorstore:FAISS) -> ConversationalRetrievalChain:
|
|
55 |
repo_id="mistralai/Mistral-7B-Instruct-v0.2",
|
56 |
#repo_id="mistralai/Mixtral-8x7B-Instruct-v0.1"
|
57 |
#repo_id="TheBloke/Mixtral-8x7B-Instruct-v0.1-GGUF"
|
58 |
-
model_kwargs={"temperature": 0.
|
59 |
)
|
60 |
|
61 |
memory = ConversationBufferMemory(memory_key="chat_history", return_messages=True)
|
|
|
55 |
repo_id="mistralai/Mistral-7B-Instruct-v0.2",
|
56 |
#repo_id="mistralai/Mixtral-8x7B-Instruct-v0.1"
|
57 |
#repo_id="TheBloke/Mixtral-8x7B-Instruct-v0.1-GGUF"
|
58 |
+
model_kwargs={"temperature": 0.1, "max_length": 2048},
|
59 |
)
|
60 |
|
61 |
memory = ConversationBufferMemory(memory_key="chat_history", return_messages=True)
|