yixinsong commited on
Commit
c65570f
·
1 Parent(s): d25ca1b
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -156,8 +156,8 @@ def main():
156
  )
157
 
158
  with gr.Accordion(label="⚙️ Parameters", open=False):
159
- temperature = gr.Slider(minimum=0, maximum=1, step=0.1, value=0.7, label="Temperature")
160
- max_new_tokens = gr.Slider(minimum=128, maximum=32768, step=128, value=8192, label="Max new tokens")
161
  top_p = gr.Slider(minimum=0.0, maximum=1.0, step=0.1, value=0.8, label="Top-p")
162
  top_k = gr.Slider(minimum=1, maximum=100, step=1, value=20, label="Top-k")
163
  repetition_penalty = gr.Slider(minimum=1.0, maximum=2.0, step=0.1, value=1.1, label="Repetition penalty")
 
156
  )
157
 
158
  with gr.Accordion(label="⚙️ Parameters", open=False):
159
+ temperature = gr.Slider(minimum=0, maximum=1, step=0.1, value=0.5, label="Temperature")
160
+ max_new_tokens = gr.Slider(minimum=128, maximum=32768, step=128, value=4096, label="Max new tokens")
161
  top_p = gr.Slider(minimum=0.0, maximum=1.0, step=0.1, value=0.8, label="Top-p")
162
  top_k = gr.Slider(minimum=1, maximum=100, step=1, value=20, label="Top-k")
163
  repetition_penalty = gr.Slider(minimum=1.0, maximum=2.0, step=0.1, value=1.1, label="Repetition penalty")