cbspace commited on
Commit
74a235b
·
1 Parent(s): 13fdc50

Increase top-k

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -54,9 +54,9 @@ app = gr.Interface(
54
  [
55
  gr.Textbox(label='Prompt', lines=3),
56
  gr.Number(label='Output Tokens', value=180),
57
- gr.Slider(1, 100, step=5, value=50, label='Top-k Value'),
58
  gr.Slider(0.1, 2.0, step=0.05, value=0.9, label='Temperature')
59
  ],
60
  gr.Textbox(label='Output', lines=15, max_lines=15)
61
  )
62
- app.queue().launch(ssr_mode=False)
 
54
  [
55
  gr.Textbox(label='Prompt', lines=3),
56
  gr.Number(label='Output Tokens', value=180),
57
+ gr.Slider(1, 100, step=5, value=75, label='Top-k Value'),
58
  gr.Slider(0.1, 2.0, step=0.05, value=0.9, label='Temperature')
59
  ],
60
  gr.Textbox(label='Output', lines=15, max_lines=15)
61
  )
62
+ app.queue().launch(ssr_mode=False)