albert_zh icon indicating copy to clipboard operation
albert_zh copied to clipboard

word_embeddings dim问题

Open Fakekid opened this issue 5 years ago • 2 comments

加载albert-base模型时报以下错误: Shape of variable bert/embeddings/word_embeddings:0 ((21128, 768)) doesn't match with shape of tensor bert/embeddings/word_embeddings ([21128, 128]) from checkpoint reader.

Fakekid avatar Dec 09 '19 12:12 Fakekid

可能属于重复问题,参考 https://github.com/brightmart/albert_zh/issues/17

Vimos avatar Dec 10 '19 09:12 Vimos

加载albert-base模型时报以下错误: Shape of variable bert/embeddings/word_embeddings:0 ((21128, 768)) doesn't match with shape of tensor bert/embeddings/word_embeddings ([21128, 128]) from checkpoint reader.

你的问题解决了吗

charlesXu86 avatar Dec 13 '19 09:12 charlesXu86