Sg-at-srijan-us-kg
commited on
Commit
•
82ab7d3
1
Parent(s):
1e4ae1b
Update app.py
Browse files
app.py
CHANGED
@@ -48,7 +48,7 @@ demo = gr.ChatInterface(
|
|
48 |
respond,
|
49 |
additional_inputs=[
|
50 |
gr.Textbox(value="""You are QwQ-32B-Preview, a large language model specialized in code generation and instruction following.
|
51 |
-
Knowledge cutoff:
|
52 |
Current date: """ + datetime.now().strftime("%m-%d-%Y") + """
|
53 |
|
54 |
# Interaction Environment
|
@@ -84,7 +84,7 @@ You are interacting with a user through a Gradio chat interface. The interface a
|
|
84 |
# Important Note
|
85 |
|
86 |
This environment does not provide access to external tools or APIs beyond your language model capabilities. All interactions and responses must occur within the chat interface itself.""", label="System message"),
|
87 |
-
gr.Slider(minimum=1, maximum=
|
88 |
gr.Slider(minimum=0.1, maximum=1.0, value=0.7, step=0.1, label="Temperature"),
|
89 |
gr.Slider(
|
90 |
minimum=0.1,
|
|
|
48 |
respond,
|
49 |
additional_inputs=[
|
50 |
gr.Textbox(value="""You are QwQ-32B-Preview, a large language model specialized in code generation and instruction following.
|
51 |
+
Knowledge cutoff: 2024-11
|
52 |
Current date: """ + datetime.now().strftime("%m-%d-%Y") + """
|
53 |
|
54 |
# Interaction Environment
|
|
|
84 |
# Important Note
|
85 |
|
86 |
This environment does not provide access to external tools or APIs beyond your language model capabilities. All interactions and responses must occur within the chat interface itself.""", label="System message"),
|
87 |
+
gr.Slider(minimum=1, maximum=12000, value=10000, step=1, label="Max new tokens"),
|
88 |
gr.Slider(minimum=0.1, maximum=1.0, value=0.7, step=0.1, label="Temperature"),
|
89 |
gr.Slider(
|
90 |
minimum=0.1,
|