Update README.md
Browse files
README.md
CHANGED
|
@@ -20,8 +20,8 @@ from transformers import AutoTokenizer
|
|
| 20 |
|
| 21 |
tokenizer = AutoTokenizer.from_pretrained("[mistralai/](https://huggingface.co/mistralai/Mistral-7B-v0.1)Mistral-7B-Instruct-v0.1")
|
| 22 |
instructions = ["[INST] What is your favourite condiment? [/INST]",
|
| 23 |
-
|
| 24 |
-
|
| 25 |
|
| 26 |
encodeds = [tokenizer.encode(instruction, add_special_tokens=i==0)
|
| 27 |
for i, instruction in enumerate(instructions)]
|
|
|
|
| 20 |
|
| 21 |
tokenizer = AutoTokenizer.from_pretrained("[mistralai/](https://huggingface.co/mistralai/Mistral-7B-v0.1)Mistral-7B-Instruct-v0.1")
|
| 22 |
instructions = ["[INST] What is your favourite condiment? [/INST]",
|
| 23 |
+
"[INST] Do you have mayonnaise recipes? [/INST]",
|
| 24 |
+
"[INST] This is healthy, right? [/INST]"]
|
| 25 |
|
| 26 |
encodeds = [tokenizer.encode(instruction, add_special_tokens=i==0)
|
| 27 |
for i, instruction in enumerate(instructions)]
|