davila7 avatar

Fine Tuning With Trl

This gives you a Claude Code template for fine-tuning language models using TRL (Transformer Reinforcement Learning), a library focused on post-training alignment methods. It's a quick setup for supervised fine-tuning, DPO, and other alignment techniques without writing boilerplate from scratch. The skill comes from davila7's template collection and pulls in the core dependencies you need: TRL, transformers, datasets, peft, and accelerate. Worth having if you're doing any kind of instruction tuning or RLHF work and want to skip the initial config headache. The security audits show mostly green, though Snyk flagged a warning you should check.

skills.sh installs
375
GitHub stars
33.2K
last updated
Aug 21, 2026

Install

$ npx -y skills add davila7/claude-code-templates --skill fine-tuning-with-trl --agent claude-code

Installs into .claude/skills of the current project.

Files

This gives you a Claude Code template for fine-tuning language models using TRL (Transformer Reinforcement Learning), a library focused on post-training alignment methods. It's a quick setup for supervised fine-tuning, DPO, and other alignment techniques without writing boilerplate from scratch. The skill comes from davila7's template collection and pulls in the core dependencies you need: TRL, transformers, datasets, peft, and accelerate. Worth having if you're doing any kind of instruction tuning or RLHF work and want to skip the initial config headache. The security audits show mostly green, though Snyk flagged a warning you should check.

Browse the repository on GitHub

Sponsors

Details

Repository
github.com/davila7/claude-code-templates
Category
Data Science & ML
First seen
Jun 3, 2026

More from davila7/claude-code-templates

All 618
1levnikolaevich avatarln-220-story-coordinatorlevnikolaevich/claude-code-skillsCreates, replans, or appends 5-10 Stories per Epic with standards research and multi-epic routing. Use when Epic needs Story decomposition.375skills.sh installs
2terminalskills avatarinstagram-marketingterminalskills/skillsCreate, optimize, and automate Instagram content including Reels, Stories, carousels, and feed posts. Use when someone asks to "grow on Instagram", "create Inst375skills.sh installs
3syncfusion avatarsyncfusion-blazor-mapssyncfusion/blazor-ui-components-skillsImplement interactive spatial data visualization with Syncfusion Maps component for Blazor. Use this skill when user needs to display geographic data, add marke374skills.sh installs
4mims-harvard avatartooluniverse-adverse-event-detectionmims-harvard/tooluniverseDetect and analyze adverse drug event signals using FDA FAERS reports, drug labels, and disproportionality statistics (PRR, ROR, IC). Generates quantitative saf371skills.sh installs
5gear-foundation avatarvara-skillsgear-foundation/vara-skillsUse when a builder needs the top-level router for the provisional standard Gear/Vara Sails skill pack across Codex, Claude, or OpenClaw. Covers standard Sails a369skills.sh installs
6levnikolaevich avatarln-650-persistence-performance-auditorlevnikolaevich/claude-code-skillsUse when auditing persistence and runtime performance through the evaluation platform with mandatory research, coordinated data-layer workers, and structured su369skills.sh installs