stmnk commited on
Commit
e21fb7e
·
1 Parent(s): 36e853a

add step to k

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -200,7 +200,7 @@ iface = gr.Interface(
200
  gr.inputs.Textbox(lines=10, label="Enter Task + Code in Python (Programming Language syntax, e.g. a Python function or class)", default=task_code),
201
  gr.inputs.Slider(30, 200, default=100, label="Minimum Length (of the output summary, in tokens)"),
202
  gr.inputs.Slider(200, 500, default=350, label="Maximum Length (of the output summary, in tokens)"),
203
- gr.inputs.Slider(1, 7, default=3, label="Top K (tokens considered within the sample operation to create new text)"),
204
  gr.inputs.Slider(0, 100, default=80, label="Top P (probability threshold for next tokens in sample of new text, cumulative)"),
205
  gr.inputs.Slider(0, 100, default=1, label="Temperature (of the sampling operation)"),
206
  gr.inputs.Slider(0, 100, default=70, label="Repetition Penalty (frequently previously used tokens are downsized)"),
 
200
  gr.inputs.Textbox(lines=10, label="Enter Task + Code in Python (Programming Language syntax, e.g. a Python function or class)", default=task_code),
201
  gr.inputs.Slider(30, 200, default=100, label="Minimum Length (of the output summary, in tokens)"),
202
  gr.inputs.Slider(200, 500, default=350, label="Maximum Length (of the output summary, in tokens)"),
203
+ gr.inputs.Slider(1, 7, default=3, step=1, label="Top K (tokens considered within the sample operation to create new text)"),
204
  gr.inputs.Slider(0, 100, default=80, label="Top P (probability threshold for next tokens in sample of new text, cumulative)"),
205
  gr.inputs.Slider(0, 100, default=1, label="Temperature (of the sampling operation)"),
206
  gr.inputs.Slider(0, 100, default=70, label="Repetition Penalty (frequently previously used tokens are downsized)"),