Individual skill
hugging-face-model-trainer
This skill should be used when users want to train or fine-tune language models using TRL (Transformer Reinforcement Learning) on Hugging Face Jobs infrastructure. Covers SFT, DPO, GRPO and reward modeling training methods, plus GGUF conversion for local deployment. Includes guidance on the TRL Jobs package, UV scripts with PEP 723 format, dataset preparation and validation, hardware selection, cost estimation, Trackio monitoring, Hub authentication, and model persistence. Should be invoked for tasks involving cloud GPU training, GGUF conversion, or when users mention training on Hugging Face Jobs without local GPU setup.
model-trainer/SKILL.md
Source commit c68b078bdf270d81272face3b8bebcd707bb3ecc
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- No
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Not checked yet
- Last checked
- Nov 11, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 11
- Repository last updated
- Feb 15, 2026
- License
- MIT
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- agent-skill Repository topic
- agent-skills Repository topic
- claude Repository topic
- codex Repository topic
- skills Repository topic
- devops Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 27,941 bytesSKILL.mdcore · 27,941 bytesSKILL.mdcore · 27,941 bytesSKILL.mdcore · 27,941 bytesSKILL.mdcore · 27,941 bytesSKILL.mdcore · 27,941 bytesSKILL.mdcore · 27,941 bytesSKILL.mdcore · 27,941 bytesSKILL.mdcore · 27,941 bytesSKILL.mdcore · 27,941 bytesSKILL.mdcore · 27,941 bytesSKILL.mdcore · 27,941 bytesSKILL.mdcore · 27,941 bytesSKILL.mdcore · 27,941 bytesSKILL.mdcore · 27,941 bytesSKILL.mdcore · 27,941 bytesSKILL.mdcore · 27,941 bytesSKILL.mdcore · 27,941 bytesSKILL.mdcore · 27,941 bytesSKILL.mdcore · 27,941 bytesSKILL.mdcore · 27,941 bytesSKILL.mdcore · 27,941 bytesSKILL.mdcore · 27,941 bytesSKILL.mdcore · 27,941 bytesreferences/gguf_conversion.mddoc · 9,867 bytesreferences/hardware_guide.mddoc · 6,778 bytesreferences/hub_saving.mddoc · 8,517 bytesreferences/reliability_principles.mddoc · 10,867 bytesreferences/trackio_guide.mddoc · 5,796 bytesreferences/training_methods.mddoc · 5,011 bytesreferences/training_patterns.mddoc · 6,127 bytesreferences/troubleshooting.mddoc · 8,858 bytesreferences/unsloth.mddoc · 8,005 bytesscripts/convert_to_gguf.pyruns · 12,637 bytesscripts/dataset_inspector.pyruns · 15,683 bytesscripts/estimate_cost.pyruns · 4,854 bytesscripts/train_dpo_example.pyruns · 3,118 bytesscripts/train_grpo_example.pyruns · 2,384 bytesscripts/train_sft_example.pyruns · 3,343 bytesscripts/unsloth_sft_example.pyruns · 16,854 bytes
Read excerpt
# TRL Training on Hugging Face Jobs
## Overview
Train language models using TRL (Transformer Reinforcement Learning) on fully managed Hugging Face infrastructure. No local GPU setup required—models train on cloud GPUs and results are automatically saved to the Hugging Face Hub.
**TRL provides multiple training methods:**
- **SFT** (Supervised Fine-Tuning) - Standard instruction tuning
- **DPO** (Direct Preference Optimization) - Alignment from preference data
- **GRPO** (Group Relative Policy Optimization) - Online RL training
- **Reward Modeling** - Train reward models for RLHF
**For detailed TRL method documentation:**
```python