SoftMaskedBert-PyTorch
SoftMaskedBert-PyTorch copied to clipboard
我用了softMaskedbert训练了十个epoch,当拿来用predict的时候 他报下面这个,要怎么解决?
Some weights of the model checkpoint at bert-base-chinese were not used when initializing BertForMaskedLM: ['cls.seq_relationship.weight', 'cls.seq_relationship.bias']
- This IS expected if you are initializing BertForMaskedLM from the checkpoint of a model trained on another task or with another architecture (e.g. initializing a BertForSequenceClassification model from a BertForPreTraining model).
- This IS NOT expected if you are initializing BertForMaskedLM from the checkpoint of a model that you expect to be exactly identical (initializing a BertForSequenceClassification model from a BertForSequenceClassification model).
这个不会影响纠错的inference。