Jawad138 commited on
Commit
fa50910
·
1 Parent(s): 1a761d1

update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -65,7 +65,7 @@ def create_conversational_chain(vector_store):
65
  #model_type="llama", config={'max_new_tokens': 500, 'temperature': 0.01})
66
  llm = Replicate(
67
  streaming = True,
68
- model = "replicate/llama-2-70b-chat:58d078176e02c219e11eb4da5a02a7830a283b14cf8f94537af893ccff5ee781",
69
  callbacks=[StreamingStdOutCallbackHandler()],
70
  input = {"temperature": 0.01, "max_length" :500,"top_p":1})
71
  memory = ConversationBufferMemory(memory_key="chat_history", return_messages=True)
 
65
  #model_type="llama", config={'max_new_tokens': 500, 'temperature': 0.01})
66
  llm = Replicate(
67
  streaming = True,
68
+ model = "replicate/llama-2-70b-chat:r8_AA3K1fhDykqLa5M74E5V0w5ss1z0P9S3foWJl",
69
  callbacks=[StreamingStdOutCallbackHandler()],
70
  input = {"temperature": 0.01, "max_length" :500,"top_p":1})
71
  memory = ConversationBufferMemory(memory_key="chat_history", return_messages=True)