Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -36,7 +36,7 @@ Falcon:"""
|
|
36 |
seed = 42
|
37 |
|
38 |
def generate(
|
39 |
-
prompt, history, system_prompt="", temperature=0.9, max_new_tokens=
|
40 |
):
|
41 |
temperature = float(temperature)
|
42 |
if temperature < 1e-2:
|
|
|
36 |
seed = 42
|
37 |
|
38 |
def generate(
|
39 |
+
prompt, history, system_prompt="", temperature=0.9, max_new_tokens=800, top_p=0.95, repetition_penalty=1.0,
|
40 |
):
|
41 |
temperature = float(temperature)
|
42 |
if temperature < 1e-2:
|