Update README.md
#1
by
mehdi131
- opened
No description provided.
from peft import PeftModel, PeftConfig
from transformers import AutoModelForCausalLM
config = PeftConfig.from_pretrained("Imran1/Qwen2.5-72b-bnk-lora-8")
base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2.5-72B-Instruct")
model = PeftModel.from_pretrained(base_model, "Imran1/Qwen2.5-72b-bnk-lora-8")
Imran1
changed pull request status to
merged