Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -48,7 +48,8 @@ def get_conversation_chain(vectorstore:FAISS) -> ConversationalRetrievalChain:
|
|
48 |
llm = HuggingFaceHub(
|
49 |
repo_id="mistralai/Mixtral-8x7B-Instruct-v0.1",
|
50 |
#repo_id="TheBloke/Mixtral-8x7B-Instruct-v0.1-GGUF"
|
51 |
-
model_kwargs={"temperature": 0.5, "max_length": 1048},
|
|
|
52 |
)
|
53 |
|
54 |
memory = ConversationBufferMemory(memory_key="chat_history", return_messages=True)
|
|
|
48 |
llm = HuggingFaceHub(
|
49 |
repo_id="mistralai/Mixtral-8x7B-Instruct-v0.1",
|
50 |
#repo_id="TheBloke/Mixtral-8x7B-Instruct-v0.1-GGUF"
|
51 |
+
# model_kwargs={"temperature": 0.5, "max_length": 1048},
|
52 |
+
model_kwargs={"temperature": 0.7, "max_length": 4096},
|
53 |
)
|
54 |
|
55 |
memory = ConversationBufferMemory(memory_key="chat_history", return_messages=True)
|