Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
|
@@ -14,7 +14,7 @@ class Item(BaseModel):
|
|
| 14 |
system_prompt: str
|
| 15 |
temperature: float = 0.0
|
| 16 |
max_new_tokens: int = 1048
|
| 17 |
-
top_p: float = 0.
|
| 18 |
repetition_penalty: float = 1.0
|
| 19 |
|
| 20 |
def format_prompt(message, history):
|
|
|
|
| 14 |
system_prompt: str
|
| 15 |
temperature: float = 0.0
|
| 16 |
max_new_tokens: int = 1048
|
| 17 |
+
top_p: float = 0.15
|
| 18 |
repetition_penalty: float = 1.0
|
| 19 |
|
| 20 |
def format_prompt(message, history):
|