awacke1 commited on
Commit
fe17515
β€’
1 Parent(s): 552b26e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +26 -3
app.py CHANGED
@@ -90,9 +90,32 @@ css = """
90
  """
91
 
92
  with gr.Blocks(css=css) as demo:
93
- gr.HTML("<h1><center>Mistral 7B Instruct<h1><center>")
94
- gr.HTML("<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>")
95
- gr.HTML("<h3><center>Learn more about the model <a href='https://huggingface.co/docs/transformers/main/model_doc/mistral'>here</a>. πŸ“š<h3><center>")
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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,