Spaces:
Running
on
Zero
Running
on
Zero
Dongfu Jiang
commited on
Commit
·
748e489
1
Parent(s):
4a2ff24
Update app.py
Browse files
app.py
CHANGED
@@ -62,21 +62,21 @@ with gr.Blocks(theme='gradio/soft') as demo:
|
|
62 |
|
63 |
with gr.Accordion(label='Advanced options', open=False):
|
64 |
max_new_tokens = gr.Slider(
|
65 |
-
label='Max new tokens
|
66 |
minimum=256,
|
67 |
maximum=1024,
|
68 |
step=1,
|
69 |
value=512,
|
70 |
)
|
71 |
temperature = gr.Slider(
|
72 |
-
label='Temperature of
|
73 |
minimum=0.1,
|
74 |
maximum=2.0,
|
75 |
step=0.1,
|
76 |
value=0.7,
|
77 |
)
|
78 |
top_p = gr.Slider(
|
79 |
-
label='Top-p of
|
80 |
minimum=0.05,
|
81 |
maximum=1.0,
|
82 |
step=0.05,
|
|
|
62 |
|
63 |
with gr.Accordion(label='Advanced options', open=False):
|
64 |
max_new_tokens = gr.Slider(
|
65 |
+
label='Max new tokens to generate',
|
66 |
minimum=256,
|
67 |
maximum=1024,
|
68 |
step=1,
|
69 |
value=512,
|
70 |
)
|
71 |
temperature = gr.Slider(
|
72 |
+
label='Temperature of generation',
|
73 |
minimum=0.1,
|
74 |
maximum=2.0,
|
75 |
step=0.1,
|
76 |
value=0.7,
|
77 |
)
|
78 |
top_p = gr.Slider(
|
79 |
+
label='Top-p of generation',
|
80 |
minimum=0.05,
|
81 |
maximum=1.0,
|
82 |
step=0.05,
|