Bert-Chinese-Text-Classification-Pytorch icon indicating copy to clipboard operation
Bert-Chinese-Text-Classification-Pytorch copied to clipboard

size mismatch for bert.embeddings.LayerNorm.bias: copying a param with shape torch.Size([128]) from checkpoint, the shape in current model is torch.Size([768]).

Open dongandi opened this issue 4 years ago • 0 comments

image 很奇怪,不知道怎么解决 更改self.hidden_size = 768也没有用

dongandi avatar Oct 02 '21 03:10 dongandi