shunxing1234
commited on
Commit
·
13bf5db
1
Parent(s):
ef5f0c0
Update README.md
Browse files
README.md
CHANGED
@@ -58,8 +58,8 @@ from transformers import AutoTokenizer, AutoModelForCausalLM
|
|
58 |
import torch
|
59 |
|
60 |
model_info = "BAAI/AquilaCode-multi"
|
61 |
-
tokenizer = AutoTokenizer.from_pretrained(model_info, trust_remote_code=True
|
62 |
-
model = AutoModelForCausalLM.from_pretrained(model_info, trust_remote_code=True
|
63 |
model.eval()
|
64 |
model.to("cuda:3")
|
65 |
|
|
|
58 |
import torch
|
59 |
|
60 |
model_info = "BAAI/AquilaCode-multi"
|
61 |
+
tokenizer = AutoTokenizer.from_pretrained(model_info, trust_remote_code=True)
|
62 |
+
model = AutoModelForCausalLM.from_pretrained(model_info, trust_remote_code=True)
|
63 |
model.eval()
|
64 |
model.to("cuda:3")
|
65 |
|