Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -77,13 +77,14 @@ def respond(
|
|
77 |
"""
|
78 |
For information on how to customize the ChatInterface, peruse the gradio docs: https://www.gradio.app/docs/chatinterface
|
79 |
"""
|
80 |
-
options = ["32B (
|
81 |
options = options[:2]
|
|
|
82 |
demo = gr.ChatInterface(
|
83 |
respond,
|
84 |
additional_inputs=[
|
85 |
-
gr.Radio(choices=options, label="Model:", value=options[
|
86 |
-
gr.Textbox(value="
|
87 |
gr.Slider(minimum=1, maximum=4096, value=2048, step=1, label="Max new tokens"),
|
88 |
gr.Slider(minimum=0.0, maximum=2.0, value=0.3, step=0.1, label="Temperature"),
|
89 |
gr.Slider(
|
|
|
77 |
"""
|
78 |
For information on how to customize the ChatInterface, peruse the gradio docs: https://www.gradio.app/docs/chatinterface
|
79 |
"""
|
80 |
+
options = ["32B-Pro (beta)", "32B QWQ (experimental, without any additional tuning after LEP!)", "7B (work in progress)", "3B"]
|
81 |
options = options[:2]
|
82 |
+
system_old = "You are a helpful and harmless assistant. You should think step-by-step. First, reason (the user does not see your reasoning), then give your final answer."
|
83 |
demo = gr.ChatInterface(
|
84 |
respond,
|
85 |
additional_inputs=[
|
86 |
+
gr.Radio(choices=options, label="Model:", value=options[0]),
|
87 |
+
gr.Textbox(value="Ты Руадапт - интеллектуальный ассистент для помощи пользователям в их вопросах. Отвечая на сложные вопросы ты используешь пошаговые рассуждения (step-by-step).", label="System message"),
|
88 |
gr.Slider(minimum=1, maximum=4096, value=2048, step=1, label="Max new tokens"),
|
89 |
gr.Slider(minimum=0.0, maximum=2.0, value=0.3, step=0.1, label="Temperature"),
|
90 |
gr.Slider(
|