hugging-face-model-trainer
Enables training and fine-tuning of language models on Hugging Face Jobs using TRL methods, optimizing for cloud GPU resources.
Install this skill
Security score
The hugging-face-model-trainer skill was audited on Mar 14, 2026 and we found 22 security issues across 2 threat categories. Review the findings below before installing.
Categories Tested
Security Issues
Fetch to external URL
| 22 | hf_doc_fetch("https://huggingface.co/docs/trl/sft_trainer") # SFT |
Fetch to external URL
| 23 | hf_doc_fetch("https://huggingface.co/docs/trl/dpo_trainer") # DPO |
External URL reference
| 22 | hf_doc_fetch("https://huggingface.co/docs/trl/sft_trainer") # SFT |
External URL reference
| 23 | hf_doc_fetch("https://huggingface.co/docs/trl/dpo_trainer") # DPO |
External URL reference
| 74 | - Hugging Face Account with [Pro](https://hf.co/pro), [Team](https://hf.co/enterprise), or [Enterprise](https://hf.co/enterprise) plan (Jobs require paid plan) |
External URL reference
| 122 | Monitor: https://huggingface.co/jobs/username/abc123xyz |
External URL reference
| 231 | hf_jobs("uv", {"script": "https://huggingface.co/user/repo/resolve/main/train.py"}) |
External URL reference
| 237 | hf_jobs("uv", {"script": "https://gist.githubusercontent.com/user/id/raw/train.py"}) |
External URL reference
| 244 | # Use: https://huggingface.co/USERNAME/my-training-scripts/resolve/main/train.py |
External URL reference
| 293 | hf jobs uv run --flavor a10g-large --timeout 2h --secrets HF_TOKEN "https://example.com/train.py" |
External URL reference
| 296 | hf jobs run uv "https://example.com/train.py" --flavor a10g-large |
External URL reference
| 299 | hf jobs uv run "https://example.com/train.py" --flavor a10g-large |
External URL reference
| 302 | hf jobs uv run --secret HF_TOKEN "https://example.com/train.py" |
External URL reference
| 317 | "https://huggingface.co/user/repo/resolve/main/train.py" |
External URL reference
| 517 | "script": "https://huggingface.co/datasets/mcp-tools/skills/raw/main/dataset_inspector.py", |
External URL reference
| 539 | "script": "https://huggingface.co/datasets/mcp-tools/skills/raw/main/dataset_inspector.py", |
External URL reference
| 627 | uv run https://huggingface.co/datasets/mcp-tools/skills/raw/main/dataset_inspector.py \ |
External URL reference
| 695 | - [Dataset Inspector](https://huggingface.co/datasets/mcp-tools/skills/raw/main/dataset_inspector.py) - Validate dataset format before training (use via `uv run` or `hf_jobs`) |
External URL reference
| 698 | - [TRL Documentation](https://huggingface.co/docs/trl) |
External URL reference
| 699 | - [TRL Jobs Training Guide](https://huggingface.co/docs/trl/en/jobs_training) |
External URL reference
| 701 | - [HF Jobs Documentation](https://huggingface.co/docs/huggingface_hub/guides/jobs) |
External URL reference
| 704 | - [UV Scripts Organization](https://huggingface.co/uv-scripts) |
Install this skill with one command
/learn @huggingface/hugging-face-model-trainer