Genai Applied
Sign in Get my playbook

Track 06 · LLM Internals

6.3 Fine-Tuning & Quantization

41 topics in 5 parts. Use it as a checklist before an interview, or as a map of what to learn next.

  • CCritical
  • HHigh
  • MMedium
  • NNew 2026

01Fine-Tuning Strategies11 topics

  • Full fine-tuning vs LoRA vs QLoRA — decision treeC
  • LoRA: low-rank ΔW = A×B, rank r, alpha parameterC
  • QLoRA: 4-bit base (NF4) + 16-bit LoRA adaptersC
  • DoRA: magnitude + direction decompositionN
  • GaLore: gradient low-rank projection, full-param on 4090N
  • PiSSA: SVD-based LoRA initializationN
  • PEFT: IA3, Prompt Tuning, Prefix TuningM
  • Instruction tuning: JSONL format, chat templates (Alpaca, ChatML)H
  • Dataset preparation and quality filtering: deduplication, toxicity removal, diversityH
  • LLaMA-Factory: unified UI, 100+ models, web UIN
  • VLM fine-tuning: LLaVA, Qwen-VL on image-text instruction pairsH

02RLHF & Preference Optimization9 topics

  • RLHF: SFT → Reward Model → PPO RL loopH
  • DPO: direct preference, no reward modelH
  • ORPO: SFT + alignment in one pass, 50% less memoryN
  • SimPO: reference-free, length-normalized reward, no SFT cold startN
  • GRPO: group-relative policy optimization, RLVRN
  • Constitutional AI: principle-guided self-critiqueH
  • Reward modeling: Bradley-Terry, comparison datasetsM
  • Catastrophic forgetting + mitigations (LoRA, replay)H
  • Adapter merging: TIES, DARE, mergekitM

03Quantization7 topics

  • INT8 / INT4 quantization — memory formulaC
  • GPTQ: second-order weight optimizationH
  • AWQ: activation-aware, 2026 default INT4H
  • GGUF: CPU-friendly, llama.cpp, OllamaH
  • FP8: H100 native, near-BF16 qualityN
  • Bitsandbytes integration: load_in_4bit, load_in_8bitH
  • Quality vs speed trade-offs at each precisionC

04Distillation & Pruning6 topics

  • Knowledge distillation: teacher → student soft labelsH
  • DistilBERT, DistilGPT2 — practical examplesH
  • Structured pruning: remove heads/layers entirelyM
  • Unstructured pruning: zero out individual weightsM
  • Sparsity techniques and hardware supportM
  • Smaller, faster models: SLMs (phi-3, Gemma 2B)H

05Evaluation & Benchmarks8 topics

  • MMLU: multi-task language understandingH
  • HellaSwag: commonsense reasoningH
  • GSM8K: grade school math problemsH
  • ARC-AGI: abstract reasoning (o3 scored 96.7%)N
  • Custom domain benchmarks: build your ownC
  • Latency & throughput profiling: p50/p95/p99H
  • Human preference evaluation: thumbs up/downH
  • MLflow, W&B: model versioning, A/B testingH

All 53 modules

Practise it

Knowing it is half.
Saying it is the rest.

Run a realistic voice interview with an AI panel in the Interview Room, then read a scored report on every answer.