Spaces:
Running
Running
top_p 0.95
Browse files
app.py
CHANGED
|
@@ -137,7 +137,7 @@ with gr.Blocks(theme=seafoam, analytics_enabled=False, css=css) as demo:
|
|
| 137 |
with gr.Accordion("Advanced setting", open=False):
|
| 138 |
input = gr.components.Textbox(lines=2, label="Input", placeholder="none")
|
| 139 |
temperature = gr.components.Slider(minimum=0, maximum=1, value=0.1, label="Temperature")
|
| 140 |
-
top_p = gr.components.Slider(minimum=0, maximum=1, value=0.
|
| 141 |
top_k = gr.components.Slider(minimum=0, maximum=100, step=1, value=40, label="Top k")
|
| 142 |
|
| 143 |
|
|
|
|
| 137 |
with gr.Accordion("Advanced setting", open=False):
|
| 138 |
input = gr.components.Textbox(lines=2, label="Input", placeholder="none")
|
| 139 |
temperature = gr.components.Slider(minimum=0, maximum=1, value=0.1, label="Temperature")
|
| 140 |
+
top_p = gr.components.Slider(minimum=0, maximum=1, value=0.95, label="Top p")
|
| 141 |
top_k = gr.components.Slider(minimum=0, maximum=100, step=1, value=40, label="Top k")
|
| 142 |
|
| 143 |
|