feat: Update default top_p and temperature values to 0.7 and 0.5
Browse files
app.py
CHANGED
@@ -237,7 +237,7 @@ with gr.Blocks() as demo:
|
|
237 |
top_p = gr.Slider(
|
238 |
minimum=-0,
|
239 |
maximum=1.0,
|
240 |
-
value=
|
241 |
step=0.05,
|
242 |
interactive=True,
|
243 |
label="Top-p (nucleus sampling)",
|
@@ -245,7 +245,7 @@ with gr.Blocks() as demo:
|
|
245 |
temperature = gr.Slider(
|
246 |
minimum=-0,
|
247 |
maximum=5.0,
|
248 |
-
value=
|
249 |
step=0.1,
|
250 |
interactive=True,
|
251 |
label="Temperature",
|
|
|
237 |
top_p = gr.Slider(
|
238 |
minimum=-0,
|
239 |
maximum=1.0,
|
240 |
+
value=0.7,
|
241 |
step=0.05,
|
242 |
interactive=True,
|
243 |
label="Top-p (nucleus sampling)",
|
|
|
245 |
temperature = gr.Slider(
|
246 |
minimum=-0,
|
247 |
maximum=5.0,
|
248 |
+
value=0.5,
|
249 |
step=0.1,
|
250 |
interactive=True,
|
251 |
label="Temperature",
|