m-ric HF staff commited on
Commit
800d26a
β€’
1 Parent(s): 918dc40

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
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.