Fine-tuning
Post-training in plain words: SFT and RL, GRPO, LoRA and QLoRA, RL environments, and what a run costs.
RL environments for LLM agents: what they are and how to build one
An RL environment is the program an LLM agent acts in during closed-loop training, updating state as the agent acts so the model learns from its own choices. Pairing well-calibrated tasks with a reward model and containerized packaging such as Harbor turns agent rollouts into training signal that transfers to production.
12 minReward hacking in agent training, and how verifiable rewards help
Reward hacking lets an RL agent earn high scores by exploiting its reward model or environment without solving the task. Verifiable rewards replace learned neural reward models with programmatic outcome checks, yet coding and tool-use agents still game weak tests, empty states, and unisolated graders.
10 minGRPO explained: how it compares with PPO and DPO
GRPO trains a language model by sampling a group of answers per prompt and updating the policy toward trajectories with higher group-relative advantage. Without PPO's learned critic, it pairs well with sparse outcome verifiers and powers modern variants like DAPO and runs on frameworks such as Miles.
8 minSFT vs RL: when to use each for LLM post-training
Supervised fine-tuning learns from examples, and reinforcement learning learns from scored attempts. What each method needs, a readiness check for GRPO with a pass-or-fail reward, a table of which to start with, and 2 worked examples from our public studies.
13 minRAG vs fine-tuning: a decision table
When to use retrieval, when to fine-tune and when to use both: 10 situations with the pick for each, what each one costs, and the eval that shows which failure you have before you spend on either.
8 min