Spaces:
Runtime error
Runtime error
Zhang Xiao Qing
commited on
Commit
·
d2919b3
1
Parent(s):
c24d55d
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=256, top_p=0.95, repetition_penalty=1.0,
|
| 43 |
):
|
| 44 |
temperature = float(temperature)
|
| 45 |
if temperature < 1e-2:
|