Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -38,6 +38,10 @@ def generate_text(input_text, history):
|
|
| 38 |
|
| 39 |
output = llm(
|
| 40 |
input_text_with_history,
|
|
|
|
|
|
|
|
|
|
|
|
|
| 41 |
max_tokens=1024,
|
| 42 |
stop=[
|
| 43 |
"<|prompter|>",
|
|
|
|
| 38 |
|
| 39 |
output = llm(
|
| 40 |
input_text_with_history,
|
| 41 |
+
temperature=0.15,
|
| 42 |
+
top_p=0.1,
|
| 43 |
+
top_k=40,
|
| 44 |
+
repeat_penalty=1.1,
|
| 45 |
max_tokens=1024,
|
| 46 |
stop=[
|
| 47 |
"<|prompter|>",
|