Spaces:
Runtime error
Runtime error
JohnPorkEater
commited on
Commit
•
e3c3f07
1
Parent(s):
609c8bf
Update app.py
Browse files
app.py
CHANGED
@@ -18,9 +18,9 @@ def get_streamed_response(message, history):
|
|
18 |
url = "https://api.together.xyz/v1/chat/completions"
|
19 |
payload = {
|
20 |
"model": "NousResearch/Nous-Hermes-2-Yi-34B",
|
21 |
-
"temperature": 1.
|
22 |
-
"top_p": 0.
|
23 |
-
"top_k":
|
24 |
"repetition_penalty": 1,
|
25 |
"n": 1,
|
26 |
"messages": all_message,
|
|
|
18 |
url = "https://api.together.xyz/v1/chat/completions"
|
19 |
payload = {
|
20 |
"model": "NousResearch/Nous-Hermes-2-Yi-34B",
|
21 |
+
"temperature": 1.05,
|
22 |
+
"top_p": 0.9,
|
23 |
+
"top_k": 50,
|
24 |
"repetition_penalty": 1,
|
25 |
"n": 1,
|
26 |
"messages": all_message,
|