Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -110,7 +110,7 @@ async def get_bot_response(adapter_id, prompt, state, bot_index, character_name,
|
|
110 |
"max_tokens": 250,
|
111 |
"temperature": 0.7,
|
112 |
"top_p":0.1,
|
113 |
-
"
|
114 |
"top_k":40,
|
115 |
"prompt": prompt,
|
116 |
"stop": ["<|im_end|>",f"{character_name}:",f"{user_name}:"]
|
|
|
110 |
"max_tokens": 250,
|
111 |
"temperature": 0.7,
|
112 |
"top_p":0.1,
|
113 |
+
"presence_penalty":1.18,
|
114 |
"top_k":40,
|
115 |
"prompt": prompt,
|
116 |
"stop": ["<|im_end|>",f"{character_name}:",f"{user_name}:"]
|