Fine-tune LLMs using reinforcement learning with TRL - SFT for instruction tuning, DPO for preference alignment, PPO/GRPO for reward optimization, and reward model training. Use when need RLHF, align model with preferences, or train from human feedback. Works with HuggingFace Transformers.
$npx -y skills add firecrawl/ai-research-skills --skill trl-fine-tuningInstalls into the current project.
Run `npx skills use "https://github.com/firecrawl/ai-research-skills" --skill "firecrawl/ai-research-skills/trl-fine-tuning"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/firecrawl/ai-research-skills" that are relevant to the current task. Run `npx skills add "https://github.com/firecrawl/ai-research-skills"` and select the relevant skills, then follow their instructions.