[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M78ANJVN3EV5ZNXWEED608WN":3,"skill-same:01M78ANJVN3EV5ZNXWEED608WN":181},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":36,"commitSha":37,"skillDirectory":38,"forksCount":14,"repositoryHtmlUrl":39,"repositoryHomepageUrl":40,"ownerHtmlUrl":41,"ownerBlogUrl":42,"ownerDescription":43,"updatedAt":44,"install":45,"resources":58},"01M78ANJVN3EV5ZNXWEED608WN","tao-finetune-huggingface-model",null,"Fine-tune any HuggingFace CV \u002F VLM \u002F LLM model on local NVIDIA GPUs inside an NGC PyTorch container. Use when the user wants to fine-tune a HuggingFace model (full or LoRA), train a vision \u002F VLM \u002F 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 \u002F instance \u002F panoptic segmentation, depth estimation, image-text-to-text VLM (SFT \u002F LoRA), and LLM SFT \u002F DPO \u002F GRPO. Six-step workflow: inspect and qualify, hardware and NGC image, research, generate and smoke, train + eval + infer, push and emit rerun skill.","Solizardking\u002Fskillhub-main","Solizardking","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F108096810?v=4","01M786KDB10AYV042N0F9BD5B5","Clawd","01M786NYYXSZK1D05WM8JQPC48",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fpublic\u002Fapi\u002Fskills\u002Fnvidia\u002Ftao-finetune-huggingface-model\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: tao-finetune-huggingface-model\ndescription: >\n  Fine-tune any HuggingFace CV \u002F VLM \u002F LLM model on local NVIDIA GPUs inside an\n  NGC PyTorch container. Use when the user wants to fine-tune a HuggingFace\n  model (full or LoRA), train a vision \u002F VLM \u002F LLM model end-to-end, generate a\n  reproducible HF training pipeline, smoke-test a HuggingFace model locally\n  before scale-up, push a fine-tuned model to the HF Hub with a model card, or\n  emit a self-contained rerun skill for an existing HuggingFace finetune.\n  Supports image classification, object detection, semantic \u002F instance \u002F\n  panoptic segmentation, depth estimation, image-text-to-text VLM (SFT \u002F LoRA),\n  and LLM SFT \u002F DPO \u002F GRPO. Six-step workflow: inspect and qualify, hardware\n  and NGC image, research, generate and smoke, train + eval + infer, push and\n  emit rerun skill.\nlicense: Apache-2.0\ntags:\n  - finetuning\n  - huggingface\n  - nvidia-tao\n  - computer-vision\n  - training\ncompatibility: 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, exported before launching) — HF_TOKEN is read only when the model\u002Fdataset is gated or `push_to_hub` is on; WANDB_API_KEY and WANDB_PROJECT only when WandB logging is enabled.\nmetadata:\n  author: NVIDIA Corporation\n  version: \"0.1.0\"\nallowed-tools: Read Bash Write\n---\n\u003C!-- Copyright (c) 2026, NVIDIA CORPORATION. All rights reserved. Licensed under the Apache License, Version 2.0; see http:\u002F\u002Fwww.apache.org\u002Flicenses\u002FLICENSE-2.0 -->\n\n# tao-finetune-huggingface-model\n\nLocal NVIDIA GPU fine-tuning for HuggingFace models, grounded in live-fetched\ndocumentation with curated references as a fallback safety net. One NGC container,\na few focused scripts, one push to HF Hub. Follow the rules in this file; don't\nimprovise.\n\n**Order of authority (highest first):**\n\n1. **User input** — explicit `model_id`, `dataset_id`, `training_method`, `config.yaml` overrides.\n2. **Live research** — model card, HF repo example, author finetune script, HF task docs, paper; always fetched (Step 3 + `references\u002Fresearch-priorities.md`).\n3. **Curated references** (`references\u002F*.md`) — fallback when live research is silent\u002Fambiguous.\n4. **Your training-data memory** — last resort; suspect, cross-check against (2)\u002F(3).\n\nConflict resolution between (2) and (3) and the source-line discrepancy note are\nin `references\u002Fresearch-priorities.md`.\n\n---\n\n## Inputs\n\n**Required:**\n- `model_id` — HuggingFace model ID, e.g. `google\u002Fvit-base-patch16-224`\n\n**Conditional credentials (read from the session environment, exported before launching when present):**\n- `HF_TOKEN` — only when the model\u002Fdataset is **gated** (read) or `push_to_hub` is on (write); public + public + `push_to_hub: false` needs none. Value never read — presence-only via `[ -n \"$HF_TOKEN\" ]`.\n- `WANDB_API_KEY`, `WANDB_PROJECT` — only when WandB is enabled; `WANDB_MODE=disabled` opts out.\n\n**Dataset — exactly one:**\n- `dataset_id` — HuggingFace dataset ID *(source: `hf`)*\n- `local_dataset_path` — local folder or file *(source: `local`)*; optional\n  `local_dataset_format` ∈ {auto, imagefolder, coco, voc, jsonl, arrow, parquet,\n  csv} (default: auto-detect).\n- *(omit)* — agent recommends popular datasets *(source: `recommend`)*\n\n**Optional (have defaults):**\n- `task_type` — auto-detected from config + model card\n- `n_train=10000`, `n_eval=1000`, `n_epochs=3`, `lora_r=16`\n- `output_dir=.\u002Foutput\u002F\u003Cmodel_short_name>`\n- `hf_model_repo` — push target; if unset and HF_TOKEN has write access,\n  auto-derived as `\u003Cwhoami>\u002F\u003Cmodel_short_name>-finetuned`.\n- `push_to_hub=True` — set to `False` to skip\n- `skip_baseline=False` — skip zero-shot baseline eval\n\n**Optional deliverables (off by default):**\n```yaml\nemit_progress_log: false   # output_dir\u002FPROGRESS.md (per-step journal)\nemit_report:       false   # reports\u002Freport.{pdf,html} with curves & samples\nemit_unit_tests:   false   # tests\u002F with fake-data heterogeneous-batch tests\n```\n\nAll values live in `output_dir\u002Fconfig.yaml`. Never hardcode in Python.\n\n---\n\n## Execution platform\n\nThis skill orchestrates *what* to run; the platform skills own *how* to run it on\na GPU host — read them first.\n\n| Concern | Authoritative skill |\n|---|---|\n| GPU host runtime (driver 580, CUDA Toolkit 13.0, NVIDIA Container Toolkit 1.19.0) | [`tao-skill-bank:tao-setup-nvidia-gpu-host`](..\u002F..\u002Fplatform\u002Ftao-setup-nvidia-gpu-host\u002FSKILL.md) |\n| `docker run` flags, NGC auth, mounts, env passthrough | [`tao-skill-bank:tao-run-on-docker`](..\u002F..\u002Fplatform\u002Ftao-run-on-docker\u002FSKILL.md) |\n| Local Docker job preflight (daemon, GPU smoke) | [`tao-skill-bank:tao-run-on-local-docker`](..\u002F..\u002Fplatform\u002Ftao-run-on-local-docker\u002FSKILL.md) |\n\n**Default platform:** `local-docker` — build a one-off image (`run-\u003Cshort>:latest`)\nand run it on the local Docker daemon. Ask only when the user explicitly needs a\ndifferent backend (Brev remote GPU, SLURM\u002FKubernetes); then run that platform's\nPreflight first and route the Steps 4–5 `docker run` commands through it. The\nGPU-runtime and presence-only credential preflights (values never read), the\ncanonical `docker run` flag set, the `list_tao_platforms.py` selection command, and\nthe workflow-specific flags (`--entrypoint \u002Fbin\u002Fbash -lc`, `PYTORCH_CUDA_ALLOC_CONF`,\n`--name hft_train`) are in `references\u002Fworkflow-intake-preflight.md`.\n\n---\n\n## References — fallback safety net\n\nConsulted **only** when live research is silent, ambiguous, or unavailable; live\ndocs always win for the specific model and current API. Each step links the\nreferences it needs; full catalog in `references\u002Fdetailed-workflow.md`.\n\nAlways-on: `core-rules.md`, `error-playbook.md`, `compat-workarounds.md`,\n`model-discovery.md`, `dataset-recommendations.md`, `dataset-sources.md`,\n`dataset-patterns.md`, `hardware-container.md`, `research-priorities.md`,\n`cv-scripts.md`, `vlm-scripts.md`, `docker-runs.md`, `hub-push.md`,\n`pipeline-skill-template.md`, `deliverables.md`. Opt-in (when their flag\u002Fneed\napplies): `progress-tracking.md`, `testing.md`, `reporting.md`,\n`workflow-intake-preflight.md`, `workflow-generate-train.md`, `workflow-push-rerun.md`.\n\n**Rule:** before falling back, log the live source you tried and why it was\ninsufficient (`config.yaml` `notes:`, and PROGRESS.md if enabled). `[FETCH LIVE]`\nmarkers in `cv-scripts.md` \u002F `vlm-scripts.md` are a research checklist, not code to\ninline — refetch the listed URL if a block has no Step 3 finding.\n\n---\n\n## Core rules\n\nNon-negotiable behaviors. **Short version** (full enumeration —\nhallucinated-imports list, never-without-approval list, full error-recovery and\nhardware-sizing tables — in `references\u002Fcore-rules.md`, consult before any\ntraining-time decision):\n\n- **Your HF-library knowledge is outdated.** Fetch live docs (model card, HF\n  repo example, task doc) before writing any ML code — don't generate trainer\n  args \u002F collator \u002F transforms from memory (Step 3).\n- **Smoke-test on real data with `--max_steps 1`** before any full run; no batch\n  launches without a verified smoke.\n- **Never silently substitute** model_id, dataset_id, or training_method — if\n  what the user asked for doesn't load, stop and ask.\n- **Error recovery is minimal-change.** OOM → halve batch, double grad_accum,\n  enable gradient checkpointing (no LoRA switch without approval); NaN → reduce\n  LR 10×; flat loss → inspect collator; same error 3× → stop and ask. Don't loop.\n- **Dataset columns verified BEFORE the collator** — rename in `prepare_data.py`;\n  restructuring needed → stop and ask.\n- **Hardware-sizing thumb (bf16):** ≤3B → 24 GB, 7–13B → 80 GB, 30B+ → multi-GPU\n  or LoRA on 1× 80 GB, 70B+ → 8× 80 GB or LoRA. Full finetune won't fit and no\n  LoRA requested → ask before switching.\n\n---\n\n## Workflow — 6 steps\n\nSingle pass, sequential; each step has a clear gate before the next begins.\n\n### Step 1 — Inspect & qualify\n\n**Goal:** decide whether to proceed. Probe model + dataset, apply accept\u002Freject,\nregister applicable compat fixes, write the initial `config.yaml`.\n\nPrerequisites: `MODEL_ID`, optional `DATASET_ID` \u002F `local_dataset_path`,\noptional `HF_TOKEN`, `OUTPUT_DIR` (default `.\u002Foutput\u002F\u003Cmodel_short_name>`). Probes\nrun in a CPU-only `python:3.12-slim` Docker container (bind-mounted `.probe\u002F`\nscratch) so the host needs no virtualenv — Docker must exist first. Docker-presence\nguard, container env, full probe invocation, and the model\u002Fdataset probe scripts\nare in `references\u002Fworkflow-intake-preflight.md`, `references\u002Fmodel-discovery.md`,\nand `references\u002Fdataset-sources.md`.\n\nProbe requirements:\n\n- Model: load `AutoConfig`, read model-card tags, detect task from\n  `architectures` + tags + card examples (fallback logging in `model-discovery.md`).\n- Dataset: for recommended datasets, first present 3-5 choices from\n  `dataset-recommendations.md`; for local data, bind-mount read-only and use\n  `dataset-sources.md` format detection.\n- Reject early if the model config fails, the task is out of scope, no recipe\n  source exists, or the dataset cannot load \u002F match the task schema.\n- Evaluate `compat-workarounds.md` against the model\u002Ftask; defer hardware-dependent\n  rules to Step 2.\n\nWrite the initial `config.yaml` (`model_id`, `task`, `dataset_id` or\n`local_dataset_path`, `research_sources: []` filled in Step 3,\n`applicable_workarounds:` from Step 1, `notes: []` for reference fallbacks,\n`push_to_hub: true` default — annotated template in\n`references\u002Fworkflow-intake-preflight.md`). Optionally `rm -rf \"$OUTPUT_DIR\u002F.probe\"`\nonce the gate is met.\n\n**Gate:** `config.yaml` exists with model, dataset, task, applicable_workarounds;\ndo not proceed if any field is missing.\n\n---\n\n### Step 2 — Hardware audit & NGC image\n\n**Goal:** verify Docker + GPU + disk, pick the NGC PyTorch image live, finalize\nhardware-dependent compat rules.\n\n**2a. Audit (hard gate)** — three checks (commands in\n`references\u002Fworkflow-intake-preflight.md`):\n1. GPU host runtime — `tao-setup-nvidia-gpu-host`'s\n   `setup-nvidia-gpu-host.sh --backend docker --check-only`; on fail, ask approval\n   then re-run with `--install --yes`.\n2. Free-disk soft-warn — override via `MIN_DISK_GB` (default 100 GB); recommend\n   ≥ 100 GB for NGC base (~20 GB) + HF cache + checkpoints + data.\n3. Conditional credential presence (from the session environment, values never\n   read) — `HF_TOKEN` only when gated or `push_to_hub` is on; `WANDB_*` only when\n   WandB is on.\n\n**Do not proceed to Step 4 on a hard-fail** — Step 4's `docker build` pulls a\n20+ GB NGC base, and a missing `nvidia-container-toolkit` only surfaces later as\n`could not select device driver \"\" with capabilities: [[gpu]]`. Record `gpu_count`,\n`gpu_name`, `driver_major`, `vram_gb_per_gpu` in `config.yaml`.\n\n**2b. Pick NGC image (live):** from the NVIDIA Deep Learning Frameworks support\nmatrix (\u003Chttps:\u002F\u002Fdocs.nvidia.com\u002Fdeeplearning\u002Fframeworks\u002Fsupport-matrix\u002Findex.html>),\nPyTorch NGC container section, pick the highest-versioned image where\n`Min driver ≤ detected driver_major` and container CUDA `≤` host CUDA Toolkit\n(match closely so cuDNN \u002F TensorRT line up). Do **not** reject an image for an\n`aN`\u002F`bN`\u002F`rcN` PyTorch tag — NGC validates the full image; pick the newest\nCUDA-aligned one and let `compat-workarounds.md` handle per-version issues. If the\nmatrix is unreachable, use the fallbacks in `references\u002Fhardware-container.md`;\ndefault `nvcr.io\u002Fnvidia\u002Fpytorch:24.09-py3` (driver ≥ 545; SDPA+GQA bug — if\n`num_key_value_heads \u003C num_attention_heads`, set `attn_implementation: \"eager\"`).\nRecord `ngc_image` in `config.yaml`.\n\n**2c. Re-evaluate hardware-dependent compat rules:** re-run the\n`compat-workarounds.md` walk for entries whose `detect` needs `hw`; update\n`applicable_workarounds:` in place.\n\n**2d. Model-fit check:** estimate `param_bytes ≈ 2×param_count` (bf16); if\n> 60% of `vram_gb_per_gpu × 1e9`, recommend LoRA in the user-facing summary.\n\n**Gate:** `config.yaml` has `ngc_image`, `gpu_count`, `gpu_name`, `driver_major`,\n`vram_gb_per_gpu`; hardware-dependent compat fixes recorded.\n\n---\n\n### Step 3 — Research the recipe\n\n**Goal:** fetch the live recipe — training-data knowledge of\n`transformers`\u002F`trl`\u002F`peft` is suspect, so Step 3 is non-negotiable. Walk\n`references\u002Fresearch-priorities.md` in priority order (Priority 1 → 6); stop once\nyou have, for the detected task:\n\n- `AutoModel` \u002F processor class\n- Train + eval transforms\n- Collator\n- `compute_metrics`\n- Hyperparameter hints (LR, batch size, epochs, scheduler)\n\nRecord findings in `meta\u002Frecipe.md`, append source URLs to\n`config.yaml: research_sources:`. A slot with no live finding falls back to the\nmatching scaffold (`cv-scripts.md` \u002F `vlm-scripts.md`), logged as \"fallback to\nscaffold — no live source for \u003Cslot>\" under `notes:`. Conflict-resolution rules\nare in `references\u002Fresearch-priorities.md`.\n\n**Gate:** every required slot filled, with a source URL or scaffold-fallback note.\n\n---\n\n### Step 4 — Generate project & smoke-test\n\n**Goal:** write all scripts, build the image, prepare data, run a 1-step smoke on\nreal data (one `docker build`, two `docker run`s).\n\n**4a. Generate project files** in `output_dir\u002F`: `config.yaml`, `Dockerfile`,\n`requirements.txt`, `prepare_data.py`, `train.py`, `run_eval.py`, `infer.py`,\noptional `merge_lora.py`, optional `tests\u002F`, `.gitignore`. Live Step 3 research is\nauthority; `cv-scripts.md` \u002F `vlm-scripts.md` give scaffold shape only. Apply every\n`applicable_workarounds` entry as a Dockerfile block, requirement pin, config\noverride, or runtime env var. Hard rules: `run_eval.py` keeps that exact filename\n(avoids colliding with the HF `evaluate` package); every generated `.py` starts\nwith the NVIDIA Apache-2.0 copyright header and any emitter fails when it is\nmissing; `emit_unit_tests: true` generates and runs tests per\n`references\u002Ftesting.md`. Script bodies, Dockerfile shape, and the emitter contract\nare in `references\u002Fworkflow-generate-train.md`.\n\n**4b. Build, prepare, smoke** — `docker build -t run-\u003Cshort>:latest .`, then\n`prepare_data` and the `--smoke --max_steps 1` run (`references\u002Fdocker-runs.md`\n§1-3). Smoke pass criteria (in `logs\u002Fsmoke.log`):\n- No exception\n- Loss is finite (not `0.0`, not `NaN`)\n- `grad_norm > 0` at step 1\n\nIf `emit_unit_tests: true`, also run `pytest tests\u002F` in the container. Any failure → STOP.\n\n**4c. Preflight summary** — before full training, print and verify: reference URL,\ndataset columns, Hub target, monitoring target, NGC image, hardware, smoke loss\u002Fgrad norm.\n\n**Gate:** project files written, image built, smoke PASSED, preflight has no\nblank fields.\n\n---\n\n### Step 5 — Train, evaluate, infer\n\n**Goal:** baseline eval, full training, post-train eval, optional LoRA merge, 5\ninference samples (all commands: `references\u002Fdocker-runs.md` §4-8).\n\n| Sub-step | docker-runs.md | Skip if |\n|---|---|---|\n| 5a. Baseline eval (zero-shot) | §4 | `skip_baseline: true` |\n| 5b. Full training (detached) | §5 | — |\n| 5c. LoRA merge | §6 | not VLM+LoRA |\n| 5d. Post-train eval | §7 | — |\n| 5e. Inference (5 samples) | §8 | — |\n\nMulti-GPU: prepend `torchrun --nproc_per_node=$gpu_count` to `python train.py`.\n\nWhile training streams, watch `docker logs -f hft_train`: loss should drop within\n10-20 steps; flat loss (collator\u002Flabel-masking bug), NaN (LR too high), and OOM\nall stop the run — recovery in `references\u002Fcore-rules.md`. If `emit_report: true`,\nrun `report.py` after Step 5e per `references\u002Freporting.md`.\n\n**Gate:** all of:\n- `checkpoints\u002Ffinal\u002F` (or `checkpoints\u002Fmerged\u002F` for LoRA) exists\n- `reports\u002Feval_results.json` has a numeric primary metric\n- `reports\u002Fbaseline_results.json` exists (unless skipped)\n- `reports\u002Finference_samples\u002F` has 5 samples\n- wandb URL shows descending loss\n\n---\n\n### Step 6 — Push & emit rerun skill\n\n**Goal:** publish the run and make it reproducible without re-research.\n\nPush per `references\u002Fhub-push.md` (weights, model card, eval\u002Fbaseline JSONs,\n`config.yaml`, `Dockerfile`, `requirements.txt`, inference samples, reports when\nemitted) unless `push_to_hub: false` is explicit. Emit\n`\u003Coutput_dir>\u002Fskills\u002Frun-\u003Cshort>\u002FSKILL.md` from\n`references\u002Fpipeline-skill-template.md` — substitute every placeholder, include\nfull YAML metadata + the NVIDIA copyright HTML comment, and make any emitter fail\nif those are missing.\n\n**Gate (Done criteria):** all of:\n- Step 5 gate met\n- HF Hub repo exists at the resolved URL with weights + card + `results\u002F`\n  (unless `push_to_hub: false`)\n- `\u003Coutput_dir>\u002Fskills\u002Frun-\u003Cshort>\u002FSKILL.md` exists, no `\u003Cplaceholder>` left,\n  with metadata + copyright HTML comment per `pipeline-skill-template.md`\n\nFinal message: wandb URL, HF Hub URL, baseline -> fine-tuned primary metric,\n`reports\u002Finference_samples\u002F`, and the rerun skill path.\n\n---\n\n## Error playbook\n\nOn a known runtime error, consult the symptom → minimal-fix table in\n`references\u002Ferror-playbook.md` (NGC entrypoint, PyTorch\u002FTransformers regressions,\nnumpy ABI, Albumentations bbox, PEFT\u002Fcheckpointing, LoRA target breadth, CV\naugmentation gaps, OOM at step 0) before redesigning anything. When a row there\nfires twice across runs, lift it into `compat-workarounds.md` with a `detect` rule\n— auto-applied in Step 1 before the error can fire.\n\n---\n\n## Communication style\n\n- Terse. No filler, no restating the request; one-word answers when appropriate.\n- Always include direct Hub and wandb URLs when referencing artifacts.\n- On error: state what went wrong, why, what you changed — no menus.\n- Never present \"Option A\u002FB\u002FC\" for a request with a clear answer. Act.\n\n## Example pipelines\n\n- [tao-rerun-convnext-cifar10](references\u002Ftao-rerun-convnext-cifar10.md)\n- [tao-rerun-detr-cppe5](references\u002Ftao-rerun-detr-cppe5.md)\n- [tao-rerun-segformer-foodseg103](references\u002Ftao-rerun-segformer-foodseg103.md)\n- [tao-rerun-smolvlm-vqav2](references\u002Ftao-rerun-smolvlm-vqav2.md)\n","\u003C!-- Copyright (c) 2026, NVIDIA CORPORATION. All rights reserved. Licensed under the Apache License, Version 2.0; see http:\u002F\u002Fwww.apache.org\u002Flicenses\u002FLICENSE-2.0 -->\n\n# tao-finetune-huggingface-model\n\nLocal NVIDIA GPU fine-tuning for HuggingFace models, grounded in live-fetched\ndocumentation with curated references as a fallback safety net. One NGC container,\na few focused scripts, one push to HF Hub. Follow the rules in this file; don't\nimprovise.\n\n**Order of authority (highest first):**\n\n1. **User input** — explicit `model_id`, `dataset_id`, `training_method`, `config.yaml` overrides.\n2. **Live research** — model card, HF repo example, author finetune script, HF task docs, paper; always fetched (Step 3 + `references\u002Fresearch-priorities.md`).\n3. **Curated references** (`references\u002F*.md`) — fallback when live research is silent\u002Fambiguous.\n4. **Your training-data memory** — last resort; suspect, cross-check against (2)\u002F(3).\n\nConflict resolution between (2) and (3) and the source-line discrepancy note are\nin `references\u002Fresearch-priorities.md`.\n\n---\n\n## Inputs\n\n**Required:**\n- `model_id` — HuggingFace model ID, e.g. `google\u002Fvit-base-patch16-224`\n\n**Conditional credentials (read from the session environment, exported before launching when present):**\n- `HF_TOKEN` — only when the model\u002Fdataset is **gated** (read) or `push_to_hub` is on (write); public + public + `push_to_hub: false` needs none. Value never read — presence-only via `[ -n \"$HF_TOKEN\" ]`.\n- `WANDB_API_KEY`, `WANDB_PROJECT` — only when WandB is enabled; `WANDB_MODE=disabled` opts out.\n\n**Dataset — exactly one:**\n- `dataset_id` — HuggingFace dataset ID *(source: `hf`)*\n- `local_dataset_path` — local folder or file *(source: `local`)*; optional\n  `local_dataset_format` ∈ {auto, imagefolder, coco, voc, jsonl, arrow, parquet,\n  csv} (default: auto-detect).\n- *(omit)* — agent recommends popular datasets *(source: `recommend`)*\n\n**Optional (have defaults):**\n- `task_type` — auto-detected from config + model card\n- `n_train=10000`, `n_eval=1000`, `n_epochs=3`, `lora_r=16`\n- `output_dir=.\u002Foutput\u002F\u003Cmodel_short_name>`\n- `hf_model_repo` — push target; if unset and HF_TOKEN has write access,\n  auto-derived as `\u003Cwhoami>\u002F\u003Cmodel_short_name>-finetuned`.\n- `push_to_hub=True` — set to `False` to skip\n- `skip_baseline=False` — skip zero-shot baseline eval\n\n**Optional deliverables (off by default):**\n```yaml\nemit_progress_log: false   # output_dir\u002FPROGRESS.md (per-step journal)\nemit_report:       false   # reports\u002Freport.{pdf,html} with curves & samples\nemit_unit_tests:   false   # tests\u002F with fake-data heterogeneous-batch tests\n```\n\nAll values live in `output_dir\u002Fconfig.yaml`. Never hardcode in Python.\n\n---\n\n## Execution platform\n\nThis skill orchestrates *what* to run; the platform skills own *how* to run it on\na GPU host — read them first.\n\n| Concern | Authoritative skill |\n|---|---|\n| GPU host runtime (driver 580, CUDA Toolkit 13.0, NVIDIA Container Toolkit 1.19.0) | [`tao-skill-bank:tao-setup-nvidia-gpu-host`](..\u002F..\u002Fplatform\u002Ftao-setup-nvidia-gpu-host\u002FSKILL.md) |\n| `docker run` flags, NGC auth, mounts, env passthrough | [`tao-skill-bank:tao-run-on-docker`](..\u002F..\u002Fplatform\u002Ftao-run-on-docker\u002FSKILL.md) |\n| Local Docker job preflight (daemon, GPU smoke) | [`tao-skill-bank:tao-run-on-local-docker`](..\u002F..\u002Fplatform\u002Ftao-run-on-local-docker\u002FSKILL.md) |\n\n**Default platform:** `local-docker` — build a one-off image (`run-\u003Cshort>:latest`)\nand run it on the local Docker daemon. Ask only when the user explicitly needs a\ndifferent backend (Brev remote GPU, SLURM\u002FKubernetes); then run that platform's\nPreflight first and route the Steps 4–5 `docker run` commands through it. The\nGPU-runtime and presence-only credential preflights (values never read), the\ncanonical `docker run` flag set, the `list_tao_platforms.py` selection command, and\nthe workflow-specific flags (`--entrypoint \u002Fbin\u002Fbash -lc`, `PYTORCH_CUDA_ALLOC_CONF`,\n`--name hft_train`) are in `references\u002Fworkflow-intake-preflight.md`.\n\n---\n\n## References — fallback safety net\n\nConsulted **only** when live research is silent, ambiguous, or unavailable; live\ndocs always win for the specific model and current API. Each step links the\nreferences it needs; full catalog in `references\u002Fdetailed-workflow.md`.\n\nAlways-on: `core-rules.md`, `error-playbook.md`, `compat-workarounds.md`,\n`model-discovery.md`, `dataset-recommendations.md`, `dataset-sources.md`,\n`dataset-patterns.md`, `hardware-container.md`, `research-priorities.md`,\n`cv-scripts.md`, `vlm-scripts.md`, `docker-runs.md`, `hub-push.md`,\n`pipeline-skill-template.md`, `deliverables.md`. Opt-in (when their flag\u002Fneed\napplies): `progress-tracking.md`, `testing.md`, `reporting.md`,\n`workflow-intake-preflight.md`, `workflow-generate-train.md`, `workflow-push-rerun.md`.\n\n**Rule:** before falling back, log the live source you tried and why it was\ninsufficient (`config.yaml` `notes:`, and PROGRESS.md if enabled). `[FETCH LIVE]`\nmarkers in `cv-scripts.md` \u002F `vlm-scripts.md` are a research checklist, not code to\ninline — refetch the listed URL if a block has no Step 3 finding.\n\n---\n\n## Core rules\n\nNon-negotiable behaviors. **Short version** (full enumeration —\nhallucinated-imports list, never-without-approval list, full error-recovery and\nhardware-sizing tables — in `references\u002Fcore-rules.md`, consult before any\ntraining-time decision):\n\n- **Your HF-library knowledge is outdated.** Fetch live docs (model card, HF\n  repo example, task doc) before writing any ML code — don't generate trainer\n  args \u002F collator \u002F transforms from memory (Step 3).\n- **Smoke-test on real data with `--max_steps 1`** before any full run; no batch\n  launches without a verified smoke.\n- **Never silently substitute** model_id, dataset_id, or training_method — if\n  what the user asked for doesn't load, stop and ask.\n- **Error recovery is minimal-change.** OOM → halve batch, double grad_accum,\n  enable gradient checkpointing (no LoRA switch without approval); NaN → reduce\n  LR 10×; flat loss → inspect collator; same error 3× → stop and ask. Don't loop.\n- **Dataset columns verified BEFORE the collator** — rename in `prepare_data.py`;\n  restructuring needed → stop and ask.\n- **Hardware-sizing thumb (bf16):** ≤3B → 24 GB, 7–13B → 80 GB, 30B+ → multi-GPU\n  or LoRA on 1× 80 GB, 70B+ → 8× 80 GB or LoRA. Full finetune won't fit and no\n  LoRA requested → ask before switching.\n\n---\n\n## Workflow — 6 steps\n\nSingle pass, sequential; each step has a clear gate before the next begins.\n\n### Step 1 — Inspect & qualify\n\n**Goal:** decide whether to proceed. Probe model + dataset, apply accept\u002Freject,\nregister applicable compat fixes, write the initial `config.yaml`.\n\nPrerequisites: `MODEL_ID`, optional `DATASET_ID` \u002F `local_dataset_path`,\noptional `HF_TOKEN`, `OUTPUT_DIR` (default `.\u002Foutput\u002F\u003Cmodel_short_name>`). Probes\nrun in a CPU-only `python:3.12-slim` Docker container (bind-mounted `.probe\u002F`\nscratch) so the host needs no virtualenv — Docker must exist first. Docker-presence\nguard, container env, full probe invocation, and the model\u002Fdataset probe scripts\nare in `references\u002Fworkflow-intake-preflight.md`, `references\u002Fmodel-discovery.md`,\nand `references\u002Fdataset-sources.md`.\n\nProbe requirements:\n\n- Model: load `AutoConfig`, read model-card tags, detect task from\n  `architectures` + tags + card examples (fallback logging in `model-discovery.md`).\n- Dataset: for recommended datasets, first present 3-5 choices from\n  `dataset-recommendations.md`; for local data, bind-mount read-only and use\n  `dataset-sources.md` format detection.\n- Reject early if the model config fails, the task is out of scope, no recipe\n  source exists, or the dataset cannot load \u002F match the task schema.\n- Evaluate `compat-workarounds.md` against the model\u002Ftask; defer hardware-dependent\n  rules to Step 2.\n\nWrite the initial `config.yaml` (`model_id`, `task`, `dataset_id` or\n`local_dataset_path`, `research_sources: []` filled in Step 3,\n`applicable_workarounds:` from Step 1, `notes: []` for reference fallbacks,\n`push_to_hub: true` default — annotated template in\n`references\u002Fworkflow-intake-preflight.md`). Optionally `rm -rf \"$OUTPUT_DIR\u002F.probe\"`\nonce the gate is met.\n\n**Gate:** `config.yaml` exists with model, dataset, task, applicable_workarounds;\ndo not proceed if any field is missing.\n\n---\n\n### Step 2 — Hardware audit & NGC image\n\n**Goal:** verify Docker + GPU + disk, pick the NGC PyTorch image live, finalize\nhardware-dependent compat rules.\n\n**2a. Audit (hard gate)** — three checks (commands in\n`references\u002Fworkflow-intake-preflight.md`):\n1. GPU host runtime — `tao-setup-nvidia-gpu-host`'s\n   `setup-nvidia-gpu-host.sh --backend docker --check-only`; on fail, ask approval\n   then re-run with `--install --yes`.\n2. Free-disk soft-warn — override via `MIN_DISK_GB` (default 100 GB); recommend\n   ≥ 100 GB for NGC base (~20 GB) + HF cache + checkpoints + data.\n3. Conditional credential presence (from the session environment, values never\n   read) — `HF_TOKEN` only when gated or `push_to_hub` is on; `WANDB_*` only when\n   WandB is on.\n\n**Do not proceed to Step 4 on a hard-fail** — Step 4's `docker build` pulls a\n20+ GB NGC base, and a missing `nvidia-container-toolkit` only surfaces later as\n`could not select device driver \"\" with capabilities: [[gpu]]`. Record `gpu_count`,\n`gpu_name`, `driver_major`, `vram_gb_per_gpu` in `config.yaml`.\n\n**2b. Pick NGC image (live):** from the NVIDIA Deep Learning Frameworks support\nmatrix (\u003Chttps:\u002F\u002Fdocs.nvidia.com\u002Fdeeplearning\u002Fframeworks\u002Fsupport-matrix\u002Findex.html>),\nPyTorch NGC container section, pick the highest-versioned image where\n`Min driver ≤ detected driver_major` and container CUDA `≤` host CUDA Toolkit\n(match closely so cuDNN \u002F TensorRT line up). Do **not** reject an image for an\n`aN`\u002F`bN`\u002F`rcN` PyTorch tag — NGC validates the full image; pick the newest\nCUDA-aligned one and let `compat-workarounds.md` handle per-version issues. If the\nmatrix is unreachable, use the fallbacks in `references\u002Fhardware-container.md`;\ndefault `nvcr.io\u002Fnvidia\u002Fpytorch:24.09-py3` (driver ≥ 545; SDPA+GQA bug — if\n`num_key_value_heads \u003C num_attention_heads`, set `attn_implementation: \"eager\"`).\nRecord `ngc_image` in `config.yaml`.\n\n**2c. Re-evaluate hardware-dependent compat rules:** re-run the\n`compat-workarounds.md` walk for entries whose `detect` needs `hw`; update\n`applicable_workarounds:` in place.\n\n**2d. Model-fit check:** estimate `param_bytes ≈ 2×param_count` (bf16); if\n> 60% of `vram_gb_per_gpu × 1e9`, recommend LoRA in the user-facing summary.\n\n**Gate:** `config.yaml` has `ngc_image`, `gpu_count`, `gpu_name`, `driver_major`,\n`vram_gb_per_gpu`; hardware-dependent compat fixes recorded.\n\n---\n\n### Step 3 — Research the recipe\n\n**Goal:** fetch the live recipe — training-data knowledge of\n`transformers`\u002F`trl`\u002F`peft` is suspect, so Step 3 is non-negotiable. Walk\n`references\u002Fresearch-priorities.md` in priority order (Priority 1 → 6); stop once\nyou have, for the detected task:\n\n- `AutoModel` \u002F processor class\n- Train + eval transforms\n- Collator\n- `compute_metrics`\n- Hyperparameter hints (LR, batch size, epochs, scheduler)\n\nRecord findings in `meta\u002Frecipe.md`, append source URLs to\n`config.yaml: research_sources:`. A slot with no live finding falls back to the\nmatching scaffold (`cv-scripts.md` \u002F `vlm-scripts.md`), logged as \"fallback to\nscaffold — no live source for \u003Cslot>\" under `notes:`. Conflict-resolution rules\nare in `references\u002Fresearch-priorities.md`.\n\n**Gate:** every required slot filled, with a source URL or scaffold-fallback note.\n\n---\n\n### Step 4 — Generate project & smoke-test\n\n**Goal:** write all scripts, build the image, prepare data, run a 1-step smoke on\nreal data (one `docker build`, two `docker run`s).\n\n**4a. Generate project files** in `output_dir\u002F`: `config.yaml`, `Dockerfile`,\n`requirements.txt`, `prepare_data.py`, `train.py`, `run_eval.py`, `infer.py`,\noptional `merge_lora.py`, optional `tests\u002F`, `.gitignore`. Live Step 3 research is\nauthority; `cv-scripts.md` \u002F `vlm-scripts.md` give scaffold shape only. Apply every\n`applicable_workarounds` entry as a Dockerfile block, requirement pin, config\noverride, or runtime env var. Hard rules: `run_eval.py` keeps that exact filename\n(avoids colliding with the HF `evaluate` package); every generated `.py` starts\nwith the NVIDIA Apache-2.0 copyright header and any emitter fails when it is\nmissing; `emit_unit_tests: true` generates and runs tests per\n`references\u002Ftesting.md`. Script bodies, Dockerfile shape, and the emitter contract\nare in `references\u002Fworkflow-generate-train.md`.\n\n**4b. Build, prepare, smoke** — `docker build -t run-\u003Cshort>:latest .`, then\n`prepare_data` and the `--smoke --max_steps 1` run (`references\u002Fdocker-runs.md`\n§1-3). Smoke pass criteria (in `logs\u002Fsmoke.log`):\n- No exception\n- Loss is finite (not `0.0`, not `NaN`)\n- `grad_norm > 0` at step 1\n\nIf `emit_unit_tests: true`, also run `pytest tests\u002F` in the container. Any failure → STOP.\n\n**4c. Preflight summary** — before full training, print and verify: reference URL,\ndataset columns, Hub target, monitoring target, NGC image, hardware, smoke loss\u002Fgrad norm.\n\n**Gate:** project files written, image built, smoke PASSED, preflight has no\nblank fields.\n\n---\n\n### Step 5 — Train, evaluate, infer\n\n**Goal:** baseline eval, full training, post-train eval, optional LoRA merge, 5\ninference samples (all commands: `references\u002Fdocker-runs.md` §4-8).\n\n| Sub-step | docker-runs.md | Skip if |\n|---|---|---|\n| 5a. Baseline eval (zero-shot) | §4 | `skip_baseline: true` |\n| 5b. Full training (detached) | §5 | — |\n| 5c. LoRA merge | §6 | not VLM+LoRA |\n| 5d. Post-train eval | §7 | — |\n| 5e. Inference (5 samples) | §8 | — |\n\nMulti-GPU: prepend `torchrun --nproc_per_node=$gpu_count` to `python train.py`.\n\nWhile training streams, watch `docker logs -f hft_train`: loss should drop within\n10-20 steps; flat loss (collator\u002Flabel-masking bug), NaN (LR too high), and OOM\nall stop the run — recovery in `references\u002Fcore-rules.md`. If `emit_report: true`,\nrun `report.py` after Step 5e per `references\u002Freporting.md`.\n\n**Gate:** all of:\n- `checkpoints\u002Ffinal\u002F` (or `checkpoints\u002Fmerged\u002F` for LoRA) exists\n- `reports\u002Feval_results.json` has a numeric primary metric\n- `reports\u002Fbaseline_results.json` exists (unless skipped)\n- `reports\u002Finference_samples\u002F` has 5 samples\n- wandb URL shows descending loss\n\n---\n\n### Step 6 — Push & emit rerun skill\n\n**Goal:** publish the run and make it reproducible without re-research.\n\nPush per `references\u002Fhub-push.md` (weights, model card, eval\u002Fbaseline JSONs,\n`config.yaml`, `Dockerfile`, `requirements.txt`, inference samples, reports when\nemitted) unless `push_to_hub: false` is explicit. Emit\n`\u003Coutput_dir>\u002Fskills\u002Frun-\u003Cshort>\u002FSKILL.md` from\n`references\u002Fpipeline-skill-template.md` — substitute every placeholder, include\nfull YAML metadata + the NVIDIA copyright HTML comment, and make any emitter fail\nif those are missing.\n\n**Gate (Done criteria):** all of:\n- Step 5 gate met\n- HF Hub repo exists at the resolved URL with weights + card + `results\u002F`\n  (unless `push_to_hub: false`)\n- `\u003Coutput_dir>\u002Fskills\u002Frun-\u003Cshort>\u002FSKILL.md` exists, no `\u003Cplaceholder>` left,\n  with metadata + copyright HTML comment per `pipeline-skill-template.md`\n\nFinal message: wandb URL, HF Hub URL, baseline -> fine-tuned primary metric,\n`reports\u002Finference_samples\u002F`, and the rerun skill path.\n\n---\n\n## Error playbook\n\nOn a known runtime error, consult the symptom → minimal-fix table in\n`references\u002Ferror-playbook.md` (NGC entrypoint, PyTorch\u002FTransformers regressions,\nnumpy ABI, Albumentations bbox, PEFT\u002Fcheckpointing, LoRA target breadth, CV\naugmentation gaps, OOM at step 0) before redesigning anything. When a row there\nfires twice across runs, lift it into `compat-workarounds.md` with a `detect` rule\n— auto-applied in Step 1 before the error can fire.\n\n---\n\n## Communication style\n\n- Terse. No filler, no restating the request; one-word answers when appropriate.\n- Always include direct Hub and wandb URLs when referencing artifacts.\n- On error: state what went wrong, why, what you changed — no menus.\n- Never present \"Option A\u002FB\u002FC\" for a request with a clear answer. Act.\n\n## Example pipelines\n\n- [tao-rerun-convnext-cifar10](references\u002Ftao-rerun-convnext-cifar10.md)\n- [tao-rerun-detr-cppe5](references\u002Ftao-rerun-detr-cppe5.md)\n- [tao-rerun-segformer-foodseg103](references\u002Ftao-rerun-segformer-foodseg103.md)\n- [tao-rerun-smolvlm-vqav2](references\u002Ftao-rerun-smolvlm-vqav2.md)\n",{"name":5,"tags":24,"license":15,"metadata":30,"description":33,"allowed-tools":34,"compatibility":35},[25,26,27,28,29],"finetuning","huggingface","nvidia-tao","computer-vision","training",{"author":31,"version":32},"NVIDIA Corporation","0.1.0","Fine-tune any HuggingFace CV \u002F VLM \u002F LLM model on local NVIDIA GPUs inside an NGC PyTorch container. Use when the user wants to fine-tune a HuggingFace model (full or LoRA), train a vision \u002F VLM \u002F 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 \u002F instance \u002F panoptic segmentation, depth estimation, image-text-to-text VLM (SFT \u002F LoRA), and LLM SFT \u002F DPO \u002F GRPO. Six-step workflow: inspect and qualify, hardware and NGC image, research, generate and smoke, train + eval + infer, push and emit rerun skill.\n","Read Bash Write","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, exported before launching) — HF_TOKEN is read only when the model\u002Fdataset is gated or `push_to_hub` is on; WANDB_API_KEY and WANDB_PROJECT only when WandB logging is enabled.","main","be3de0244dc1a57e323d8160787ebb40fb64930e","public\u002Fapi\u002Fskills\u002Fnvidia\u002Ftao-finetune-huggingface-model","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main","https:\u002F\u002Fskills.x402.wtf","https:\u002F\u002Fgithub.com\u002FSolizardking","https:\u002F\u002Fmusebook.trade","Got a mile high and never came down","2026-10-08 23:20:13",{"source":8,"skillName":5,"commands":46,"prompt":56,"zipAvailable":57},[47,50,53],{"tool":48,"command":49},"npx","npx skills add Solizardking\u002Fskillhub-main --skill tao-finetune-huggingface-model",{"tool":51,"command":52},"bunx","bunx skills add Solizardking\u002Fskillhub-main --skill tao-finetune-huggingface-model",{"tool":54,"command":55},"pnpm","pnpm dlx skills add Solizardking\u002Fskillhub-main --skill tao-finetune-huggingface-model","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fpublic\u002Fapi\u002Fskills\u002Fnvidia\u002Ftao-finetune-huggingface-model\u002FSKILL.md",true,[59,65,69,73,77,81,85,89,93,97,101,105,109,113,117,121,125,129,133,137,141,145,149,153,157,161,165,169,173,177],{"path":60,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":63,"sourceHtmlUrl":64},"BENCHMARK.md","REFERENCE","参考文档",4182,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fpublic\u002Fapi\u002Fskills\u002Fnvidia\u002Ftao-finetune-huggingface-model\u002FBENCHMARK.md",{"path":66,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":67,"sourceHtmlUrl":68},"metadata.json",1010,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fpublic\u002Fapi\u002Fskills\u002Fnvidia\u002Ftao-finetune-huggingface-model\u002Fmetadata.json",{"path":70,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":71,"sourceHtmlUrl":72},"references\u002Fcompat-workarounds.md",12075,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fpublic\u002Fapi\u002Fskills\u002Fnvidia\u002Ftao-finetune-huggingface-model\u002Freferences\u002Fcompat-workarounds.md",{"path":74,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":75,"sourceHtmlUrl":76},"references\u002Fcore-rules.md",4825,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fpublic\u002Fapi\u002Fskills\u002Fnvidia\u002Ftao-finetune-huggingface-model\u002Freferences\u002Fcore-rules.md",{"path":78,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":79,"sourceHtmlUrl":80},"references\u002Fcv-scripts.md",34024,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fpublic\u002Fapi\u002Fskills\u002Fnvidia\u002Ftao-finetune-huggingface-model\u002Freferences\u002Fcv-scripts.md",{"path":82,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":83,"sourceHtmlUrl":84},"references\u002Fdataset-patterns.md",10793,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fpublic\u002Fapi\u002Fskills\u002Fnvidia\u002Ftao-finetune-huggingface-model\u002Freferences\u002Fdataset-patterns.md",{"path":86,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":87,"sourceHtmlUrl":88},"references\u002Fdataset-recommendations.md",11300,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fpublic\u002Fapi\u002Fskills\u002Fnvidia\u002Ftao-finetune-huggingface-model\u002Freferences\u002Fdataset-recommendations.md",{"path":90,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":91,"sourceHtmlUrl":92},"references\u002Fdataset-sources.md",17707,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fpublic\u002Fapi\u002Fskills\u002Fnvidia\u002Ftao-finetune-huggingface-model\u002Freferences\u002Fdataset-sources.md",{"path":94,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":95,"sourceHtmlUrl":96},"references\u002Fdeliverables.md",20633,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fpublic\u002Fapi\u002Fskills\u002Fnvidia\u002Ftao-finetune-huggingface-model\u002Freferences\u002Fdeliverables.md",{"path":98,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":99,"sourceHtmlUrl":100},"references\u002Fdetailed-workflow.md",715,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fpublic\u002Fapi\u002Fskills\u002Fnvidia\u002Ftao-finetune-huggingface-model\u002Freferences\u002Fdetailed-workflow.md",{"path":102,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":103,"sourceHtmlUrl":104},"references\u002Fdocker-runs.md",9094,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fpublic\u002Fapi\u002Fskills\u002Fnvidia\u002Ftao-finetune-huggingface-model\u002Freferences\u002Fdocker-runs.md",{"path":106,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":107,"sourceHtmlUrl":108},"references\u002Ferror-playbook.md",3844,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fpublic\u002Fapi\u002Fskills\u002Fnvidia\u002Ftao-finetune-huggingface-model\u002Freferences\u002Ferror-playbook.md",{"path":110,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":111,"sourceHtmlUrl":112},"references\u002Fhardware-container.md",8661,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fpublic\u002Fapi\u002Fskills\u002Fnvidia\u002Ftao-finetune-huggingface-model\u002Freferences\u002Fhardware-container.md",{"path":114,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":115,"sourceHtmlUrl":116},"references\u002Fhub-push.md",5564,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fpublic\u002Fapi\u002Fskills\u002Fnvidia\u002Ftao-finetune-huggingface-model\u002Freferences\u002Fhub-push.md",{"path":118,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":119,"sourceHtmlUrl":120},"references\u002Fmodel-discovery.md",10782,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fpublic\u002Fapi\u002Fskills\u002Fnvidia\u002Ftao-finetune-huggingface-model\u002Freferences\u002Fmodel-discovery.md",{"path":122,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":123,"sourceHtmlUrl":124},"references\u002Fpipeline-skill-template.md",9163,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fpublic\u002Fapi\u002Fskills\u002Fnvidia\u002Ftao-finetune-huggingface-model\u002Freferences\u002Fpipeline-skill-template.md",{"path":126,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":127,"sourceHtmlUrl":128},"references\u002Fprogress-tracking.md",9869,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fpublic\u002Fapi\u002Fskills\u002Fnvidia\u002Ftao-finetune-huggingface-model\u002Freferences\u002Fprogress-tracking.md",{"path":130,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":131,"sourceHtmlUrl":132},"references\u002Freporting.md",18895,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fpublic\u002Fapi\u002Fskills\u002Fnvidia\u002Ftao-finetune-huggingface-model\u002Freferences\u002Freporting.md",{"path":134,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":135,"sourceHtmlUrl":136},"references\u002Fresearch-priorities.md",6607,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fpublic\u002Fapi\u002Fskills\u002Fnvidia\u002Ftao-finetune-huggingface-model\u002Freferences\u002Fresearch-priorities.md",{"path":138,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":139,"sourceHtmlUrl":140},"references\u002Ftao-rerun-convnext-cifar10.md",4571,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fpublic\u002Fapi\u002Fskills\u002Fnvidia\u002Ftao-finetune-huggingface-model\u002Freferences\u002Ftao-rerun-convnext-cifar10.md",{"path":142,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":143,"sourceHtmlUrl":144},"references\u002Ftao-rerun-detr-cppe5.md",3937,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fpublic\u002Fapi\u002Fskills\u002Fnvidia\u002Ftao-finetune-huggingface-model\u002Freferences\u002Ftao-rerun-detr-cppe5.md",{"path":146,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":147,"sourceHtmlUrl":148},"references\u002Ftao-rerun-segformer-foodseg103.md",3831,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fpublic\u002Fapi\u002Fskills\u002Fnvidia\u002Ftao-finetune-huggingface-model\u002Freferences\u002Ftao-rerun-segformer-foodseg103.md",{"path":150,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":151,"sourceHtmlUrl":152},"references\u002Ftao-rerun-smolvlm-vqav2.md",4534,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fpublic\u002Fapi\u002Fskills\u002Fnvidia\u002Ftao-finetune-huggingface-model\u002Freferences\u002Ftao-rerun-smolvlm-vqav2.md",{"path":154,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":155,"sourceHtmlUrl":156},"references\u002Ftesting.md",21305,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fpublic\u002Fapi\u002Fskills\u002Fnvidia\u002Ftao-finetune-huggingface-model\u002Freferences\u002Ftesting.md",{"path":158,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":159,"sourceHtmlUrl":160},"references\u002Fvlm-scripts.md",28375,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fpublic\u002Fapi\u002Fskills\u002Fnvidia\u002Ftao-finetune-huggingface-model\u002Freferences\u002Fvlm-scripts.md",{"path":162,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":163,"sourceHtmlUrl":164},"references\u002Fworkflow-generate-train.md",7717,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fpublic\u002Fapi\u002Fskills\u002Fnvidia\u002Ftao-finetune-huggingface-model\u002Freferences\u002Fworkflow-generate-train.md",{"path":166,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":167,"sourceHtmlUrl":168},"references\u002Fworkflow-intake-preflight.md",22950,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fpublic\u002Fapi\u002Fskills\u002Fnvidia\u002Ftao-finetune-huggingface-model\u002Freferences\u002Fworkflow-intake-preflight.md",{"path":170,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":171,"sourceHtmlUrl":172},"references\u002Fworkflow-push-rerun.md",3050,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fpublic\u002Fapi\u002Fskills\u002Fnvidia\u002Ftao-finetune-huggingface-model\u002Freferences\u002Fworkflow-push-rerun.md",{"path":174,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":175,"sourceHtmlUrl":176},"skill-card.md",4198,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fpublic\u002Fapi\u002Fskills\u002Fnvidia\u002Ftao-finetune-huggingface-model\u002Fskill-card.md",{"path":178,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":179,"sourceHtmlUrl":180},"verification.json",6514,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fpublic\u002Fapi\u002Fskills\u002Fnvidia\u002Ftao-finetune-huggingface-model\u002Fverification.json",[182,190,197,204,211,219],{"skillNo":183,"name":184,"nameZh":6,"description":185,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":186,"licenseFileUrl":6,"sourceHtmlUrl":187,"categories":188,"keywords":189,"publishedAt":19},"01M78E0TGCAMNPS207BA3G07S7","zkrouter","Self-hosted OpenAI-compatible LLM router — smart tier-based routing, ZK-stamped routing decisions, mode overrides, free OpenRouter at install via the Birth bot. Save 60-80% on inference costs by routing to the cheapest capable model across 12+ OpenRouter models.","MIT","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fskills\u002Fzkrouter\u002FSKILL.md",[],[],{"skillNo":191,"name":192,"nameZh":6,"description":193,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":186,"licenseFileUrl":6,"sourceHtmlUrl":194,"categories":195,"keywords":196,"publishedAt":19},"01M78E0R1Z8BDT6EDTHY17MTNB","zk","For custom ZK Solana programs and privacy-preserving applications to prevent double spending. Guide to integrate rent-free nullifier PDAs for double-spend prevention.","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fskills\u002Fzk\u002FSKILL.md",[],[],{"skillNo":198,"name":199,"nameZh":6,"description":200,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":186,"licenseFileUrl":6,"sourceHtmlUrl":201,"categories":202,"keywords":203,"publishedAt":19},"01M78E0P3ZTZ1YWF8MD5MM23QE","zk-omni-messaging","Zero-knowledge omnichain messaging between Robinhood Chain and Solana using CheshireZkOmniMessenger (msgType 4) with nullifier anti-replay and the zk-omni-relayer service.","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fskills\u002Fzk-omni-messaging\u002FSKILL.md",[],[],{"skillNo":205,"name":206,"nameZh":6,"description":207,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":186,"licenseFileUrl":6,"sourceHtmlUrl":208,"categories":209,"keywords":210,"publishedAt":19},"01M78E0JXZ2PNB1896VXAGDBWD","zerion-wallet-data","Use when the user asks to check a wallet's portfolio, token balances, DeFi positions, PnL, transaction history, or NFTs. Provides interpreted on-chain data across 40+ EVM chains and Solana via x402 pay-per-request or API key — no raw RPC decoding needed.","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fskills\u002Fzerion-wallet-data\u002FSKILL.md",[],[],{"skillNo":212,"name":213,"nameZh":6,"description":214,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":186,"licenseFileUrl":215,"sourceHtmlUrl":216,"categories":217,"keywords":218,"publishedAt":19},"01M78E0G14FH9GRRTQYMKD5E59","youtube-clipper","YouTube 视频智能剪辑工具。下载视频和字幕，AI 分析生成精细章节（几分钟级别）， 用户选择片段后自动剪辑、翻译字幕为中英双语、烧录字幕到视频，并生成总结文案。 使用场景：当用户需要剪辑 YouTube 视频、生成短视频片段、制作双语字幕版本时。 关键词：视频剪辑、YouTube、字幕翻译、双语字幕、视频下载、clip video","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fskills\u002Fyoutube-clipper\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fskills\u002Fyoutube-clipper\u002FSKILL.md",[],[],{"skillNo":220,"name":221,"nameZh":6,"description":222,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":186,"licenseFileUrl":6,"sourceHtmlUrl":223,"categories":224,"keywords":225,"publishedAt":19},"01M78E0C2ZYA99CFFDNB7ZMK5S","yield-optimization","Multi-chain yield optimization via yield.xyz (StakeKit). Discover 2,988+ yield opportunities across 75+ blockchains, build deposit\u002Fwithdrawal transactions with shell scripts, and sign them with a MoonPay wallet. Use when the user wants to earn yield, find the best lending or staking rate, enter\u002Fexit a position, or check portfolio balances.","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fskills\u002Fyield-optimization\u002FSKILL.md",[],[]]