chatbot icon indicating copy to clipboard operation
chatbot copied to clipboard

请问如果用自己的数据进行微调的话,怎么解决模块加载时,形状不匹配的问题?

Open Wbxxx opened this issue 2 years ago • 0 comments

RuntimeError: Error(s) in loading state_dict for Embedding: size mismatch for weight: copying a param with shape torch.Size([18993, 256]) from checkpoint, the shape in current model is torch.Size([2559, 256]).

Wbxxx avatar May 25 '23 11:05 Wbxxx