// TOPIC

#fine-tuning

11 articles

◆◆◆AdvancedAnthropicOpenAI
01

RLHF, Reward Models, and Constitutional AI

How reinforcement learning from human feedback actually works: the reward model, PPO loop, RLAIF, and Constitutional AI — the baseline before DPO shortcuts.

#fine-tuning#post-training#llm-internals
18 min
◆◆◆AdvancedAnthropicOpenAI
02

RAG evaluation, failure modes, and when to use long context or fine-tuning instead

Measure a RAG pipeline with RAGAS, spot the failure modes that kill production quality, and decide between RAG, long context, or fine-tuning.

#rag#evaluation#fine-tuning
18 min
◆◆◆Advanced
03

The data flywheel: closing the LLM feedback loop in production

How to run a data flywheel in production: capture implicit and explicit user signals, curate them into fine-tuning data, and compound model quality every cycle.

#llmops#fine-tuning#observability
17 min
◆◆◆AdvancedDeepSeekHugging Face
04

Reasoning Distillation: Teaching Small Models to Think

How DeepSeek-R1 distillation lets a 7B model out-reason a 32B baseline — the mechanics, the learnability gap, and what breaks in production.

#fine-tuning#post-training#reasoning-models
16 min
◆◆◆AdvancedOpenAIAnthropic
05

How reasoning models are trained: RLVR, GRPO, and the post-training stack

The post-training recipe behind o1 and DeepSeek-R1: how RLVR and GRPO replaced RLHF for reasoning, with real training mechanics and failure modes.

#reasoning-models#post-training#fine-tuning
20 min
◆◆◆AdvancedOpenAIAnthropic
06

Synthetic Data Engineering: Pipelines, Quality, and Model Collapse Risks

How to build production-grade synthetic data pipelines for LLM fine-tuning—Magpie, Evol-Instruct, quality filters—and why model collapse is a real but avoidable failure.

#fine-tuning#post-training#data-engineering
19 min
◆◆IntermediateMetaDeepSeek
07

Preference Optimization: DPO, SimPO, ORPO, and the Post-RLHF Stack

How DPO, SimPO, ORPO, and GRPO replaced the classic RLHF pipeline — what each method removes, when to use which, and the 2025 reasoning-alignment frontier.

#fine-tuning#post-training#llm-internals
17 min
◆◆IntermediateHugging FaceMeta
08

LoRA, QLoRA, and the PEFT Landscape

How low-rank adapters let you fine-tune a 70B model on a single GPU, with the rank, alpha, and target-module settings that actually matter in production.

#fine-tuning#post-training#quantization
14 min
BeginnerMetaHugging Face
09

SFT and Instruction Tuning: Data Is the Job

Supervised fine-tuning fundamentals with an honest look at why 1,000 curated examples reliably beat 100,000 scraped ones, and the training recipes that actually work.

#fine-tuning#post-training#data-engineering
17 min
Beginner
10

The Decision Ladder: Fine-Tuning vs RAG vs Prompting

A concrete decision framework for when prompting, RAG, or fine-tuning pays off — grounded in real cost, latency, and data trade-offs, not vendor marketing.

#fine-tuning#rag#prompting
12 min
◆◆Intermediate
11

Fine-Tuning: The Decision Framework

When to fine-tune, when to stay with RAG or prompting, and how LoRA, DPO, and distillation actually work — with the cost math to make the call.

#fine-tuning#post-training#llm-internals
16 min