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.

BENCHMARK.md

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

Skill Benchmark: tao-finetune-huggingface-model

✅ Overall verdict: PASS — Recommended for publication

Publication Recommendation

Recommended for publication based on the completed evaluation evidence in this report.

Evaluation Metadata

  • Skill: tao-finetune-huggingface-model
  • Evaluation date: 2026-10-16
  • Evaluator version: 1.5.6
  • Agents: Claude Code (aws/anthropic/bedrock-claude-opus-4-8), Codex (openai/openai/gpt-5.5)
  • Tasks: 4 evaluation tasks (4 positive)
  • Dataset digest: sha256:1dfae0e82b4644c26c4137c7a97c06489a0136400c4aa9454daa97f9d614dacb (skill-evaluator-dataset-snapshot/1)
  • Attempts per task: 1
  • Environment: k8s-sandbox
  • Tier 2 evidence: required for publication
  • Tier 3 evidence: required for publication

Each task attempt ran in its own isolated sandbox pod.

What This Report Answers

The three-tier evaluation checks whether the skill:

  • is safe to use;
  • produces correct answers;
  • is discovered and activated when needed;
  • helps the agent complete the user's goal and expected workflow; and
  • avoids wasted skill and tool usage.

Results at a Glance

Measure Claude Code (Baseline → Skill Uplift) Codex (Baseline → Skill Uplift)
Overall 82.5% — baseline ran, but no comparable score was available; uplift unavailable 57.6% — baseline ran, but no comparable score was available; uplift unavailable
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% — baseline ran, but no comparable score was available; uplift unavailable 0.0% — baseline ran, but no comparable score was available; uplift unavailable
Effectiveness 23.5% → 87.9% (+64.4 points) 35.0% → 60.4% (+25.4 points)
Efficiency 67.0% — baseline ran, but no comparable score was available; uplift unavailable Not available

How to read this table: baseline is the same task attempted without the target skill. Scores are rounded to one decimal; threshold-adjacent values use additional precision so their displayed band matches the verdict. Uplift is derived from those displayed scores and shown in percentage points.

Example: 47.0% → 92.0% (+45.0 points) means the skill-assisted run scored 92.0%, 45.0 percentage points above its 47.0% no-skill baseline.

A partial dimension was calculated from only the available configured signals; review the detailed report before relying on it.

Token Usage

Actual Tier 3 execution usage is reported for every observed agent/case pair and both conditions.

Agent Dataset case With skill Without skill Delta Change Coverage
claude-code All cases 1,093,127 560,922 N/A N/A skill 3/4; base 3/4
claude-code tao-finetune-huggingface-model-basic 71,525 310,575 -239,050 -76.97% skill 1/1; base 1/1
claude-code tao-finetune-huggingface-model-dedicated-routing 991,593 N/A N/A N/A skill 1/1; base 0/1
claude-code tao-finetune-huggingface-model-dedicated-routing-non-cosmos N/A 63,711 N/A N/A skill 0/1; base 1/1
claude-code tao-finetune-huggingface-model-unclaimed-routing 30,009 186,636 -156,627 -83.92% skill 1/1; base 1/1
codex All cases 56,036 54,623 N/A N/A skill 3/4; base 3/4
codex tao-finetune-huggingface-model-basic 14,281 13,554 +727 +5.36% skill 1/1; base 1/1
codex tao-finetune-huggingface-model-dedicated-routing N/A 27,449 N/A N/A skill 0/1; base 1/1
codex tao-finetune-huggingface-model-dedicated-routing-non-cosmos 27,952 N/A N/A N/A skill 1/1; base 0/1
codex tao-finetune-huggingface-model-unclaimed-routing 13,803 13,620 +183 +1.34% skill 1/1; base 1/1
ALL AGENTS Dataset aggregate 1,149,163 615,545 N/A N/A skill 6/8; base 6/8

Prompt tokens include cached reads, so total tokens are prompt + completion (cached is not added twice). The Efficiency score uses (prompt - cached) + completion. N/A means the relevant trajectory counters were not available; coverage is never estimated.

Tier Status

Tier Purpose Status Evidence
Tier 1 Static validation PASSED WITH OBSERVATIONS 11 validator(s); 63 finding(s)
Tier 2 Semantic deduplication PASSED WITH OBSERVATIONS 2 validator(s); 1 finding(s)
Tier 3 Live agent evaluation PASS 2 agent(s); 4 task(s)

Findings and Observations

<details> <summary>Show detailed findings and successful checks</summary>
  • CRITICAL CONTENT_DEDUP/chunk_count_limit: Tier 2 produced more than 512 content chunks. (references/workflow-intake-preflight.md)
  • MEDIUM QUALITY/quality_correctness: SKILL_SPEC recommended field missing: 'metadata.tags' (skills/applications/tao-finetune-huggingface-model/SKILL.md)
  • MEDIUM QUALITY/quality_efficiency: Deeply nested references in docker-runs.md (skills/applications/tao-finetune-huggingface-model/SKILL.md)
  • MEDIUM SCHEMA/frontmatter_field_placement: Root field 'tags' is ignored; use 'metadata.tags' (skills/applications/tao-finetune-huggingface-model/SKILL.md)
  • MEDIUM SCHEMA/folder_hierarchy: Unexpected nesting depth for general skill (skills/applications/tao-finetune-huggingface-model)
  • 59 additional finding(s) are available in the full evaluation artifacts.
</details>

Scoring Methodology

<details> <summary>Show dimension definitions, source signals, and thresholds</summary>
Dimension Question Scored signals
Security Is it safe to use? security (100%)
Correctness Is the answer correct? accuracy (100%)
Discoverability Was the right skill loaded when needed? skill_execution (100%)
Effectiveness Did the skill help complete the task? goal_accuracy (50%) + behavior_check (50%)
Efficiency Did it avoid wasted tool calls and token usage? skill_efficiency (50%) + token_efficiency (50%)
  • Dimension bands: PASS at 50% or above; NEUTRAL from 40% to below 50%; FAIL below 40%.
  • Overall Tier 3 lift: PASS at +5 points or more; FAIL at -10 points or less; values between those bands are NEUTRAL.
  • Overall verdict: PASS only when every configured dimension passes for at least one supported agent. Lift is reported as diagnostic evidence and does not override this gate.
  • The 50% attempt pass threshold is a separate per-task gate; it is not the dimension pass threshold.
  • Effectiveness is the equal-weight mean of goal completion (goal_accuracy) and expected workflow adherence (behavior_check).
  • Efficiency is 50% tool-call productivity (the backward-compatible skill_efficiency wire id) and 50% token_efficiency. Positive-case skill routing is scored under Discoverability, not Efficiency; a negative case without a routing target is N/A. N/A sources are omitted, remaining weights are renormalized, and the dimension is marked partial.

Signals present in this run:

  • security (Security): unsafe operations, secret leakage, and unauthorized access.
  • skill_execution (Skill Execution): whether the expected skill was selected, decoys were avoided, and the workflow executed.
  • skill_efficiency (Tool Productivity): tool-call productivity (legacy wire id; routing is scored under Discoverability).
  • accuracy (Accuracy): final-answer correctness against the reference answer.
  • goal_accuracy (Goal Accuracy): whether the user's goal was achieved.
  • behavior_check (Behavior Check): whether the expected workflow behavior was followed.
</details>

Freshness

Regenerate this benchmark when the skill, evaluation dataset, target agent/model, evaluator version, environment, or scoring policy changes.

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