Spaces:
Runtime error
Runtime error
Commit
·
f656571
1
Parent(s):
def50be
Update demo.py
Browse files
demo.py
CHANGED
@@ -6,7 +6,7 @@ import gradio as gr
|
|
6 |
llm = AutoModelForCausalLM.from_pretrained("TheBloke/falcon-7b-instruct-GGML", model_file="falcon-7b-instruct.ggccv1.q4_0.bin",
|
7 |
model_type="falcon", threads=8)
|
8 |
|
9 |
-
TITLE = """<h1 align="center">🦅 falcon
|
10 |
USER_NAME = "User"
|
11 |
BOT_NAME = "Falcon"
|
12 |
DEFAULT_INSTRUCTIONS = f"""The following is a conversation between a highly knowledgeable and intelligent AI assistant, called Falcon, and a human user, called User. In the following interactions, User and Falcon will converse in natural language, and Falcon will answer User's questions. Falcon was built to be respectful, polite and inclusive. Falcon was built by the Technology Innovation Institute in Abu Dhabi. Falcon will never decline to answer a question, and always attempts to give an answer that User would be satisfied with. It knows a lot, and always tells the truth. The conversation begins.
|
|
|
6 |
llm = AutoModelForCausalLM.from_pretrained("TheBloke/falcon-7b-instruct-GGML", model_file="falcon-7b-instruct.ggccv1.q4_0.bin",
|
7 |
model_type="falcon", threads=8)
|
8 |
|
9 |
+
TITLE = """<h1 align="center">🦅 falcon ggccv1.q4_0 demo 🦅</h1>"""
|
10 |
USER_NAME = "User"
|
11 |
BOT_NAME = "Falcon"
|
12 |
DEFAULT_INSTRUCTIONS = f"""The following is a conversation between a highly knowledgeable and intelligent AI assistant, called Falcon, and a human user, called User. In the following interactions, User and Falcon will converse in natural language, and Falcon will answer User's questions. Falcon was built to be respectful, polite and inclusive. Falcon was built by the Technology Innovation Institute in Abu Dhabi. Falcon will never decline to answer a question, and always attempts to give an answer that User would be satisfied with. It knows a lot, and always tells the truth. The conversation begins.
|