Spaces:
Sleeping
Sleeping
salomonsky
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ def format_prompt(message, history):
|
|
21 |
return prompt
|
22 |
|
23 |
def generate(
|
24 |
-
prompt, history, temperature=0.9, max_new_tokens=
|
25 |
):
|
26 |
global system_prompt_sent
|
27 |
temperature = float(temperature)
|
|
|
21 |
return prompt
|
22 |
|
23 |
def generate(
|
24 |
+
prompt, history, temperature=0.9, max_new_tokens=4096, top_p=0.95, repetition_penalty=1.0,
|
25 |
):
|
26 |
global system_prompt_sent
|
27 |
temperature = float(temperature)
|