Capt-Rayn

Results 1 comments of Capt-Rayn

> > ``` > > model = PeftModel.from_pretrained(model, "weights/xxx") > > model_dict = model.state_dict() > > model_dict.update(torch.load("weights/xxx/adapter_model.bin")) > > model.load_state_dict(model_dict) > > ``` > > > > > > >...