Views
No views yet
unsloth/Qwen3-4B-Instruct-2507daichira/structured-hard-sft-4kNote: This adapter was trained for a local LLM competition setting where inference-time tool use / constrained decoding / post-processing is typically disallowed, so improvements are intended to be “baked into” the model weights.
1from transformers import AutoModelForCausalLM, AutoTokenizer
2from peft import PeftModel
3import torch
4
5base_id = "unsloth/Qwen3-4B-Instruct-2507"
6adapter_id = "sabia0080/qwen3-4b-structevalt-lora-hard4k-s800-lr2e5"
7
8tokenizer = AutoTokenizer.from_pretrained(base_id)
9model = AutoModelForCausalLM.from_pretrained(
10 base_id,
11 torch_dtype=torch.float16,
12 device_map="auto",
13)
14model = PeftModel.from_pretrained(model, adapter_id)
15model.eval()daichira/structured-hard-sft-4k