Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -96,10 +96,12 @@ def enhance_for_gradio(prompt_text, api_key):
|
|
| 96 |
result = llm(
|
| 97 |
full_prompt,
|
| 98 |
max_tokens=512,
|
| 99 |
-
temperature=
|
| 100 |
-
top_k=
|
| 101 |
top_p=0.95,
|
| 102 |
repeat_penalty=1.1,
|
|
|
|
|
|
|
| 103 |
stop=["<end_of_turn>"]
|
| 104 |
)
|
| 105 |
|
|
|
|
| 96 |
result = llm(
|
| 97 |
full_prompt,
|
| 98 |
max_tokens=512,
|
| 99 |
+
temperature=1,
|
| 100 |
+
top_k=64,
|
| 101 |
top_p=0.95,
|
| 102 |
repeat_penalty=1.1,
|
| 103 |
+
min_p: 0.01,
|
| 104 |
+
repeat_penalty: 1.0,
|
| 105 |
stop=["<end_of_turn>"]
|
| 106 |
)
|
| 107 |
|