MyNameIsSimon commited on
Commit
c70a3f3
·
1 Parent(s): 130ba32

changed default parameters

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -98,27 +98,27 @@ demo = CustomChatInterface(
98
  label="Select Model",
99
  ),
100
  gr.Textbox(
101
- value="You are a friendly Chatbot.",
102
  label="System message",
103
  ),
104
  gr.Slider(
105
  minimum=1,
106
  maximum=2048,
107
- value=128,
108
  step=1,
109
  label="Max new tokens",
110
  ),
111
  gr.Slider(
112
  minimum=0.1,
113
  maximum=4.0,
114
- value=0.7,
115
  step=0.1,
116
  label="Temperature",
117
  ),
118
  gr.Slider(
119
  minimum=0.1,
120
  maximum=1.0,
121
- value=0.95,
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
  ),