Spaces:
Build error
Build error
Hisab Cloud
commited on
Commit
·
6d28a50
1
Parent(s):
0dd56ba
Upload app.py
Browse files
app.py
CHANGED
|
@@ -69,9 +69,9 @@ def create_conversational_chain(vector_store):
|
|
| 69 |
#model_type="llama", config={'max_new_tokens': 500, 'temperature': 0.01})
|
| 70 |
llm = Replicate(
|
| 71 |
streaming = True,
|
| 72 |
-
model = "meta/llama-2-70b
|
| 73 |
callbacks=[StreamingStdOutCallbackHandler()],
|
| 74 |
-
input = {"temperature": 0.
|
| 75 |
# llm = GooglePalm(
|
| 76 |
# streaming = True,
|
| 77 |
# model = "models/text-bison-001", # "google/flan-t5-large"
|
|
|
|
| 69 |
#model_type="llama", config={'max_new_tokens': 500, 'temperature': 0.01})
|
| 70 |
llm = Replicate(
|
| 71 |
streaming = True,
|
| 72 |
+
model = "meta/llama-2-70b:a52e56fee2269a78c9279800ec88898cecb6c8f1df22a6483132bea266648f00",
|
| 73 |
callbacks=[StreamingStdOutCallbackHandler()],
|
| 74 |
+
input = {"temperature": 0.75, "max_length" :500,"top_p":1})
|
| 75 |
# llm = GooglePalm(
|
| 76 |
# streaming = True,
|
| 77 |
# model = "models/text-bison-001", # "google/flan-t5-large"
|