ChatGLM-Tuning icon indicating copy to clipboard operation
ChatGLM-Tuning copied to clipboard

训练完试图测试报错

Open janglichao opened this issue 1 year ago • 4 comments

RuntimeError: Error(s) in loading state_dict for PeftModelForCausalLM: size mismatch for base_model.model.transformer.layers.0.attention.query_key_value.lora_A.default.weight: copying a param with shape torch.Size([16, 4096]) from checkpoint, the shape in current model is torch.Size([8, 4096]). size mismatch for


按照你提供的方法训练完报错的。这个什么意思

janglichao avatar Apr 13 '23 10:04 janglichao

如果没有其他的docker容器处于运行状态,可以执行一下service docker restart,重启一下docker服务试试。

xuwei-fit2cloud avatar Apr 03 '23 09:04 xuwei-fit2cloud

您超过 30 天未反馈信息,我们将关闭该 issue,如有需求您可以重新打开或者提交新的 issue。

github-actions[bot] avatar May 04 '23 00:05 github-actions[bot]