Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -83,29 +83,29 @@ additional_inputs=[
|
|
83 |
|
84 |
css = """
|
85 |
#mkd {
|
86 |
-
height:
|
87 |
overflow: auto;
|
88 |
border: 1px solid #ccc;
|
89 |
}
|
90 |
"""
|
91 |
|
92 |
with gr.Blocks(css=css) as demo:
|
93 |
-
gr.HTML("""
|
94 |
In this demo, you can chat with <a href='https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.1'>Mistral-7B-Instruct</a> model. π¬
|
95 |
-
|
|
|
96 |
<ul>
|
97 |
<li>πͺ Sliding Window Attention with 128K tokens span</li>
|
98 |
<li>π GQA for faster inference</li>
|
99 |
<li>π Byte-fallback BPE tokenizer</li>
|
100 |
</ul>
|
101 |
-
|
102 |
-
|
103 |
<ul>
|
104 |
<li>π Available on Huggingface Hub</li>
|
105 |
<li>π Python code snippets for easy setup</li>
|
106 |
<li>π Expected speedups with Flash Attention 2</li>
|
107 |
</ul>
|
108 |
-
Learn more about the model <a href='https://huggingface.co/docs/transformers/main/model_doc/mistral'>here</a>. π
|
109 |
""")
|
110 |
|
111 |
|
|
|
83 |
|
84 |
css = """
|
85 |
#mkd {
|
86 |
+
height: 300px;
|
87 |
overflow: auto;
|
88 |
border: 1px solid #ccc;
|
89 |
}
|
90 |
"""
|
91 |
|
92 |
with gr.Blocks(css=css) as demo:
|
93 |
+
gr.HTML("""<h2>π€ Mistral Chat - Gradio π€</h2>
|
94 |
In this demo, you can chat with <a href='https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.1'>Mistral-7B-Instruct</a> model. π¬
|
95 |
+
Learn more about the model <a href='https://huggingface.co/docs/transformers/main/model_doc/mistral'>here</a>. π
|
96 |
+
<h2>π Model Features π </h2>
|
97 |
<ul>
|
98 |
<li>πͺ Sliding Window Attention with 128K tokens span</li>
|
99 |
<li>π GQA for faster inference</li>
|
100 |
<li>π Byte-fallback BPE tokenizer</li>
|
101 |
</ul>
|
102 |
+
<h3>π License π Released under Apache 2.0 License</h3>
|
103 |
+
<h3>π¦ Usage π¦</h3>
|
104 |
<ul>
|
105 |
<li>π Available on Huggingface Hub</li>
|
106 |
<li>π Python code snippets for easy setup</li>
|
107 |
<li>π Expected speedups with Flash Attention 2</li>
|
108 |
</ul>
|
|
|
109 |
""")
|
110 |
|
111 |
|