Skip to content
derpx06.dev
WritingExplainersNotesAbout
works on my machineit's always DNSship itLGTMTODO: sleepoff by oneread the docsgit push --force-with-lease404: sleep not foundhave you tried turning it off and on againrubber duck says: explain itpremature optimisationworks on my machineit's always DNSship itLGTMTODO: sleepoff by oneread the docsgit push --force-with-lease404: sleep not foundhave you tried turning it off and on againrubber duck says: explain itpremature optimisation

Learning in public.

A student's notebook on system design, distributed systems and databases. Shared as I learn.

ReadWritingExplainersNotesAbout
ElsewhereGitHubLinkedInHugging FaceLeetCode
Say hellomanaskhairnar1511@gmail.com
derpx06
NORMALmain© 2026 Derpx06Pune, Indiatop ↑
Learn/Finetuning an LLM/Part 1 · 1. Strategy & Roadmap
Lesson 1 of 3

Finetuning Roadmap: What to Tune and Why

A practical map of the finetuning stack: SFT, instruction tuning, preference alignment, and evaluation strategy.

Derpx062 May · 1 min read
Finetuning an LLM
Finetuning Roadmap: What to Tune and Why
Contents
Why finetune at all?The modern finetuning stackWhen to choose LoRA vs full finetuningSuccess criteria before training
0% read · 1 min leftBack to top ↑
Course outline & contents0%
Finetuning an LLM
Finetuning Roadmap: What to Tune and Why
Contents
Why finetune at all?The modern finetuning stackWhen to choose LoRA vs full finetuningSuccess criteria before training

Why finetune at all?

Base models are broad, but products are specific. Finetuning narrows behavior toward your domain, tone, constraints, and task format.

Use finetuning when you need:

  1. Higher reliability on repeated tasks.
  2. Consistent structure in outputs.
  3. Better performance on domain language (legal, medical, support, codebase-specific).

The modern finetuning stack

Most teams do not jump straight to RL. They move through a staged pipeline:

  1. Supervised Fine-Tuning (SFT): teach desired behavior from examples.
  2. Preference Alignment (DPO or similar): improve quality between good vs better responses.
  3. Safety + regression evaluation: verify gains without breaking core capabilities.
Text
Base Model -> SFT -> Preference Alignment -> Safety + Regression Checks -> Deploy

When to choose LoRA vs full finetuning

  • LoRA: lower GPU memory, faster experiments, easier iteration.
  • Full finetuning: expensive but can unlock bigger shifts for large data and large budgets.

Rule of thumb: start with LoRA, prove value, then decide if full finetuning is worth cost.

Success criteria before training

Define measurable goals first:

  1. Task-level metric: accuracy, pass rate, rubric score.
  2. Format metric: JSON validity, schema adherence.
  3. Safety metric: refusal quality and policy compliance.
  4. Latency and cost budget per request.

Without this, teams often "improve" one benchmark while harming production quality.

Track your progressSign in and your progress follows you across devices.
Sign in to track progress Next lesson
Next lesson →Dataset Design for Finetuning