Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -117,8 +117,8 @@ gr.ChatInterface(
|
|
117 |
additional_inputs_accordion=gr.Accordion(label="⚙️ Parameters", open=False),
|
118 |
additional_inputs=[
|
119 |
gr.Textbox("You are a useful assistant. first recognize user request and then reply carfuly and thinking", label="System prompt"),
|
120 |
-
gr.Slider(0, 1, 0.
|
121 |
-
gr.Slider(
|
122 |
gr.Slider(1, 80, 40, label="Top K sampling"),
|
123 |
gr.Slider(0, 2, 1.1, label="Repetition penalty"),
|
124 |
gr.Slider(0, 1, 0.95, label="Top P sampling"),
|
|
|
117 |
additional_inputs_accordion=gr.Accordion(label="⚙️ Parameters", open=False),
|
118 |
additional_inputs=[
|
119 |
gr.Textbox("You are a useful assistant. first recognize user request and then reply carfuly and thinking", label="System prompt"),
|
120 |
+
gr.Slider(0, 1, 0.6, label="Temperature"),
|
121 |
+
gr.Slider(0, 30000, 20000, label="Max new tokens"),
|
122 |
gr.Slider(1, 80, 40, label="Top K sampling"),
|
123 |
gr.Slider(0, 2, 1.1, label="Repetition penalty"),
|
124 |
gr.Slider(0, 1, 0.95, label="Top P sampling"),
|