Instructions to use openaccess-ai-collective/phi-platypus-qlora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use openaccess-ai-collective/phi-platypus-qlora with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("microsoft/phi-1_5") model = PeftModel.from_pretrained(base_model, "openaccess-ai-collective/phi-platypus-qlora") - Notebooks
- Google Colab
- Kaggle
Issue merging peft model...
#1
by typeof - opened
Seems I'm getting the same error with this model too... adapted gist from here from @TheBloke
@teknium seems to have figured it out? perhaps this issue is some bug in config of qlora?
RuntimeError: Error(s) in loading state_dict for MixFormerSequentialForCausalLM: size mismatch for layers.25.linear.lora_B.default.weight: copying a param with shape torch.Size([50304, 64]) from checkpoint, the shape in current model is torch.Size([51200, 64]).
note: only occurs on the final layer!?....
typeof changed discussion status to closed