YaoXinZhi / Convert-Bert-TF-checkpoint-to-Pytorch

Convert Bert TF-checkpoint to Pytorch
15 stars 8 forks source link

将TF模型转换为tor模型后出现问题 #3

Open whdcwsj opened 2 years ago

whdcwsj commented 2 years ago

Some weights of the model checkpoint at /home/wsj/bert_model/chinese/bert_chinese_L-12_H-768_A-12 were not used when initializing BertModel: ['cls.seq_relationship.weight', 'cls.predictions.decoder.weight', 'cls.predictions.transform.LayerNorm.bias', 'cls.predictions.transform.LayerNorm.weight', 'cls.predictions.bias', 'cls.seq_relationship.bias', 'cls.predictions.transform.dense.bias', 'cls.predictions.decoder.bias', 'cls.predictions.transform.dense.weight']