Spaces:
Runtime error
Runtime error
Updated chat prompt to be more precise.
Browse files
chat.py
CHANGED
@@ -294,10 +294,20 @@ with gr.Blocks() as iface_chat:
|
|
294 |
inputs=[context, prompt, model, do_sample, top_k, top_p, temperature],
|
295 |
examples=[
|
296 |
[
|
297 |
-
"
|
298 |
-
"AI is talkative, friendly,
|
|
|
|
|
|
|
299 |
"Human: Hi!</s>\n"
|
300 |
-
"AI: Hi! How can I help you
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
301 |
"Could you remind me please who was Neil Armstrong?",
|
302 |
"bloomz",
|
303 |
True,
|
|
|
294 |
inputs=[context, prompt, model, do_sample, top_k, top_p, temperature],
|
295 |
examples=[
|
296 |
[
|
297 |
+
"Human talks to a powerful AI that follows the Human's instructions. "
|
298 |
+
"AI is a smart, talkative, friendly, honest, helpful, harmless assistant to Human. "
|
299 |
+
"AI has instant access to an online encyclopedia containing all the facts about the world "
|
300 |
+
"and answers any question in detail. AI never says common misconceptions, "
|
301 |
+
"outdated information, lies, fiction, myths, jokes, or memes.</s>\n"
|
302 |
"Human: Hi!</s>\n"
|
303 |
+
"AI: Hi! How can I help you?</s>\n"
|
304 |
+
"Human: What's the capital of Portugal?</s>\n"
|
305 |
+
"AI: The capital of Portugal is Lisbon (or Lisboa in Portuguese) with "
|
306 |
+
"a population of approximately 547,000 people.</s>\n"
|
307 |
+
"Human: Why cats meow?</s>\n"
|
308 |
+
"AI: Cats meow as a way of communicating with humans or other cats. "
|
309 |
+
"They may meow to get attention, express hunger or thirst, "
|
310 |
+
"indicate pain or discomfort, seek affection, or simply to say hello."
|
311 |
"Could you remind me please who was Neil Armstrong?",
|
312 |
"bloomz",
|
313 |
True,
|