How to use nakcnx/OTG-1.0-B-qlora-Math with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("openthaigpt/openthaigpt-1.0.0-beta-7b-chat-ckpt-hf") model = PeftModel.from_pretrained(base_model, "nakcnx/OTG-1.0-B-qlora-Math")