Spaces:
Running
Running
Change parameters to match the endpoint's validation
Browse files
app.py
CHANGED
@@ -88,7 +88,7 @@ additional_inputs=[
|
|
88 |
label="Max new tokens",
|
89 |
value=256,
|
90 |
minimum=0,
|
91 |
-
maximum=
|
92 |
step=64,
|
93 |
interactive=True,
|
94 |
info="The maximum numbers of new tokens",
|
@@ -96,8 +96,8 @@ additional_inputs=[
|
|
96 |
gr.Slider(
|
97 |
label="Top-p (nucleus sampling)",
|
98 |
value=0.90,
|
99 |
-
minimum=0.
|
100 |
-
maximum=
|
101 |
step=0.05,
|
102 |
interactive=True,
|
103 |
info="Higher values sample more low-probability tokens",
|
|
|
88 |
label="Max new tokens",
|
89 |
value=256,
|
90 |
minimum=0,
|
91 |
+
maximum=3000,
|
92 |
step=64,
|
93 |
interactive=True,
|
94 |
info="The maximum numbers of new tokens",
|
|
|
96 |
gr.Slider(
|
97 |
label="Top-p (nucleus sampling)",
|
98 |
value=0.90,
|
99 |
+
minimum=0.01,
|
100 |
+
maximum=0.99,
|
101 |
step=0.05,
|
102 |
interactive=True,
|
103 |
info="Higher values sample more low-probability tokens",
|