daichira/structured-hard-sft-4k
Viewer • Updated • 4k • 55 • 1
How to use shinich001/qwen3-4b-h100-mix-4k 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, "shinich001/qwen3-4b-h100-mix-4k")This LoRA adapter is optimized for structured output (JSON/XML/YAML/CSV) using Qwen3-4B-Instruct-2507 and Unsloth. Trained on H100 with merged datasets (5k-mix + hard-4k) and a context length of 4096.
Base model
Qwen/Qwen3-4B-Instruct-2507