u-10bei/structured_data_with_cot_dataset_v2
Viewer • Updated • 2.5k • 34
How to use kawatoshi3/exp2a-lora with PEFT:
from peft import PeftModel
from transformers import AutoModelForCausalLM
base_model = AutoModelForCausalLM.from_pretrained("unsloth/qwen3-4b-instruct-2507-unsloth-bnb-4bit")
model = PeftModel.from_pretrained(base_model, "kawatoshi3/exp2a-lora")LoRA adapter fine-tuned from Qwen/Qwen3-4B-Instruct-2507 using QLoRA (4-bit, Unsloth).
Base model
Qwen/Qwen3-4B-Instruct-2507