Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
expand param range
Browse filesSigned-off-by: peter szemraj <[email protected]>
app.py
CHANGED
@@ -596,8 +596,8 @@ if __name__ == "__main__":
|
|
596 |
)
|
597 |
with gr.Row(variant="compact"):
|
598 |
length_penalty = gr.Slider(
|
599 |
-
minimum=0.
|
600 |
-
maximum=1.
|
601 |
label="length penalty",
|
602 |
value=0.7,
|
603 |
step=0.05,
|
@@ -618,7 +618,7 @@ if __name__ == "__main__":
|
|
618 |
step=0.1,
|
619 |
)
|
620 |
no_repeat_ngram_size = gr.Radio(
|
621 |
-
choices=[2, 3, 4],
|
622 |
label="no repeat ngram size",
|
623 |
value=3,
|
624 |
)
|
|
|
596 |
)
|
597 |
with gr.Row(variant="compact"):
|
598 |
length_penalty = gr.Slider(
|
599 |
+
minimum=0.3,
|
600 |
+
maximum=1.1,
|
601 |
label="length penalty",
|
602 |
value=0.7,
|
603 |
step=0.05,
|
|
|
618 |
step=0.1,
|
619 |
)
|
620 |
no_repeat_ngram_size = gr.Radio(
|
621 |
+
choices=[2, 3, 4, 5],
|
622 |
label="no repeat ngram size",
|
623 |
value=3,
|
624 |
)
|