Spaces:
Running
Running
minor
Browse files
app.py
CHANGED
@@ -156,8 +156,8 @@ def main():
|
|
156 |
)
|
157 |
|
158 |
with gr.Accordion(label="⚙️ Parameters", open=False):
|
159 |
-
temperature = gr.Slider(minimum=0, maximum=1, step=0.1, value=0.
|
160 |
-
max_new_tokens = gr.Slider(minimum=128, maximum=32768, step=128, value=
|
161 |
top_p = gr.Slider(minimum=0.0, maximum=1.0, step=0.1, value=0.8, label="Top-p")
|
162 |
top_k = gr.Slider(minimum=1, maximum=100, step=1, value=20, label="Top-k")
|
163 |
repetition_penalty = gr.Slider(minimum=1.0, maximum=2.0, step=0.1, value=1.1, label="Repetition penalty")
|
|
|
156 |
)
|
157 |
|
158 |
with gr.Accordion(label="⚙️ Parameters", open=False):
|
159 |
+
temperature = gr.Slider(minimum=0, maximum=1, step=0.1, value=0.5, label="Temperature")
|
160 |
+
max_new_tokens = gr.Slider(minimum=128, maximum=32768, step=128, value=4096, label="Max new tokens")
|
161 |
top_p = gr.Slider(minimum=0.0, maximum=1.0, step=0.1, value=0.8, label="Top-p")
|
162 |
top_k = gr.Slider(minimum=1, maximum=100, step=1, value=20, label="Top-k")
|
163 |
repetition_penalty = gr.Slider(minimum=1.0, maximum=2.0, step=0.1, value=1.1, label="Repetition penalty")
|