Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -14,10 +14,10 @@ CHAT_TEMPLATE = "ChatML"
|
|
14 |
MODEL_NAME = MODEL_ID.split("/")[-1]
|
15 |
CONTEXT_LENGTH = 48000
|
16 |
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
|
22 |
latex_delimiters_set = [{
|
23 |
"left": "\\(",
|
@@ -127,7 +127,7 @@ gr.ChatInterface(
|
|
127 |
additional_inputs=[
|
128 |
gr.Textbox("You are a helpful assistant.", label="System prompt"),
|
129 |
gr.Slider(0, 1, .2, label="Temperature"),
|
130 |
-
gr.Slider(128, 32000,
|
131 |
gr.Slider(1, 80, 40, label="Top K sampling"),
|
132 |
gr.Slider(0, 2, 1.2, label="Repetition penalty"),
|
133 |
gr.Slider(0, 1, .9, label="Top P sampling"),
|
|
|
14 |
MODEL_NAME = MODEL_ID.split("/")[-1]
|
15 |
CONTEXT_LENGTH = 48000
|
16 |
|
17 |
+
COLOR = "blue"
|
18 |
+
EMOJI = "🤖"
|
19 |
+
DESCRIPTION = """Finetuned Marco-O1 on QwQ responses to get this model. It can mimic "system-2" thinking in a small form factor.
|
20 |
+
More r&d coming soon!"""
|
21 |
|
22 |
latex_delimiters_set = [{
|
23 |
"left": "\\(",
|
|
|
127 |
additional_inputs=[
|
128 |
gr.Textbox("You are a helpful assistant.", label="System prompt"),
|
129 |
gr.Slider(0, 1, .2, label="Temperature"),
|
130 |
+
gr.Slider(128, 32000, 32000, label="Max new tokens"),
|
131 |
gr.Slider(1, 80, 40, label="Top K sampling"),
|
132 |
gr.Slider(0, 2, 1.2, label="Repetition penalty"),
|
133 |
gr.Slider(0, 1, .9, label="Top P sampling"),
|