Update README.md
Browse files
README.md
CHANGED
@@ -93,7 +93,11 @@ messages = [
|
|
93 |
]
|
94 |
|
95 |
print("\n\n*** Prompt:")
|
96 |
-
prompt = tokenizer.apply_chat_template(
|
|
|
|
|
|
|
|
|
97 |
print(prompt)
|
98 |
|
99 |
print("\n\n*** Generate:")
|
@@ -166,8 +170,9 @@ print(prompt)
|
|
166 |
|
167 |
<summary>Output</summary>
|
168 |
|
169 |
-
|
170 |
-
|
|
|
171 |
</details>
|
172 |
|
173 |
## Training Hyperparameters
|
|
|
93 |
]
|
94 |
|
95 |
print("\n\n*** Prompt:")
|
96 |
+
prompt = tokenizer.apply_chat_template(
|
97 |
+
messages,
|
98 |
+
tokenize=False,
|
99 |
+
add_generation_prompt=True
|
100 |
+
)
|
101 |
print(prompt)
|
102 |
|
103 |
print("\n\n*** Generate:")
|
|
|
170 |
|
171 |
<summary>Output</summary>
|
172 |
|
173 |
+
```python
|
174 |
+
"""<s>[INST] What is your favourite condiment? [/INST]Well, I'm quite partial to a good squeeze of fresh lemon juice. It adds just the right amount of zesty flavour to whatever I'm cooking up in the kitchen!</s> [INST] Do you have mayonnaise recipes? [/INST]"""
|
175 |
+
```
|
176 |
</details>
|
177 |
|
178 |
## Training Hyperparameters
|