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