Spaces:
Runtime error
Runtime error
muhammedturan
commited on
Commit
•
a9eaf02
1
Parent(s):
21be223
Update app.py
Browse files
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=8192, top_p=0.95, repetition_penalty=1.0,
|
16 |
):
|
17 |
temperature = float(temperature)
|
18 |
if temperature < 1e-2:
|