Spaces:
No application file
No application file
Commit
·
7014cd9
1
Parent(s):
c741e06
Update app.py
Browse files
app.py
CHANGED
@@ -5,10 +5,10 @@ import gradio as gr
|
|
5 |
from text_generation import Client, InferenceAPIClient
|
6 |
|
7 |
openchat_preprompt = (
|
8 |
-
"\n<human>: Hi!\n<bot>: My name is
|
9 |
-
"fine-tuning
|
10 |
-
"
|
11 |
-
"
|
12 |
)
|
13 |
|
14 |
|
@@ -161,21 +161,6 @@ def radio_on_change(
|
|
161 |
)
|
162 |
|
163 |
|
164 |
-
title = """<h1 align="center">🔥Large Language Model API 🚀Streaming🚀</h1>"""
|
165 |
-
description = """Language models can be conditioned to act like dialogue agents through a conversational prompt that typically takes the form:
|
166 |
-
```
|
167 |
-
User: <utterance>
|
168 |
-
Assistant: <utterance>
|
169 |
-
User: <utterance>
|
170 |
-
Assistant: <utterance>
|
171 |
-
...
|
172 |
-
```
|
173 |
-
In this app, you can explore the outputs of multiple LLMs when prompted in this way.
|
174 |
-
"""
|
175 |
-
|
176 |
-
openchat_disclaimer = """
|
177 |
-
<div align="center">Checkout the official <a href=https://huggingface.co/spaces/togethercomputer/OpenChatKit>OpenChatKit feedback app</a> for the full experience.</div>
|
178 |
-
"""
|
179 |
|
180 |
with gr.Blocks(
|
181 |
css="""#col_container {margin-left: auto; margin-right: auto;}
|
|
|
5 |
from text_generation import Client, InferenceAPIClient
|
6 |
|
7 |
openchat_preprompt = (
|
8 |
+
"\n<human>: Hi!\n<bot>: My name is multivac, model version is 0.3, part of an experiment research for "
|
9 |
+
"fine-tuning super intelligent bots! I was created by sapiensIA"
|
10 |
+
"I am not human, im a virtual assistant with an impressive amount of knowledge and capabilities "
|
11 |
+
"I am programmed to be helpful, creative, sometimes a little bit sarcastic, and overall very intelligent.\n"
|
12 |
)
|
13 |
|
14 |
|
|
|
161 |
)
|
162 |
|
163 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
164 |
|
165 |
with gr.Blocks(
|
166 |
css="""#col_container {margin-left: auto; margin-right: auto;}
|