u-10bei/structured_data_with_cot_dataset_512_v5
Viewer • Updated • 5.68k • 205 • 3
How to use SunTaiyo/qwen3-4b-structured-output-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, "SunTaiyo/qwen3-4b-structured-output-lora")Base model
Qwen/Qwen3-4B-Instruct-2507