hugging-face-model-trainer
Enables training and fine-tuning of language models on Hugging Face Jobs infrastructure using TRL methods without local GPU setup.
Install this skill
Security score
The hugging-face-model-trainer skill was audited on May 23, 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
| 73 | - 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
| 121 | Monitor: https://huggingface.co/jobs/username/abc123xyz |
External URL reference
| 230 | hf_jobs("uv", {"script": "https://huggingface.co/user/repo/resolve/main/train.py"}) |
External URL reference
| 236 | hf_jobs("uv", {"script": "https://gist.githubusercontent.com/user/id/raw/train.py"}) |
External URL reference
| 243 | # Use: https://huggingface.co/USERNAME/my-training-scripts/resolve/main/train.py |
External URL reference
| 292 | hf jobs uv run --flavor a10g-large --timeout 2h --secrets HF_TOKEN "https://example.com/train.py" |
External URL reference
| 295 | hf jobs run uv "https://example.com/train.py" --flavor a10g-large |
External URL reference
| 298 | hf jobs uv run "https://example.com/train.py" --flavor a10g-large |
External URL reference
| 301 | hf jobs uv run --secret HF_TOKEN "https://example.com/train.py" |
External URL reference
| 316 | "https://huggingface.co/user/repo/resolve/main/train.py" |
External URL reference
| 519 | "script": "https://huggingface.co/datasets/mcp-tools/skills/raw/main/dataset_inspector.py", |
External URL reference
| 541 | "script": "https://huggingface.co/datasets/mcp-tools/skills/raw/main/dataset_inspector.py", |
External URL reference
| 629 | uv run https://huggingface.co/datasets/mcp-tools/skills/raw/main/dataset_inspector.py \ |
External URL reference
| 696 | - [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
| 699 | - [TRL Documentation](https://huggingface.co/docs/trl) |
External URL reference
| 700 | - [TRL Jobs Training Guide](https://huggingface.co/docs/trl/en/jobs_training) |
External URL reference
| 702 | - [HF Jobs Documentation](https://huggingface.co/docs/huggingface_hub/guides/jobs) |
External URL reference
| 705 | - [UV Scripts Organization](https://huggingface.co/uv-scripts) |