Some wording for greedy vs sampling

#16
by VictorSanh - opened
Files changed (1) hide show
  1. app_dialogue.py +2 -1
app_dialogue.py CHANGED
@@ -414,7 +414,7 @@ with gr.Blocks(title="IDEFICS Playground", theme=gr.themes.Base()) as demo:
414
  # problematic_bttn = gr.Button("Problematic😬")
415
 
416
  with gr.Row():
417
- with gr.Accordion("Advanced parameters", open=False, visible=True) as parameter_row:
418
  max_new_tokens = gr.Slider(
419
  minimum=0,
420
  maximum=2048,
@@ -440,6 +440,7 @@ with gr.Blocks(title="IDEFICS Playground", theme=gr.themes.Base()) as demo:
440
  value="Greedy",
441
  label="Decoding strategy",
442
  interactive=True,
 
443
  )
444
  temperature = gr.Slider(
445
  minimum=0.0,
 
414
  # problematic_bttn = gr.Button("Problematic😬")
415
 
416
  with gr.Row():
417
+ with gr.Accordion("Advanced settings", open=False, visible=True) as parameter_row:
418
  max_new_tokens = gr.Slider(
419
  minimum=0,
420
  maximum=2048,
 
440
  value="Greedy",
441
  label="Decoding strategy",
442
  interactive=True,
443
+ info="Higher values is equivalent to sampling more low-probability tokens.",
444
  )
445
  temperature = gr.Slider(
446
  minimum=0.0,