Index of every page on this site: llms.txt
All skills
nvidia avatar

/tao-finetune-huggingface-model

@f41ce99
by NVIDIA Corporationnvidia/skills4.1k stars
550
Run it yourself

Fine-tune any HuggingFace CV / VLM / LLM model on local NVIDIA GPUs inside an NGC PyTorch container when no dedicated TAO model skill matches. Use when the user wants to fine-tune a HuggingFace model (full or LoRA), train a vision / VLM / LLM model end-to-end, generate a reproducible HF training pipeline, smoke-test a HuggingFace model locally before scale-up, push a fine-tuned model to the HF Hub with a model card, or emit a self-contained rerun skill for an existing HuggingFace finetune. Supports image classification, object detection, semantic / instance / panoptic segmentation, depth estimation, image-text-to-text VLM (SFT / LoRA), and LLM SFT / DPO / GRPO. Six-step workflow: inspect and qualify, hardware and NGC image, research, generate and smoke, train + eval + infer, push and emit rerun skill. Do not use for any Hugging Face model ID claimed by a dedicated `skills/models/*` skill; the model skill and its declared execution environment take precedence.

Use this Skill: https://skilld.dev/gh/nvidia/skills/tao-finetune-huggingface-model

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

skill-card.md

≈1.2k tokens on demand. Your agent reads this file only when SKILL.md points to it.

Description: <br>

Fine-tune any HuggingFace CV / VLM / LLM model on local NVIDIA GPUs inside an NGC PyTorch container when no dedicated TAO model skill matches. <br>

This skill is ready for commercial/non-commercial use. <br>

Owner

NVIDIA <br>

License/Terms of Use: <br>

Apache 2.0 <br>

Use Case: <br>

Developers and engineers who need to fine-tune HuggingFace computer-vision, vision-language, or large-language models (full or LoRA) on local NVIDIA GPUs using NGC PyTorch containers when no dedicated TAO model skill covers the target model. The skill researches the recipe, generates and smoke-tests a reproducible training project, trains, evaluates, runs inference, optionally pushes to the HF Hub, and emits a rerun skill. <br>

Deployment Geography for Use: <br>

Global <br>

Requirements / Dependencies: <br>

Requires API Key or External Credential: [Optional] <br> Credential Type(s): [API key] <br>

Do not include secrets in prompts/logs/output; use least-privilege credentials; rotate keys as appropriate. <br>

Known Risks and Mitigations: <br>

Risk: Review before execution as proposals could introduce incorrect or misleading guidance into skills. <br> Mitigation: Review and scan skill before deployment. <br>

Reference(s): <br>

Skill Output: <br>

Output Type(s): [Shell commands, Configuration instructions, Code, Files] <br> Output Format: [Markdown with inline bash code blocks] <br> Output Parameters: [1D] <br> Other Properties Related to Output: [None] <br>

Evaluation Agents Used: <br>

  • Claude Code (aws/anthropic/bedrock-claude-opus-4-8) <br>
  • Codex (openai/openai/gpt-5.5) <br>

Evaluation Tasks: <br>

4 evaluation tasks (4 positive), 1 attempt per task, each attempt in an isolated sandbox pod. <br>

Evaluation Metrics Used: <br>

Reported benchmark dimensions: <br>

  • Security: Checks for unsafe operations, secret leakage, and unauthorized access. <br>
  • Correctness: Checks final-answer correctness against the reference answer. <br>
  • Discoverability: Checks whether the right skill was loaded when needed. <br>
  • Effectiveness: Checks goal completion and expected workflow adherence. <br>
  • Efficiency: Checks tool-call productivity and token usage. <br>

Underlying evaluation signals used in this run: <br>

  • security: Unsafe operations, secret leakage, and unauthorized access. <br>
  • skill_execution: Whether the expected skill was selected, decoys were avoided, and the workflow executed. <br>
  • skill_efficiency: Tool-call productivity (routing is scored under Discoverability). <br>
  • accuracy: Final-answer correctness against the reference answer. <br>
  • goal_accuracy: Whether the user's goal was achieved. <br>
  • behavior_check: Whether the expected workflow behavior was followed. <br>

Evaluation Results: <br>

Measure Claude Code (Baseline → Skill Uplift) Codex (Baseline → Skill Uplift)
Overall 82.5% 57.6%
Security 100.0% → 100.0% (±0.0 points) 100.0% → 100.0% (±0.0 points)
Correctness 30.0% → 100.0% (+70.0 points) 35.0% → 70.0% (+35.0 points)
Discoverability 57.5% 0.0%
Effectiveness 23.5% → 87.9% (+64.4 points) 35.0% → 60.4% (+25.4 points)
Efficiency 67.0% Not available

Skill Version(s): <br>

0.1.0 (source: frontmatter) <br>

Ethical Considerations: <br>

NVIDIA believes Trustworthy AI is a shared responsibility and we have established policies and practices to enable development for a wide array of AI applications. When downloaded or used in accordance with our terms of service, developers should work with their internal team to ensure this skill meets requirements for the relevant industry and use case and addresses unforeseen product misuse. <br>

(For Release on NVIDIA Platforms Only) <br> Please report quality, risk, security vulnerabilities or NVIDIA AI Concerns here. <br>

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts1mo3 checks · Risk SAFE
  • Gen Agent Trust Hub1mo

    The skill is safe and follows established machine learning development practices. It provides a robust workflow for fine-tuning models on NVIDIA GPUs using official NGC containers and authenticated access to well-known services like Hugging Face and Weights & Biases. Credentials are appropriately managed via environment variables, and external resources are sourced from trusted vendors.

  • Socket1mo

    No alerts

  • Snyk1mo

    Risk: LOW · No issues

Signed by skilld at f41ce99. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 3 days ago.

Activeupdated 2 months ago
metadata
{
  "author": "NVIDIA Corporation",
  "version": "0.1.0"
}
All 1 allowed tools
Read Bash Write
Other metadata
tags
[
  "finetuning",
  "huggingface",
  "nvidia-tao",
  "computer-vision",
  "training"
]
compatibility
Requires docker + nvidia-container-toolkit, NVIDIA GPU (driver ≥ 545, ≥ 24 GB VRAM for ≤3B models), ~40 GB free disk. Optional credentials (read from the session environment) — HF_TOKEN is read only when the model/dataset is gated or `push_to_hub` is on; WANDB_API_KEY and WANDB_PROJECT only when WandB logging is enabled.

README badge

README badge for nvidia/skills/tao-finetune-huggingface-model