Spaces:
Paused
Paused
harpreetsahota
commited on
Commit
•
0dd9c69
1
Parent(s):
37dfe2c
Update app.py
Browse files
app.py
CHANGED
@@ -19,17 +19,9 @@ SYSTEM_PROMPT_TEMPLATE = """Below is an instruction that describes a task. Write
|
|
19 |
DESCRIPTION = """
|
20 |
# <p style="text-align: center; color: #292b47;"> 🤖 <span style='color: #3264ff;'>DeciLM-6B-Instruct:</span> A Fast Instruction-Tuned Model💨 </p>
|
21 |
<span style='color: #292b47;'>Welcome to <a href="https://huggingface.co/Deci/DeciLM-6b-instruct" style="color: #3264ff;">DeciLM-6B-Instruct</a>! DeciLM-6B-Instruct is a 6B parameter instruction-tuned language model and released under the Llama license. It's an instruction-tuned model, not a chat-tuned model; you should prompt the model with an instruction that describes a task, and the model will respond appropriately to complete the task.</span>
|
22 |
-
<p><span style='color: #292b47;'>Learn more about the base model <a href="https://
|
23 |
"""
|
24 |
|
25 |
-
# LICENSE = """
|
26 |
-
# <p/>
|
27 |
-
|
28 |
-
# ---
|
29 |
-
# As a derivate work of [Llama-2-7b-chat](https://huggingface.co/meta-llama/Llama-2-7b-chat) by Meta,
|
30 |
-
# this demo is governed by the original [license](https://huggingface.co/spaces/huggingface-projects/llama-2-7b-chat/blob/main/LICENSE.txt) and [acceptable use policy](https://huggingface.co/spaces/huggingface-projects/llama-2-7b-chat/blob/main/USE_POLICY.md).
|
31 |
-
# """
|
32 |
-
|
33 |
if not torch.cuda.is_available():
|
34 |
DESCRIPTION += 'You need a GPU for this example. Try using colab: https://bit.ly/decilm-instruct-nb'
|
35 |
|
@@ -141,5 +133,4 @@ with gr.Blocks(css="/content/style.css") as demo:
|
|
141 |
|
142 |
gr.HTML(label="Keep in touch", value="<img src='https://huggingface.co/spaces/Deci/DeciLM-6b-instruct/resolve/main/deci-coder-banner.png' alt='Keep in touch' style='display: block; color: #292b47; margin: auto; max-width: 800px;'>")
|
143 |
|
144 |
-
|
145 |
-
demo.launch(share=True, debug=True)
|
|
|
19 |
DESCRIPTION = """
|
20 |
# <p style="text-align: center; color: #292b47;"> 🤖 <span style='color: #3264ff;'>DeciLM-6B-Instruct:</span> A Fast Instruction-Tuned Model💨 </p>
|
21 |
<span style='color: #292b47;'>Welcome to <a href="https://huggingface.co/Deci/DeciLM-6b-instruct" style="color: #3264ff;">DeciLM-6B-Instruct</a>! DeciLM-6B-Instruct is a 6B parameter instruction-tuned language model and released under the Llama license. It's an instruction-tuned model, not a chat-tuned model; you should prompt the model with an instruction that describes a task, and the model will respond appropriately to complete the task.</span>
|
22 |
+
<p><span style='color: #292b47;'>Learn more about the base model <a href="https://deci.ai/blog/decilm-15-times-faster-than-llama2-nas-generated-llm-with-variable-gqa/" style="color: #3264ff;">DeciLM-6B.</a></span></p>
|
23 |
"""
|
24 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
if not torch.cuda.is_available():
|
26 |
DESCRIPTION += 'You need a GPU for this example. Try using colab: https://bit.ly/decilm-instruct-nb'
|
27 |
|
|
|
133 |
|
134 |
gr.HTML(label="Keep in touch", value="<img src='https://huggingface.co/spaces/Deci/DeciLM-6b-instruct/resolve/main/deci-coder-banner.png' alt='Keep in touch' style='display: block; color: #292b47; margin: auto; max-width: 800px;'>")
|
135 |
|
136 |
+
demo.launch()
|
|