Update inference examples
Browse files
README.md
CHANGED
@@ -21,23 +21,21 @@ widget:
|
|
21 |
I am interested in developing a career in software engineering. What
|
22 |
would you recommend me to do?
|
23 |
- messages:
|
24 |
-
- role: system
|
25 |
-
content: You are a highly knowledgeable assistant. Help the user as much as you can.
|
26 |
- role: user
|
27 |
content: How I can become a healthier person?
|
28 |
- messages:
|
29 |
-
- role: system
|
30 |
-
content: You are a helpful assistant who gives creative responses.
|
31 |
- role: user
|
32 |
content: Write the specs of a game about mages in a fantasy world.
|
33 |
- messages:
|
34 |
-
- role: system
|
35 |
-
content: You are a helpful assistant who answers user's questions with details.
|
36 |
- role: user
|
37 |
content: Tell me about the pros and cons of social media.
|
38 |
- messages:
|
39 |
- role: system
|
40 |
-
content: You are a
|
|
|
|
|
|
|
|
|
41 |
- role: user
|
42 |
content: What are some potential applications for quantum computing?
|
43 |
inference:
|
@@ -89,7 +87,15 @@ generate = pipeline("text-generation", "Felladrin/Minueza-32M-UltraChat")
|
|
89 |
messages = [
|
90 |
{
|
91 |
"role": "system",
|
92 |
-
"content": "You are a
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
93 |
},
|
94 |
{
|
95 |
"role": "user",
|
|
|
21 |
I am interested in developing a career in software engineering. What
|
22 |
would you recommend me to do?
|
23 |
- messages:
|
|
|
|
|
24 |
- role: user
|
25 |
content: How I can become a healthier person?
|
26 |
- messages:
|
|
|
|
|
27 |
- role: user
|
28 |
content: Write the specs of a game about mages in a fantasy world.
|
29 |
- messages:
|
|
|
|
|
30 |
- role: user
|
31 |
content: Tell me about the pros and cons of social media.
|
32 |
- messages:
|
33 |
- role: system
|
34 |
+
content: You are a highly knowledgeable and friendly assistant. Your goal is to understand and respond to user inquiries with clarity. Your interactions are always respectful, helpful, and focused on delivering the most accurate information to the user.
|
35 |
+
- role: user
|
36 |
+
content: Hey! Got a question for you!
|
37 |
+
- role: assistant
|
38 |
+
content: Sure! What's it?
|
39 |
- role: user
|
40 |
content: What are some potential applications for quantum computing?
|
41 |
inference:
|
|
|
87 |
messages = [
|
88 |
{
|
89 |
"role": "system",
|
90 |
+
"content": "You are a highly knowledgeable and friendly assistant. Your goal is to understand and respond to user inquiries with clarity. Your interactions are always respectful, helpful, and focused on delivering the most accurate information to the user.",
|
91 |
+
},
|
92 |
+
{
|
93 |
+
"role": "user",
|
94 |
+
"content": "Hey! Got a question for you!",
|
95 |
+
},
|
96 |
+
{
|
97 |
+
"role": "assistant",
|
98 |
+
"content": "Sure! What's it?",
|
99 |
},
|
100 |
{
|
101 |
"role": "user",
|