Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -45,9 +45,9 @@ def chat(x):
|
|
45 |
x,# str representing input in 'User input' Textbox component
|
46 |
0.9, # float, representing input in 'Top-p (nucleus sampling)' Slider component
|
47 |
50, # int, representing input in 'Top-k (nucleus sampling)' Slider component
|
48 |
-
0.
|
49 |
25, # int, representing input in 'Max New Tokens' Slider component
|
50 |
-
1.
|
51 |
fn_index=0
|
52 |
)
|
53 |
return result
|
|
|
45 |
x,# str representing input in 'User input' Textbox component
|
46 |
0.9, # float, representing input in 'Top-p (nucleus sampling)' Slider component
|
47 |
50, # int, representing input in 'Top-k (nucleus sampling)' Slider component
|
48 |
+
0.9, # float, representing input in 'Temperature' Slider component
|
49 |
25, # int, representing input in 'Max New Tokens' Slider component
|
50 |
+
1.1, # float, representing input in 'repetition_penalty' Slider component
|
51 |
fn_index=0
|
52 |
)
|
53 |
return result
|