JiahuanCao
commited on
Commit
•
46e9009
1
Parent(s):
57e5006
Update README.md
Browse files
README.md
CHANGED
@@ -95,7 +95,7 @@ ACCN-INS数据集只能用于非商业研究目的。对于想要使用ACCN-INS
|
|
95 |
import torch
|
96 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
97 |
|
98 |
-
model_path = "DLVCLab/TongGu-7B-Instruct"
|
99 |
model = AutoModelForCausalLM.from_pretrained(model_path, device_map='auto', torch_dtype=torch.bfloat16, trust_remote_code=True)
|
100 |
tokenizer = AutoTokenizer.from_pretrained(model_path, trust_remote_code=True)
|
101 |
|
|
|
95 |
import torch
|
96 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
97 |
|
98 |
+
model_path = "SCUT-DLVCLab/TongGu-7B-Instruct"
|
99 |
model = AutoModelForCausalLM.from_pretrained(model_path, device_map='auto', torch_dtype=torch.bfloat16, trust_remote_code=True)
|
100 |
tokenizer = AutoTokenizer.from_pretrained(model_path, trust_remote_code=True)
|
101 |
|