Elijahbodden commited on
Commit
da1ba5e
·
verified ·
1 Parent(s): ad41f2c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -134,7 +134,7 @@ demo = gr.ChatInterface(
134
  gr.Slider(minimum=0.0, maximum=1.0, value=0.1, step=0.01, label="Mirostat eta", info="I don't even know man"),
135
  gr.Slider(minimum=0.0, maximum=1.0, value=0.1, step=0.01, label="Frequency penalty", info='"Don\'repeat yourself"'),
136
  gr.Slider(minimum=0.0, maximum=1.0, value=0.0, step=0.01, label="Presence penalty", info='"Use lots of diverse words"'),
137
- gr.Slider(minimum=0, maximum=512, value=10, step=1, label="Length penalty start", info='When should the model start being more likely to shut up?'),
138
  gr.Slider(minimum=0.5, maximum=1.5, value=1.02, step=0.01, label="Length penalty decay factor", info='How fast should the stop likelihood increase?'),
139
  gr.Slider(minimum=1, maximum=1024, value=256, step=1, label="Max new tokens", info="How many words can the model generate?"),
140
  ],
 
134
  gr.Slider(minimum=0.0, maximum=1.0, value=0.1, step=0.01, label="Mirostat eta", info="I don't even know man"),
135
  gr.Slider(minimum=0.0, maximum=1.0, value=0.1, step=0.01, label="Frequency penalty", info='"Don\'repeat yourself"'),
136
  gr.Slider(minimum=0.0, maximum=1.0, value=0.0, step=0.01, label="Presence penalty", info='"Use lots of diverse words"'),
137
+ gr.Slider(minimum=0, maximum=512, value=32, step=1, label="Length penalty start", info='When should the model start being more likely to shut up?'),
138
  gr.Slider(minimum=0.5, maximum=1.5, value=1.02, step=0.01, label="Length penalty decay factor", info='How fast should the stop likelihood increase?'),
139
  gr.Slider(minimum=1, maximum=1024, value=256, step=1, label="Max new tokens", info="How many words can the model generate?"),
140
  ],