hugging-face-model-trainer SKILL.md skillA
hugging-face-model-trainer from tayyabexe/skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add tayyabexe/skills/hugging-face-model-trainer@git:20260130.55b11ffPins git:20260130.55b11ff in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- tayyabexe/skills
- Path
skills/hugging-face-model-trainer/SKILL.md- Versions recorded
- 4
- Latest version
- git:20260130.55b11ff, committed Jan 30, 2026
- First version recorded
- Jan 7, 2026
- Size
- 27,941 bytes
- Repository stars
- 4
- License
- Apache-2.0
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…
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# 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
hf_doc_search("your query", product="trl")
hf_doc_fetch("https://huggingface.co/docs/trl/sft_trainer") # SFT
hf_doc_fetch("https://huggingface.co/docs/trl/dpo_trainer") # DPO
# etc.
```
**See also:** `references/training_methods.md` for method overviews and selection guidance
## When to Use This Skill
Use this skill when users want to:
- Fine-tune language models on cloud GPUs without local infrastructure
- Train with TRL methods (SFT, DPO, GRPO, etc.)
- Run training jobs on Hugging Face Jobs infrastructure
…Read the whole file at its exact version.
How to install
mdr add tayyabexe/skills/hugging-face-model-trainer@sha256:4a0d1a94f8755c96The line at the top of this page pins the label git:20260130.55b11ff, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_hqgqe4bjh3bze4tc)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 4 versions of this file, between Jan 7, 2026 and Jan 30, 2026, about one every 8 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260130.55b11ff latest | 2026-01-30 | 55b11ff | 27,941 B | A | view · diff |
| git:20260130.4084f37 | 2026-01-30 | 4084f37 | 27,933 B | A | view · diff |
| git:20260112.b417fad | 2026-01-12 | b417fad | 27,274 B | A | view · diff |
| git:20260107.a25b8e5 | 2026-01-07 | a25b8e5 | 27,274 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (27941 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
tayyabexe/skills · 4 stars · license Apache-2.0 · pushed 2026-10-14 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_hqgqe4bjh3bze4tc GET https://markdownregistry.com/api/v1/resolve?ref=tayyabexe/skills/hugging-face-model-trainer GET https://markdownregistry.com/api/v1/blob/4a0d1a94f8755c9671f8addb44735d374163ecff839ffe685b8a52adcaca026e
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.