Spaces:
Runtime error
Runtime error
Zhang Xiao Qing
commited on
Commit
•
c24d55d
1
Parent(s):
75cc5ed
Update app.py
Browse files
app.py
CHANGED
@@ -39,7 +39,7 @@ Falcon:"""
|
|
39 |
seed = 42
|
40 |
|
41 |
def generate(
|
42 |
-
prompt, history, system_prompt="", temperature=0.9, max_new_tokens=
|
43 |
):
|
44 |
temperature = float(temperature)
|
45 |
if temperature < 1e-2:
|
|
|
39 |
seed = 42
|
40 |
|
41 |
def generate(
|
42 |
+
prompt, history, system_prompt="", temperature=0.9, max_new_tokens=1024, top_p=0.95, repetition_penalty=1.0,
|
43 |
):
|
44 |
temperature = float(temperature)
|
45 |
if temperature < 1e-2:
|