qwen3.5-9b-swe-sft
LoRA adapter for software-engineering issue-to-patch tasks, supervised fine-tuned on a self-constructed dataset of public repository issues, commits and patches.
Training
| Item | Value |
|---|---|
| Base model | Qwen/Qwen3.5-9B |
| Base revision | c202236235762e1c871ad0ccb60c8ee5ba337b9a |
| Method | QLoRA (4-bit NF4) |
| LoRA rank / alpha | 32 / 64 |
| Target modules | q,k,v,o,gate,up,down_proj |
| Trainable parameters | 58,195,968 (0.65%) |
| Train samples | 1,969 |
| Steps | 40 |
| Max sequence length | 1,024 |
| Final train loss | 1.337 |
| Eval loss | 0.9368 -> 0.9100 |
| Training time | 325.6 s (single RTX 4090) |
Data excludes every repository, instance id and base commit referenced by the evaluation benchmarks used in this study; contamination check passed.
Usage
from transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel
base = AutoModelForCausalLM.from_pretrained(
"Qwen/Qwen3.5-9B",
revision="c202236235762e1c871ad0ccb60c8ee5ba337b9a",
torch_dtype="bfloat16", device_map="auto",
)
model = PeftModel.from_pretrained(base, "wellkilo/qwen3.5-9b-swe-sft")
tok = AutoTokenizer.from_pretrained("wellkilo/qwen3.5-9b-swe-sft")
License
apache-2.0, following the base model license.