phoen1x commited on
Commit
3a251ee
1 Parent(s): 6b53f9c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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)