Commit
·
c70a3f3
1
Parent(s):
130ba32
changed default parameters
Browse files
app.py
CHANGED
|
@@ -98,27 +98,27 @@ demo = CustomChatInterface(
|
|
| 98 |
label="Select Model",
|
| 99 |
),
|
| 100 |
gr.Textbox(
|
| 101 |
-
value="You are a
|
| 102 |
label="System message",
|
| 103 |
),
|
| 104 |
gr.Slider(
|
| 105 |
minimum=1,
|
| 106 |
maximum=2048,
|
| 107 |
-
value=
|
| 108 |
step=1,
|
| 109 |
label="Max new tokens",
|
| 110 |
),
|
| 111 |
gr.Slider(
|
| 112 |
minimum=0.1,
|
| 113 |
maximum=4.0,
|
| 114 |
-
value=0.
|
| 115 |
step=0.1,
|
| 116 |
label="Temperature",
|
| 117 |
),
|
| 118 |
gr.Slider(
|
| 119 |
minimum=0.1,
|
| 120 |
maximum=1.0,
|
| 121 |
-
value=0.
|
| 122 |
step=0.05,
|
| 123 |
label="Top-p (Nucleus sampling)",
|
| 124 |
),
|
|
|
|
| 98 |
label="Select Model",
|
| 99 |
),
|
| 100 |
gr.Textbox(
|
| 101 |
+
value="You are a chatbot with a proficiency in math. You are to answer the mathematical equations correctly and efficiently. You are to reason and explain your solutions thoroughly.",
|
| 102 |
label="System message",
|
| 103 |
),
|
| 104 |
gr.Slider(
|
| 105 |
minimum=1,
|
| 106 |
maximum=2048,
|
| 107 |
+
value=512,
|
| 108 |
step=1,
|
| 109 |
label="Max new tokens",
|
| 110 |
),
|
| 111 |
gr.Slider(
|
| 112 |
minimum=0.1,
|
| 113 |
maximum=4.0,
|
| 114 |
+
value=0.4,
|
| 115 |
step=0.1,
|
| 116 |
label="Temperature",
|
| 117 |
),
|
| 118 |
gr.Slider(
|
| 119 |
minimum=0.1,
|
| 120 |
maximum=1.0,
|
| 121 |
+
value=0.15,
|
| 122 |
step=0.05,
|
| 123 |
label="Top-p (Nucleus sampling)",
|
| 124 |
),
|