Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

size mismatch on adapter model #1

Open
chris-aeviator opened this issue May 17, 2023 · 0 comments
Open

size mismatch on adapter model #1

chris-aeviator opened this issue May 17, 2023 · 0 comments

Comments

@chris-aeviator
Copy link

chris-aeviator commented May 17, 2023

model = AutoModelForCausalLM.from_pretrained("malteos/bloom-6b4-clp-german PeftModel.from_pretrained(model, "snipaid/snip-igel-500-v2")
!pip install -q transformers datasets accelerate bitsandbytes sentencepiece
!pip install -q git+https://github.com/huggingface/peft.gi

`
size mismatch for base_model.model.transformer.h.3.self_attention.query_key_value.lora_B.default.weight:
copying a param with shape torch.Size([8192, 8, 1]) from checkpoint, the shape in current model is
torch.Size([12288, 8]).
``

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant