Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -131,7 +131,7 @@ demo = gr.ChatInterface(
|
|
| 131 |
gr.Slider(minimum=0.1, maximum=4.0, value=0.8, step=0.1, label="Temperature", info="How chaotic should the model be?"),
|
| 132 |
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?'),
|
| 133 |
gr.Slider(minimum=0.5, maximum=1.5, value=1.02, step=0.01, label="Length penalty decay factor", info='How fast should that stop likelihood increase?'),
|
| 134 |
-
gr.Slider(minimum=0.0, maximum=
|
| 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.1, step=0.01, label="Presence penalty", info='"Use lots of diverse words"'),
|
| 137 |
gr.Slider(minimum=1, maximum=1024, value=1024, step=1, label="Max new tokens", info="How many words can the model generate at most?"),
|
|
|
|
| 131 |
gr.Slider(minimum=0.1, maximum=4.0, value=0.8, step=0.1, label="Temperature", info="How chaotic should the model be?"),
|
| 132 |
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?'),
|
| 133 |
gr.Slider(minimum=0.5, maximum=1.5, value=1.02, step=0.01, label="Length penalty decay factor", info='How fast should that stop likelihood increase?'),
|
| 134 |
+
gr.Slider(minimum=0.0, maximum=1.0, value=0.15, step=0.01, label="Min_p", info="Lower values make it more random (ratio between lowest-probability and highest-probability tokens)"),
|
| 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.1, step=0.01, label="Presence penalty", info='"Use lots of diverse words"'),
|
| 137 |
gr.Slider(minimum=1, maximum=1024, value=1024, step=1, label="Max new tokens", info="How many words can the model generate at most?"),
|