Getting RuntimeError: Error(s) in loading state_dict for PeftModelForCausalLM
#1
by
Sintrias
- opened
I'm getting an error when trying to run the model. Not sure why, but here it is:
RuntimeError: Error(s) in loading state_dict for PeftModelForCausalLM:
size mismatch for base_model.model.model.embed_tokens.weight: copying a param with shape torch.Size([256002, 2304]) from checkpoint, the shape in current model is torch.Size([256000, 2304]).
size mismatch for base_model.model.lm_head.weight: copying a param with shape torch.Size([256002, 2304]) from checkpoint, the shape in current model is torch.Size([256000, 2304]).