Spaces:
Sleeping
Sleeping
Update run.py
Browse files
run.py
CHANGED
|
@@ -264,7 +264,7 @@ def response(message, history,customSysPrompt, genre, augmentation, hfToken):
|
|
| 264 |
print("AI running on prem!" if(onPrem) else "AI running HFHub!")
|
| 265 |
if(onPrem==False):
|
| 266 |
temperature=float(0.9)
|
| 267 |
-
max_new_tokens=
|
| 268 |
top_p=0.95
|
| 269 |
repetition_penalty=1.0
|
| 270 |
if temperature < 1e-2: temperature = 1e-2
|
|
|
|
| 264 |
print("AI running on prem!" if(onPrem) else "AI running HFHub!")
|
| 265 |
if(onPrem==False):
|
| 266 |
temperature=float(0.9)
|
| 267 |
+
max_new_tokens=3000
|
| 268 |
top_p=0.95
|
| 269 |
repetition_penalty=1.0
|
| 270 |
if temperature < 1e-2: temperature = 1e-2
|