Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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(
|