reciprocate
commited on
Commit
•
87b15b2
1
Parent(s):
37978d4
Update README.md
Browse files
README.md
CHANGED
@@ -85,9 +85,13 @@ You are a helpful assistant with access to the following functions. You must use
|
|
85 |
}
|
86 |
]
|
87 |
"""
|
88 |
-
messages = [
|
|
|
|
|
|
|
|
|
89 |
inputs = tokenizer.apply_chat_template(
|
90 |
-
|
91 |
add_generation_prompt=True,
|
92 |
return_tensors='pt'
|
93 |
)
|
|
|
85 |
}
|
86 |
]
|
87 |
"""
|
88 |
+
messages = [
|
89 |
+
{'role': 'system', 'content': system_prompt},
|
90 |
+
{'role': "user", 'content': "Help me to generate a picture of Eiffel Tower in the night!"}
|
91 |
+
]
|
92 |
+
|
93 |
inputs = tokenizer.apply_chat_template(
|
94 |
+
messages,
|
95 |
add_generation_prompt=True,
|
96 |
return_tensors='pt'
|
97 |
)
|