ali121300 commited on
Commit
47d25f6
1 Parent(s): c0361e2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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.5, "max_length": 2048},
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)