roygan commited on
Commit
16d9028
1 Parent(s): 9d613e4

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +0 -1
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")