jhj0517 commited on
Commit
4da9545
·
1 Parent(s): f7c5695

Fix default value of the beam size

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -73,7 +73,7 @@ class App:
73
  cb_timestamp = gr.Checkbox(value=True, label="Add a timestamp to the end of the filename",
74
  interactive=True)
75
  with gr.Accordion("Advanced Parameters", open=False):
76
- nb_beam_size = gr.Number(label="Beam Size", value=1, precision=0, interactive=True,
77
  info="Beam size to use for decoding.")
78
  nb_log_prob_threshold = gr.Number(label="Log Probability Threshold", value=-1.0, interactive=True,
79
  info="If the average log probability over sampled tokens is below this value, treat as failed.")
 
73
  cb_timestamp = gr.Checkbox(value=True, label="Add a timestamp to the end of the filename",
74
  interactive=True)
75
  with gr.Accordion("Advanced Parameters", open=False):
76
+ nb_beam_size = gr.Number(label="Beam Size", value=5, precision=0, interactive=True,
77
  info="Beam size to use for decoding.")
78
  nb_log_prob_threshold = gr.Number(label="Log Probability Threshold", value=-1.0, interactive=True,
79
  info="If the average log probability over sampled tokens is below this value, treat as failed.")