| SFT | Supervised Fine-Tuning: training on examples of desired responses. |
| PEFT | Parameter-Efficient Fine-Tuning: adapting a model with few trainable parameters. |
| LoRA / QLoRA | Low-Rank Adaptation / Quantized LoRA: train low-rank updates / do so on a quantized base. |
| Rank / alpha | Adapter update size / its scaling parameter. |
| NF4 | NormalFloat 4: a 4-bit format used to quantize base weights in QLoRA. |
| Adapter merge | Combines learned adapter updates with base weights for deployment. |
| RL / RLHF | Reinforcement Learning / RL from Human Feedback: learn from rewards / human-derived preferences. |
| Reward model (RM) | Predicts preference or quality to supply a training signal. |
| DPO | Direct Preference Optimization: learns from preferred/rejected pairs without an explicit RL rollout loop. |
| PPO | Proximal Policy Optimization: constrains policy updates during reward optimization. |
| GRPO | Group Relative Policy Optimization: uses group-relative rewards without a separate value critic. |
| GSPO | Group Sequence Policy Optimization: GRPO with a sequence-level importance ratio and clipping, for more stable RL. |
| RLVR | Reinforcement Learning with Verifiable Rewards: trains against checkable outcomes. |
| KL penalty | Kullback-Leibler divergence penalty: discourages a policy from drifting away from a reference distribution. |
| CoT / test-time compute | Chain of Thought / inference work spent reasoning, searching or checking. |
| Distillation | Trains a smaller or cheaper model using a stronger model's outputs. |
| Reward hacking / forgetting | Exploiting the reward without solving the task / losing earlier capabilities. |
| HF Hub | Hugging Face Hub: versioned storage and sharing for models and datasets. |
| Transformers / datasets | Libraries for model/tokenizer loading / dataset processing. |
| TRL | Transformer Reinforcement Learning: Hugging Face's SFT, DPO and GRPO trainers. |
| Chat template | Formats conversation roles and separators into the model's expected token sequence. |
| Loss masking | Excludes selected tokens, such as prompts or padding, from the training objective. |
| Held-out set | Data reserved for validation or testing rather than fitting the model. |
| Overfitting / quality delta | Learning training-specific patterns / measured change from the baseline. |