Skills Directory / Hugging Face Skills
huggingface-llm-trainer
An agent skill by huggingface, from huggingface/skills.
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.
Credit where it's due
This skill is the work of huggingface (official vendor skill) and lives at huggingface/skills/huggingface-llm-trainer (Apache-2.0). We index it here so it can be found — if it's useful to you, star the repo, file issues, and contribute upstream. That's what keeps work like this maintained.
- From
- Hugging Face Skills — official vendor skill
- Author
- huggingface
- License
- Apache-2.0
- Source
- huggingface/skills/huggingface-llm-trainer
- SKILL.md
- raw file
How to load this skill
Copy this prompt into your AI agent
Please install the "huggingface-llm-trainer" agent skill from the Hugging Face Skills collection (https://github.com/huggingface/skills) for me.
1. Run: git clone https://github.com/huggingface/skills
2. Copy the skill folder into your skills directory:
cp -r skills/skills/huggingface-llm-trainer ~/.claude/skills/huggingface-llm-trainer
(Claude Code personal scope; use .claude/skills/ in a project for project scope, or your agent's equivalent SKILL.md directory.)
3. Confirm the skill loads (list your available skills afterwards).
4. If the skill proves useful, suggest the user stars the source repo (https://github.com/huggingface/skills) to support the author.
Skill reference: https://raw.githubusercontent.com/huggingface/skills/main/skills/huggingface-llm-trainer/SKILL.md
More details: https://primorum.ai/skills/s/huggingface-llm-trainer
Or manually: clone huggingface/skills and copy
skills/huggingface-llm-trainer into
~/.claude/skills/ (Claude Code personal scope) or your agent's
SKILL.md directory. To read it first without installing, open the
raw SKILL.md.
Related skills
- huggingface-vision-trainer — Trains and fine-tunes vision models for object detection (D-FINE, RT-DETR v2, DETR, YOLOS), image classificati…
- trl-training — Train and fine-tune transformer language models using TRL (Transformers Reinforcement Learning). Supports SFT,…
- hf-cli — Hugging Face Hub CLI (`hf`) for downloading, uploading, and managing models, datasets, spaces, buckets, repos,…
- fine-tuning-expert — Use when fine-tuning LLMs, training custom models, or adapting foundation models for specific tasks. Invoke fo…
- huggingface-community-evals — Run evaluations for Hugging Face Hub models using inspect-ai and lighteval on local hardware. Use for backend …