Spaces:
Sleeping
Sleeping
Update app.py
#1
by
Rtuu
- opened
app.py
CHANGED
@@ -12,7 +12,7 @@ def format_prompt(message, history):
|
|
12 |
return prompt
|
13 |
|
14 |
def generate(
|
15 |
-
prompt, history, temperature=0.2, max_new_tokens=
|
16 |
):
|
17 |
temperature = float(temperature)
|
18 |
if temperature < 1e-2:
|
|
|
12 |
return prompt
|
13 |
|
14 |
def generate(
|
15 |
+
prompt, history, temperature=0.2, max_new_tokens=10000, top_p=0.95, repetition_penalty=1.0,
|
16 |
):
|
17 |
temperature = float(temperature)
|
18 |
if temperature < 1e-2:
|