add system message
Browse files
app.py
CHANGED
@@ -33,7 +33,7 @@ demo = gr.ChatInterface(
|
|
33 |
# gr.markdown(description),
|
34 |
fn=respond,
|
35 |
additional_inputs=[
|
36 |
-
gr.Textbox(value="You are
|
37 |
gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
|
38 |
gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
|
39 |
gr.Slider(minimum=0.1, maximum=1.0, value=0.95, step=0.05, label="Top-p (nucleus sampling)")
|
|
|
33 |
# gr.markdown(description),
|
34 |
fn=respond,
|
35 |
additional_inputs=[
|
36 |
+
gr.Textbox(value="You are Minitron an AI assistant created by Tonic-AI", label="System message"),
|
37 |
gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
|
38 |
gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
|
39 |
gr.Slider(minimum=0.1, maximum=1.0, value=0.95, step=0.05, label="Top-p (nucleus sampling)")
|