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