Trl Fine Tuning

Post-trains LLMs with Hugging Face TRL trainers: SFT, DPO, reward modeling, PPO, GRPO, and RLHF pipelines on CUDA. Use when instruction-tuning, preference-aligning, or running online RL with a reward function. Not for HuggingFace Trainer-only SFT without preferences, Unsloth/Axolotl YAML stacks, or CPU-only training; never skip LoRA/QLoRA on 7B-class models without checking VRAM.

Kayforkind 52fed67 7 files · 49.8 KB Updated

File contents

Kayforkind/skill-slice commit 52fed67418

Frequently asked questions

npx skillmds@latest add kayforkind/trl-fine-tuning