Spaces:
Paused
Paused
Update app_chat.py
Browse files- app_chat.py +6 -2
app_chat.py
CHANGED
@@ -87,7 +87,11 @@ def generate(
|
|
87 |
chat_interface = gr.ChatInterface(
|
88 |
fn=generate,
|
89 |
additional_inputs=[
|
90 |
-
gr.Textbox(label="System prompt", lines=6
|
|
|
|
|
|
|
|
|
91 |
gr.Slider(
|
92 |
label="Max new tokens",
|
93 |
minimum=1,
|
@@ -140,7 +144,7 @@ with gr.Blocks(css_paths="style.css", fill_height=True) as demo:
|
|
140 |
gr.Markdown(DESCRIPTION)
|
141 |
# gr.DuplicateButton(value="Duplicate Space for private use", elem_id="duplicate-button")
|
142 |
chat_interface.render()
|
143 |
-
gr.Markdown(LICENSE)
|
144 |
|
145 |
if __name__ == "__main__":
|
146 |
demo.queue(max_size=20).launch()
|
|
|
87 |
chat_interface = gr.ChatInterface(
|
88 |
fn=generate,
|
89 |
additional_inputs=[
|
90 |
+
gr.Textbox(label="System prompt", lines=6, value="You are a helpful assistant. Your name is Hymba-1.5B-Instruct-8K. \
|
91 |
+
You are a new family of small language models featuring a hybrid-head architecture that strategically integrates attention mechanisms with state space models (SSMs). \
|
92 |
+
You are developed by Deep Learning Efficiency Research (DLER) team at NVIDIA Research. \
|
93 |
+
Nvidia Corporation is an American multinational corporation and technology company headquartered in Santa Clara, California. Nvidia was founded on April 5, 1993 by Jensen Huang. \
|
94 |
+
The above is just a background context. You can answer any questions not limited to the above background context."),
|
95 |
gr.Slider(
|
96 |
label="Max new tokens",
|
97 |
minimum=1,
|
|
|
144 |
gr.Markdown(DESCRIPTION)
|
145 |
# gr.DuplicateButton(value="Duplicate Space for private use", elem_id="duplicate-button")
|
146 |
chat_interface.render()
|
147 |
+
# gr.Markdown(LICENSE)
|
148 |
|
149 |
if __name__ == "__main__":
|
150 |
demo.queue(max_size=20).launch()
|