Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -108,7 +108,10 @@ async def get_bot_response(adapter_id, prompt, state, bot_index, character_name,
|
|
108 |
payload = {
|
109 |
"model": f"accounts/gaingg19-432d9f/models/{fireworks_adapter_name}",
|
110 |
"max_tokens": 250,
|
111 |
-
"temperature": 0.
|
|
|
|
|
|
|
112 |
"prompt": prompt,
|
113 |
"stop": ["<|im_end|>",f"{character_name}:",f"{user_name}:"]
|
114 |
}
|
|
|
108 |
payload = {
|
109 |
"model": f"accounts/gaingg19-432d9f/models/{fireworks_adapter_name}",
|
110 |
"max_tokens": 250,
|
111 |
+
"temperature": 0.7,
|
112 |
+
"top_p":0.1,
|
113 |
+
"repetition_penalty":1.18,
|
114 |
+
"top_k":40,
|
115 |
"prompt": prompt,
|
116 |
"stop": ["<|im_end|>",f"{character_name}:",f"{user_name}:"]
|
117 |
}
|