Spaces:
Runtime error
Runtime error
update app.py
Browse files
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:
|
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)
|