LoRA + decision head on Qwen3.5-4B: full recipe for a 12-task agent router

MaziyarPanahi · x · 2026-11-07

MaziyarPanahi shares a complete training recipe for a small agent-task router: 1,500 rows from each of 12 agent tasks (18k total), source labels only, capped so no task dominates. LoRA r=16 plus a decision head on Qwen3.5-4B, lr 2e-4, batch 8x4. A time budget stopped training at 0.67 of an epoch, then 400 held-out rows calibrated the confidence. A cheap, reproducible pattern for small-model task routing.

Original post →

More from coding & agent

coding & agent channel →