Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -57,15 +57,15 @@ def respond(
|
|
57 |
demo = gr.ChatInterface(
|
58 |
respond,
|
59 |
additional_inputs=[
|
60 |
-
gr.Textbox(value="(
|
61 |
-
gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="
|
62 |
-
gr.Slider(minimum=0.1, maximum=2.0, value=0.42, step=0.01, label="
|
63 |
gr.Slider(
|
64 |
minimum=0.1,
|
65 |
maximum=1.0,
|
66 |
value=0.95,
|
67 |
step=0.05,
|
68 |
-
label="Top-p (
|
69 |
),
|
70 |
],
|
71 |
)
|
|
|
57 |
demo = gr.ChatInterface(
|
58 |
respond,
|
59 |
additional_inputs=[
|
60 |
+
gr.Textbox(value="(Пиши посты)", label="System prompt"),
|
61 |
+
gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Максимум новых токенов"),
|
62 |
+
gr.Slider(minimum=0.1, maximum=2.0, value=0.42, step=0.01, label="Температура (рандомность)"),
|
63 |
gr.Slider(
|
64 |
minimum=0.1,
|
65 |
maximum=1.0,
|
66 |
value=0.95,
|
67 |
step=0.05,
|
68 |
+
label="Top-p (работает почти как температура, 0.95 = 95%)",
|
69 |
),
|
70 |
],
|
71 |
)
|