Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Configures LoRA and QLoRA supervised fine-tuning adapters, covering target modules, rank, alpha, learning rate, and QLoRA tradeoffs.
39% 91%+52 ptsof test cases passed
Passed 21 of 23 test cases with the skill, and 9 of 23 without it.
3 of 3 safety checks passed
Not used yet
This skill assumes the routing decision already
happened — finetuning-method-selection should
have already pointed here because the data shape
is demonstrations (SFT), not preference pairs or
a verifiable reward signal. What follows is the
current best-practice recipe for configuring the
adapter itself: which modules to target, how to
size rank and alpha, what learning rate to use,
and when QLoRA buys real headroom versus when it
just adds risk. Dataset preparation and quality
checks are a separate concern — see
dataset-curation.
Input: a routing decision (SFT via LoRA/
QLoRA) plus a target size class.
Output format: a validated adapter config —
the kwarg values below, not free-form advice —
that llm-finetuning-training-engineer consumes
directly when it generates a runnable script.
The reference recipe is "LoRA Without Regret" (Thinking Machines/Schulman, 2025-09), now the settled convention for LoRA/QLoRA SFT.
Target all-linear modules, not just attention:
target_modules = [
"q_proj", "k_proj", "v_proj", "o_proj", # attention
"gate_proj", "up_proj", "down_proj", # MLP — matters most
]
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.