Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -90,9 +90,32 @@ css = """
|
|
90 |
"""
|
91 |
|
92 |
with gr.Blocks(css=css) as demo:
|
93 |
-
gr.HTML("
|
94 |
-
|
95 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
96 |
gr.ChatInterface(
|
97 |
generate,
|
98 |
additional_inputs=additional_inputs,
|
|
|
90 |
"""
|
91 |
|
92 |
with gr.Blocks(css=css) as demo:
|
93 |
+
gr.HTML("""
|
94 |
+
<h1><center>π€ Mistral 7B Instruct π€</h1></center>
|
95 |
+
|
96 |
+
<h3><center>In this demo, you can chat with <a href='https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.1'>Mistral-7B-Instruct</a> model. π¬</h3></center>
|
97 |
+
|
98 |
+
<h3><center>π Model Features π </h3></center>
|
99 |
+
<ul>
|
100 |
+
<li>πͺ Sliding Window Attention with 128K tokens span</li>
|
101 |
+
<li>π GQA for faster inference</li>
|
102 |
+
<li>π Byte-fallback BPE tokenizer</li>
|
103 |
+
</ul>
|
104 |
+
|
105 |
+
<h3><center>π License π</h3></center>
|
106 |
+
<p>Released under Apache 2.0 License</p>
|
107 |
+
|
108 |
+
<h3><center>π¦ Usage π¦</h3></center>
|
109 |
+
<ul>
|
110 |
+
<li>π Available on Huggingface Hub</li>
|
111 |
+
<li>π Python code snippets for easy setup</li>
|
112 |
+
<li>π Expected speedups with Flash Attention 2</li>
|
113 |
+
</ul>
|
114 |
+
|
115 |
+
<h3><center>Learn more about the model <a href='https://huggingface.co/docs/transformers/main/model_doc/mistral'>here</a>. π</h3></center>
|
116 |
+
""")
|
117 |
+
|
118 |
+
|
119 |
gr.ChatInterface(
|
120 |
generate,
|
121 |
additional_inputs=additional_inputs,
|