hugging-face-model-trainer
Facilitates training and fine-tuning of language models on Hugging Face infrastructure using TRL methods without local GPU setup.
Install this skill
Security score
The hugging-face-model-trainer skill was audited on Jun 9, 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
| 63 | - 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
| 111 | Monitor: https://huggingface.co/jobs/username/abc123xyz |
External URL reference
| 220 | hf_jobs("uv", {"script": "https://huggingface.co/user/repo/resolve/main/train.py"}) |
External URL reference
| 226 | hf_jobs("uv", {"script": "https://gist.githubusercontent.com/user/id/raw/train.py"}) |
External URL reference
| 233 | # Use: https://huggingface.co/USERNAME/my-training-scripts/resolve/main/train.py |
External URL reference
| 282 | hf jobs uv run --flavor a10g-large --timeout 2h --secrets HF_TOKEN "https://example.com/train.py" |
External URL reference
| 285 | hf jobs run uv "https://example.com/train.py" --flavor a10g-large |
External URL reference
| 288 | hf jobs uv run "https://example.com/train.py" --flavor a10g-large |
External URL reference
| 291 | hf jobs uv run --secret HF_TOKEN "https://example.com/train.py" |
External URL reference
| 306 | "https://huggingface.co/user/repo/resolve/main/train.py" |
External URL reference
| 509 | "script": "https://huggingface.co/datasets/mcp-tools/skills/raw/main/dataset_inspector.py", |
External URL reference
| 531 | "script": "https://huggingface.co/datasets/mcp-tools/skills/raw/main/dataset_inspector.py", |
External URL reference
| 619 | uv run https://huggingface.co/datasets/mcp-tools/skills/raw/main/dataset_inspector.py \ |
External URL reference
| 684 | - [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
| 687 | - [TRL Documentation](https://huggingface.co/docs/trl) |
External URL reference
| 688 | - [TRL Jobs Training Guide](https://huggingface.co/docs/trl/en/jobs_training) |
External URL reference
| 690 | - [HF Jobs Documentation](https://huggingface.co/docs/huggingface_hub/guides/jobs) |
External URL reference
| 693 | - [UV Scripts Organization](https://huggingface.co/uv-scripts) |