Spectral Surgery β Instruction Following
Collection
Instruction-following LoRA and Spectral Surgery adapters evaluated on IFEval. β’ 12 items β’ Updated
How to use tianzl66/Qwen3-8B-InstructionFollowing-LoRA with PEFT:
from peft import PeftModel
from transformers import AutoModelForCausalLM
base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3-8B")
model = PeftModel.from_pretrained(base_model, "tianzl66/Qwen3-8B-InstructionFollowing-LoRA")This repository contains the all-linear instruction-following LoRA checkpoint of Qwen3-8B.
Qwen/Qwen3-8B
enable_thinking=False)Evaluation on IFEval (541 prompts, 834 instructions).
| Model | Prompt Strict | Prompt Loose | Instruction Strict | Instruction Loose |
|---|---|---|---|---|
| Base | 75.23% | 81.70% | 82.97% | 87.53% |
| LoRA SFT | 74.31% | 78.37% | 81.41% | 85.13% |
| Spectral Surgery HNS 4+1 | 75.79% | 80.78% | 83.21% | 86.69% |
| Spectral Surgery HNS 8+2 | 75.60% | 80.78% | 83.09% | 86.57% |
Settings: Qwen3 non-thinking chat template (enable_thinking=False), greedy decoding, max_new_tokens=2048, vLLM backend, FLASH_ATTENTION, max model length 4096, seed 42.
adapter_model.safetensors: PEFT LoRA weightsadapter_config.json: PEFT configurationeval-ifeval/metrics.json: aggregate IFEval metricseval-ifeval/outputs.jsonl: per-prompt generations and instruction resultsrun_config.json / run_args.json: training configuration