Update README.md
Browse files
README.md
CHANGED
|
@@ -54,7 +54,7 @@ device = "cuda" # the device to load the model onto
|
|
| 54 |
|
| 55 |
model = AutoModelForCausalLM.from_pretrained(
|
| 56 |
"USTC-KnowledgeComputingLab/Llama3-KALE-LM-Chem-8B",
|
| 57 |
-
torch_dtype=
|
| 58 |
device_map="auto"
|
| 59 |
)
|
| 60 |
tokenizer = AutoTokenizer.from_pretrained("USTC-KnowledgeComputingLab/Llama3-KALE-LM-Chem-8B")
|
|
|
|
| 54 |
|
| 55 |
model = AutoModelForCausalLM.from_pretrained(
|
| 56 |
"USTC-KnowledgeComputingLab/Llama3-KALE-LM-Chem-8B",
|
| 57 |
+
torch_dtype="auto",
|
| 58 |
device_map="auto"
|
| 59 |
)
|
| 60 |
tokenizer = AutoTokenizer.from_pretrained("USTC-KnowledgeComputingLab/Llama3-KALE-LM-Chem-8B")
|