Update README.md
Browse files
README.md
CHANGED
@@ -37,11 +37,11 @@ import torch
|
|
37 |
device = "cuda" # the device to load the model onto
|
38 |
|
39 |
model = AutoModelForCausalLM.from_pretrained(
|
40 |
-
"
|
41 |
torch_dtype='auto',
|
42 |
device_map="auto"
|
43 |
)
|
44 |
-
tokenizer = AutoTokenizer.from_pretrained("
|
45 |
|
46 |
prompt = "What is the mearning of life?"
|
47 |
messages = [
|
|
|
37 |
device = "cuda" # the device to load the model onto
|
38 |
|
39 |
model = AutoModelForCausalLM.from_pretrained(
|
40 |
+
"qnguyen3/Master-Yi-9B",
|
41 |
torch_dtype='auto',
|
42 |
device_map="auto"
|
43 |
)
|
44 |
+
tokenizer = AutoTokenizer.from_pretrained("qnguyen3/Master-Yi-9B")
|
45 |
|
46 |
prompt = "What is the mearning of life?"
|
47 |
messages = [
|