Skip to content

Fine-Tuning Cookbook (Model-by-Model)

User manual for this cookbook: 5-component lesson anatomy (Theory/Math/Lab/Debug/Bench), Stage taxonomy (Spike → Reference → Production → Research), reproducibility contract (bit-exact runs), why the RTX 4090 baseline, GPU budgeting math.

20 modules
177 lessons
~5111 min

How this learning category is structured

Each category is a progressive chain of modules — from foundational concepts to production-grade architectural choices. Following the sequence is faster, but every module is self-contained.

Module shape is consistent: a short text/video lesson (10–15 minutes), a hands-on example (code + data), a 10–15 question assessment, and a real-world use case anchor. This structure forecloses the 'I saw it, I get it' trap — the assessment-after-application tests whether the concept actually moved into working memory.

Each category emphasizes production-grade practice: in prompt engineering, not just prompt templates but prompt versioning and A/B testing; in RAG, not just chunk-and-embed but hybrid retrieval + reranker + evaluation; in LLMOps, not just deployment but observability and cost attribution.

Recommended path: complete foundational modules in order first, then selectively consume advanced modules based on need. If you prefer cohort format, drip-release paces you with peers; in self-paced mode you control the cadence.

  • Each module: 10–15 minute lesson + hands-on example + assessment.
  • Production-oriented; lessons anchor in real vendor/tooling choices.
  • Modules are independently consumable, but the sequence accelerates retention.
  • Pro membership unlocks certificate exam + AI tutor + drip cohort access.

Table of Contents

Part 0 — Engineering Foundations

Part I — Hardware & Memory Engineering

Part II — Tokenizer & Data Engineering

Part III — Small Open Models (1B–8B)

Part IV — Mid-Large Models (13B-70B+) + Distributed Internals

Part V — MoE Internals & Fine-Tuning

Part VI — Vision-Language Multimodal FT

Part VII — Speech & Audio Fine-Tuning

Part VIII — Code Models & Repo-Level FT

Part IX — Turkish-First & Localization Engineering

Part X — Quantization Engineering

Part XI — Alignment & Preference Optimization

Part XII — Reasoning Model FT (R1-style)

Part XIII — Custom Kernels & Performance Surgery

Part XIV — Closed-Source API Fine-Tuning

Part XV — Serving Engineering

Part XVI — Production Operations

Part XVII — Turkey Use-Case Labs

Part XVIII — Compliance, Governance & Red-Teaming

Capstone — Build Your Own LLM

Frequently Asked Questions

  • Modules are designed to be followed in the order shown in the table of contents. The first module lays the groundwork, later ones build on it. You can skip a section, but if a 'Prerequisites' block appears in a side module, complete those lessons first.