Update README.md
Browse files
README.md
CHANGED
@@ -36,11 +36,11 @@ from transformers import AutoModelForCausalLM, AutoTokenizer
|
|
36 |
|
37 |
device = "cuda" # the device to load the model onto
|
38 |
|
39 |
-
model = AutoModelForCausalLM.from_pretrained("maywell/Synatra-kiqu-
|
40 |
-
tokenizer = AutoTokenizer.from_pretrained("maywell/Synatra-kiqu-
|
41 |
|
42 |
messages = [
|
43 |
-
{"role": "user", "content": "
|
44 |
]
|
45 |
|
46 |
encodeds = tokenizer.apply_chat_template(messages, return_tensors="pt")
|
|
|
36 |
|
37 |
device = "cuda" # the device to load the model onto
|
38 |
|
39 |
+
model = AutoModelForCausalLM.from_pretrained("maywell/Synatra-kiqu-7B")
|
40 |
+
tokenizer = AutoTokenizer.from_pretrained("maywell/Synatra-kiqu-7B")
|
41 |
|
42 |
messages = [
|
43 |
+
{"role": "user", "content": "μ¬νμ ν©μλ μ΄λ€ λ§₯λ½μμ μ¬μ©λλ λ§μ΄μΌ?"},
|
44 |
]
|
45 |
|
46 |
encodeds = tokenizer.apply_chat_template(messages, return_tensors="pt")
|