Spaces:
Running
Running
✏️
Browse filesSigned-off-by: peter szemraj <peterszemraj@gmail.com>
app.py
CHANGED
@@ -234,7 +234,7 @@ if __name__ == "__main__":
|
|
234 |
with gr.Row():
|
235 |
contrastive_top_k = gr.Radio(
|
236 |
choices=[2, 4, 6, 8],
|
237 |
-
label="
|
238 |
value=top_k,
|
239 |
)
|
240 |
|
@@ -248,7 +248,7 @@ if __name__ == "__main__":
|
|
248 |
length_penalty = gr.Slider(
|
249 |
minimum=0.5,
|
250 |
maximum=1.0,
|
251 |
-
label="
|
252 |
value=1.0,
|
253 |
step=0.1,
|
254 |
)
|
|
|
234 |
with gr.Row():
|
235 |
contrastive_top_k = gr.Radio(
|
236 |
choices=[2, 4, 6, 8],
|
237 |
+
label="Top K",
|
238 |
value=top_k,
|
239 |
)
|
240 |
|
|
|
248 |
length_penalty = gr.Slider(
|
249 |
minimum=0.5,
|
250 |
maximum=1.0,
|
251 |
+
label="Length Penalty",
|
252 |
value=1.0,
|
253 |
step=0.1,
|
254 |
)
|