skillhash

Is huggingface-llm-trainer safe?

Grade A, 96/100. No meaningful risk found.

Train or fine-tune language and vision models using TRL (Transformer Reinforcement Learning) or Unsloth with 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, model selection/leaderboards and model persistence. Use for tasks involving cloud GPU training, GGUF conversion, or when users mention training on Hugging Face Jobs without local GPU setup.

huggingface/skills/skills/huggingface-llm-trainer 11kChecked 3h agoContent last changed 3h ago
A

huggingface-llm-trainer

skills/huggingface-llm-trainer
96/100 · No meaningful risk found6 low

Train or fine-tune language and vision models using TRL (Transformer Reinforcement Learning) or Unsloth with 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, model selection/leaderboards and model persistence. Use for tasks involving cloud GPU training, GGUF conversion, or when users mention training on Hugging Face Jobs without local GPU setup.

Content hash
sha256:a3d33f07e5180e179ee79aed996a0c19c68bdac123fbcb69c34f2685dc48ceae
Files
19
Quality
100/100

Security findings

  • lowRuns with elevated privilegesSL305 · skills/huggingface-llm-trainer/scripts/convert_to_gguf.py:27
    - Ubuntu/Debian: sudo apt-get update && sudo apt-get install -y build-essential cmake

    The skill uses sudo. Fix: Prefer user-level installs. If root is unavoidable, explain why next to the command.

  • lowRuns with elevated privilegesSL305 · skills/huggingface-llm-trainer/scripts/convert_to_gguf.py:28
    - RHEL/CentOS: sudo yum groupinstall -y "Development Tools" && sudo yum install -y cmake

    The skill uses sudo. Fix: Prefer user-level installs. If root is unavoidable, explain why next to the command.

  • lowRuns with elevated privilegesSL305 · skills/huggingface-llm-trainer/scripts/convert_to_gguf.py:57
    print(" Ubuntu/Debian: sudo apt-get install git")

    The skill uses sudo. Fix: Prefer user-level installs. If root is unavoidable, explain why next to the command.

  • lowRuns with elevated privilegesSL305 · skills/huggingface-llm-trainer/scripts/convert_to_gguf.py:58
    print(" RHEL/CentOS: sudo yum install git")

    The skill uses sudo. Fix: Prefer user-level installs. If root is unavoidable, explain why next to the command.

  • lowRuns with elevated privilegesSL305 · skills/huggingface-llm-trainer/scripts/convert_to_gguf.py:68
    print(" Ubuntu/Debian: sudo apt-get install build-essential cmake")

    The skill uses sudo. Fix: Prefer user-level installs. If root is unavoidable, explain why next to the command.

  • lowRuns with elevated privilegesSL305 · skills/huggingface-llm-trainer/scripts/convert_to_gguf.py:69
    print(" RHEL/CentOS: sudo yum groupinstall 'Development Tools' && sudo yum install cmake")

    The skill uses sudo. Fix: Prefer user-level installs. If root is unavoidable, explain why next to the command.

Quality

  • infoSKILL.md is longSL705 · skills/huggingface-llm-trainer/SKILL.md:1
    739 lines

    Long skills spend context on every load. Fix: Keep SKILL.md under 500 lines and move reference material into linked files.

Files in this skill
  • SKILL.md28.1 KB
  • references/gguf_conversion.md9.6 KB
  • references/hardware_guide.md6.6 KB
  • references/hub_saving.md8.3 KB
  • references/local_training_macos.md8.1 KB
  • references/reliability_principles.md10.6 KB
  • references/trackio_guide.md6.3 KB
  • references/training_methods.md4.9 KB
  • references/training_patterns.md6.0 KB
  • references/troubleshooting.md8.7 KB
  • references/unsloth.md7.8 KB
  • scripts/convert_to_gguf.py12.3 KB
  • scripts/dataset_inspector.py15.3 KB
  • scripts/estimate_cost.py4.7 KB
  • scripts/hf_benchmarks.py19.6 KB
  • scripts/train_dpo_example.py3.0 KB
  • scripts/train_grpo_example.py2.3 KB
  • scripts/train_sft_example.py3.3 KB
  • scripts/unsloth_sft_example.py16.5 KB

Questions about huggingface-llm-trainer

Is huggingface-llm-trainer safe to install?
Our scanner gave huggingface-llm-trainer grade A (96/100): no meaningful risk found. It matched 6 rule(s); review them below before installing. Static analysis cannot prove safety, so pin the reviewed revision with a lockfile.
How do I install huggingface-llm-trainer in Claude Code or Codex?
Run skillhash add github:huggingface/skills/skills/huggingface-llm-trainer. It downloads the exact commit, checks the grade against your policy, writes skills.lock and installs it into .claude/skills and .agents/skills.
What happens if huggingface-llm-trainer changes upstream?
Its content hash changes. skillhash verify fails in CI until you review the new version and update the lock. With a watch, you also get an alert.

More from huggingface/skills