Install any skill in seconds. Free to start, no credit card required.
Get Started Free →lingxling/hugging-face-model-trainer
Train or fine-tune TRL language models on Hugging Face Jobs, including SFT, DPO, GRPO, and GGUF export.
Passed 16 of 19 test cases with the skill, and 12 of 19 without it.
and 4 more in the full report
5 fixed13 passed either way3 still failing1 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 5 test cases the skill fixed. Same model, same prompt, with and without the skill.
I need to launch a UV training job using the terminal CLI rather than the MCP tool. The script URL is 'https://huggingface.co/user/repo/resolve/main/train.py'. What is the exact CLI command syntax using 'hf jobs' with hardware 'a10g-large', timeout '2h', and token secret? Should I put flags after the script URL?
| Checked | Without skill | With skill |
|---|---|---|
| Formats the CLI command starting with hf jobs uv run. | Missed | Passed |
| Places flags before the script URL positional argument. | Passed | Passed |
| Uses the flag name --secrets in plural form. | Missed | Passed |
The instructions your model reads when the skill loads.
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:
For detailed TRL method documentation:
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
Use this skill when users want to:
Use Unsloth (references/unsloth.md) instead of standard TRL when:
FastVisionModel supporttest cases passed, vs 12 / 19 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.