Individual skill
huggingface-llm-trainer
Train or fine-tune language and vision models using TRL (Transformer Reinforcement Learning) or Unsloth with 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, model selection/leaderboards and model persistence. Use for tasks involving cloud GPU training, GGUF conversion, or when users mention training on Hugging Face Jobs without local GPU setup.
skills/huggingface-llm-trainer/SKILL.md
Source commit 25910b3d0ba31a2ba102f901cdc9e008c278a69c
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- Yes
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Network or broad shell
- Last checked
- Nov 9, 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,336
- Repository last updated
- Oct 30, 2026
- License
- Apache-2.0
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
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 · 28,780 bytesSKILL.mdcore · 28,780 bytesSKILL.mdcore · 28,780 bytesSKILL.mdcore · 28,780 bytesSKILL.mdcore · 28,780 bytesSKILL.mdcore · 28,780 bytesSKILL.mdcore · 28,780 bytesSKILL.mdcore · 28,780 bytesSKILL.mdcore · 28,780 bytesSKILL.mdcore · 28,780 bytesSKILL.mdcore · 28,780 bytesSKILL.mdcore · 28,780 bytesSKILL.mdcore · 28,780 bytesSKILL.mdcore · 28,780 bytesSKILL.mdcore · 28,780 bytesSKILL.mdcore · 28,780 bytesSKILL.mdcore · 28,780 bytesSKILL.mdcore · 28,780 bytesSKILL.mdcore · 28,780 bytesSKILL.mdcore · 28,780 bytesSKILL.mdcore · 28,780 bytesSKILL.mdcore · 28,780 bytesSKILL.mdcore · 28,780 bytesSKILL.mdcore · 28,780 bytesSKILL.mdcore · 28,780 bytesSKILL.mdcore · 28,780 bytesreferences/gguf_conversion.mddoc · 9,854 bytesreferences/hardware_guide.mddoc · 6,778 bytesreferences/hub_saving.mddoc · 8,501 bytesreferences/local_training_macos.mddoc · 8,324 bytesreferences/reliability_principles.mddoc · 10,867 bytesreferences/trackio_guide.mddoc · 6,400 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,612 bytesscripts/dataset_inspector.pyruns · 15,683 bytesscripts/estimate_cost.pyruns · 4,854 bytesscripts/hf_benchmarks.pyruns · 20,086 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