llmware
llmware copied to clipboard
Error(s) in loading state_dict for LlamaForCausalLM
Hi with some models I experience the following error:
RuntimeError: Error(s) in loading state_dict for LlamaForCausalLM:
size mismatch for model.layers.0.self_attn.k_proj.weight: copying a param with shape torch.Size([256, 2048]) from checkpoint, the shape in current model is torch.Size([2048, 2048]).
Code is:
python my_model = ModelCatalog().load_model("llmware/slim-emotions")