Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -209,8 +209,8 @@ with gr.Blocks() as iface:
|
|
| 209 |
|
| 210 |
agent_dropdown = gr.Dropdown(label="Agents", choices=agents, value=agents[0])
|
| 211 |
sys_prompt = gr.Textbox(label="System Prompt", max_lines=1)
|
| 212 |
-
temperature = gr.Slider(label="Temperature", value=0.
|
| 213 |
-
max_new_tokens = gr.Slider(label="Max new tokens", value=
|
| 214 |
top_p = gr.Slider(label="Top-p (nucleus sampling)", value=0.90, minimum=0.0, maximum=1, step=0.05)
|
| 215 |
repetition_penalty = gr.Slider(label="Repetition penalty", value=1.2, minimum=1.0, maximum=2.0, step=0.05)
|
| 216 |
|
|
|
|
| 209 |
|
| 210 |
agent_dropdown = gr.Dropdown(label="Agents", choices=agents, value=agents[0])
|
| 211 |
sys_prompt = gr.Textbox(label="System Prompt", max_lines=1)
|
| 212 |
+
temperature = gr.Slider(label="Temperature", value=0.65, minimum=0.0, maximum=2.0, step=0.01)
|
| 213 |
+
max_new_tokens = gr.Slider(label="Max new tokens", value=8000, minimum=0, maximum=8000, step=64)
|
| 214 |
top_p = gr.Slider(label="Top-p (nucleus sampling)", value=0.90, minimum=0.0, maximum=1, step=0.05)
|
| 215 |
repetition_penalty = gr.Slider(label="Repetition penalty", value=1.2, minimum=1.0, maximum=2.0, step=0.05)
|
| 216 |
|