m-ric HF staff commited on
Commit
5a53522
β€’
1 Parent(s): bfbc171

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -422,6 +422,7 @@ Play with the parameters below to understand how beam search decoding works!
422
  - **Number of steps**: the number of tokens to generate
423
  - **Number of beams**: the number of beams to use
424
  - **Length penalty**: the length penalty to apply to outputs. `length_penalty` > 0.0 promotes longer sequences, while `length_penalty` < 0.0 encourages shorter sequences.
 
425
  """
426
  )
427
  text = gr.Textbox(
 
422
  - **Number of steps**: the number of tokens to generate
423
  - **Number of beams**: the number of beams to use
424
  - **Length penalty**: the length penalty to apply to outputs. `length_penalty` > 0.0 promotes longer sequences, while `length_penalty` < 0.0 encourages shorter sequences.
425
+ This parameter will not impact the beam search paths, but only influence the choice of sequences in the end towards longer or shorter sequences.
426
  """
427
  )
428
  text = gr.Textbox(