Update README.md
Browse files
README.md
CHANGED
@@ -19,7 +19,6 @@ model = BertModel.from_pretrained("Langboat/mengzi-bert-base")
|
|
19 |
from transformers import MegatronBertConfig, MegatronBertModel
|
20 |
from transformers import BertTokenizer
|
21 |
|
22 |
-
model_pretrained_weight_path = '/home/' #模型的权重路径
|
23 |
tokenizer = BertTokenizer.from_pretrained("IDEA-CCNL/Erlangshen-1.3B")
|
24 |
config = MegatronBertConfig.from_pretrained("IDEA-CCNL/Erlangshen-1.3B")
|
25 |
model = MegatronBertModel.from_pretrained("IDEA-CCNL/Erlangshen-1.3B")
|
|
|
19 |
from transformers import MegatronBertConfig, MegatronBertModel
|
20 |
from transformers import BertTokenizer
|
21 |
|
|
|
22 |
tokenizer = BertTokenizer.from_pretrained("IDEA-CCNL/Erlangshen-1.3B")
|
23 |
config = MegatronBertConfig.from_pretrained("IDEA-CCNL/Erlangshen-1.3B")
|
24 |
model = MegatronBertModel.from_pretrained("IDEA-CCNL/Erlangshen-1.3B")
|