Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -488,6 +488,8 @@ with gr.Blocks(
|
|
488 |
|
489 |
Play with the parameters below to understand how beam search decoding works!
|
490 |
|
|
|
|
|
491 |
#### <span style='color:var(--primary-500)!important'>Parameters:</span>
|
492 |
- **Sentence to decode from** (`inputs`): the input sequence to your decoder.
|
493 |
- **Number of steps** (`max_new_tokens`): the number of tokens to generate.
|
|
|
488 |
|
489 |
Play with the parameters below to understand how beam search decoding works!
|
490 |
|
491 |
+
Here's GPT2 doing beam search decoding for you.
|
492 |
+
|
493 |
#### <span style='color:var(--primary-500)!important'>Parameters:</span>
|
494 |
- **Sentence to decode from** (`inputs`): the input sequence to your decoder.
|
495 |
- **Number of steps** (`max_new_tokens`): the number of tokens to generate.
|