Commit
·
c132c5a
1
Parent(s):
8c722a0
Update readme
Browse files
README.md
CHANGED
|
@@ -20,8 +20,8 @@ from transformers import AutoModelForCausalLM, AutoTokenizer
|
|
| 20 |
|
| 21 |
device = "cuda" # the device to load the model onto
|
| 22 |
|
| 23 |
-
model = AutoModelForCausalLM.from_pretrained("mistralai/Mistral-7B-Instruct-v0.1")
|
| 24 |
-
tokenizer = AutoTokenizer.from_pretrained("mistralai/Mistral-7B-Instruct-v0.1")
|
| 25 |
|
| 26 |
text = "<s>[INST] What is your favourite condiment? [/INST]"
|
| 27 |
"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> "
|
|
|
|
| 20 |
|
| 21 |
device = "cuda" # the device to load the model onto
|
| 22 |
|
| 23 |
+
model = AutoModelForCausalLM.from_pretrained("mistralai/Mistral-7B-Instruct-v0.1")
|
| 24 |
+
tokenizer = AutoTokenizer.from_pretrained("mistralai/Mistral-7B-Instruct-v0.1")
|
| 25 |
|
| 26 |
text = "<s>[INST] What is your favourite condiment? [/INST]"
|
| 27 |
"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> "
|