[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M78CQ9A8JNGJCNY37R6KPJFS":3,"skill-same:01M78CQ9A8JNGJCNY37R6KPJFS":98},{"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":47,"commitSha":48,"skillDirectory":49,"forksCount":14,"repositoryHtmlUrl":50,"repositoryHomepageUrl":51,"ownerHtmlUrl":52,"ownerBlogUrl":53,"ownerDescription":54,"updatedAt":55,"install":56,"resources":69},"01M78CQ9A8JNGJCNY37R6KPJFS","digital-health-clinical-asr-finetune",null,"Stage 4 of the Clinical ASR Flywheel. Use when priority KER is above 0.3 to run stock NeMo SFT on Parakeet TDT v2 and offline cycle N+1 re-eval. NOT for generic word boosting (use \u002Ffinetune-asr).","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\u002Fskills\u002Fnvidia\u002Fdigital-health-clinical-asr-finetune\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: \"digital-health-clinical-asr-finetune\"\ndescription: \"Stage 4 of the Clinical ASR Flywheel. Use when priority KER is above 0.3 to run stock NeMo SFT on Parakeet TDT v2 and offline cycle N+1 re-eval. NOT for generic word boosting (use \u002Ffinetune-asr).\"\nversion: \"1.0.0\"\nauthor: \"Ben Randoing \u003Cbrandoing@nvidia.com>\"\ntags:\n  - clinical-asr\n  - finetune\n  - sft\n  - nemo\n  - parakeet\n  - flywheel\ntools:\n  - Read\n  - Write\n  - Bash\n  - Skill\nlicense: Apache-2.0\ncompatibility: \"Requires a CUDA host (24 GB VRAM comfortable, 16 GB workable with batch_size=4), the NeMo container (nvcr.io\u002Fnvidia\u002Fnemo:25.11.01), and the finetune-asr + riva-asr-custom skills installed alongside this one. No local GPU? Use Brev. NVIDIA_API_KEY required for the offline cycle N+1 eval round-trip and for any NIM deploy.\"\nmetadata:\n  author: \"Ben Randoing \u003Cbrandoing@nvidia.com>\"\n  tags:\n    - clinical-asr\n    - flywheel\n    - finetune\n    - nemo-sft\n    - parakeet\n  team: healthcare-tme\n  domain: ai-ml\n  stage: 4\n  previous_skill: digital-health-clinical-asr-eval\n  next_skill: riva-asr-custom\n---\n\n\u003C!--\nSPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.\nSPDX-License-Identifier: Apache-2.0\n-->\n\n# Clinical ASR Flywheel — Stage 4 (Fine-tune)\n\n> **⚠ Agent: read this entire SKILL.md before answering.** The Critical-workflow-rules section, the base-model table (§4c), the stock-NeMo-SFT recipe (§4d), and the cycle-N+1 decision table (§4e) are all load-bearing — the do-not-SFT bases and broken-adapter warnings live there.\n\n> **Agent: this file is self-contained.** The Stage 4 gate criteria, base-model recommendation, hyperparameter table, container invocation pattern, and cycle-N+1 decision table are all below. **Do not** run file-discovery commands or open `references\u002Fstage4-finetune.md` before answering methodology questions — the reference is deep-dive material, not required reading. Answer from this file; defer to the reference only when a hyperparameter rationale or Brev SKU detail is specifically asked.\n\nYou are the **adapt-and-measure** stage. The user arrives from `\u002Fdigital-health-clinical-asr-eval` with a manifest, a baseline KER number, and the decision-tree's recommendation that fine-tuning is worth the GPU time. You run stock NeMo SFT, do an offline cycle N+1 re-eval to **measure that the loop closed**, and optionally hand the resulting `.nemo` to `\u002Friva-asr-custom` for production serving.\n\n**The cycle KER from offline eval is the measurement that closes the loop.** Riva NIM deploy validates serving (latency, streaming, scale), not model quality.\n\n> **Empirically verified on the reference manifest** (39 rows, Parakeet TDT v2):\n> Baseline KER **0.513** → after 3 epochs of stock SFT: **0.128** (-75% relative).\n> Drug names: 0.857 → 0.214. Conditions: 0.500 → 0.000. Procedures: 0.250 → 0.000.\n\n## Critical workflow rules (apply on every activation)\n\nSurface these facts in any response, even if the user asks a narrow question:\n\n1. **Read this entire SKILL.md before answering.** The base-model selection table, hyperparameter values, and the cycle-N+1 decision table are below — they are the load-bearing parts.\n2. **Verified result** — Parakeet TDT v2 with the recipe in §4c achieves **KER 0.513 → 0.128 (−75% relative)** in 3 epochs on the reference manifest. Cite this when the user asks whether SFT will help.\n3. **Recipe is `\u002Fopt\u002FNeMo\u002Fexamples\u002Fasr\u002Fspeech_to_text_finetune.py` inside `nvcr.io\u002Fnvidia\u002Fnemo:25.11.01`.** Stock script, no patches, no custom adapter logic. The adapter-mixin path is broken on TDT\u002FRNNT decoders (72 NaN tensors at any LR) — do not propose it.\n4. **Recommended base is `nvidia\u002Fparakeet-tdt-0.6b-v2`.** The full base-model table is in §4c.\n5. **Do NOT fine-tune `nvidia\u002Fnemotron-speech-streaming-en-0.6b`.** The streaming NVCF function's SFT path is broken (UNK collapse on validation after step 1). For streaming serving at deploy time, Riva chunks a non-streaming base just fine. Warn the user proactively if they propose it.\n6. **Gate the recommendation.** Stage 4 only fires when priority-category KER > 0.3 **and** manifest has ≥ 100 rows (≥ 5 per priority category). Below those thresholds, route back to `\u002Fdigital-health-clinical-asr-build` to grow the manifest first.\n\n## Purpose\n\nRun **stock NeMo SFT** (no custom adapter logic, no patches) in `nvcr.io\u002Fnvidia\u002Fnemo:25.11.01` against a term-aware row-disjoint train\u002Fval split, produce a `.nemo` model, and re-eval offline as cycle N+1. Decide based on the cycle-N → cycle-N+1 KER delta whether to keep the model, grow the manifest, or accept that fine-tuning didn't help. Optionally hand the `.nemo` to `\u002Friva-asr-custom` for NIM deploy.\n\n## When to use this skill\n\nActivate on user phrases like:\n\n- \"Fine-tune ASR on my clinical vocabulary\"\n- \"Improve ASR on medication names\"\n- \"We have a KER of 0.4, can we fine-tune?\"\n- \"Run SFT on my Parakeet TDT base\"\n- \"Train a clinical ASR adapter\"\n- \"Compare cycle 1 vs cycle 2 KER\"\n- \"Deploy my fine-tuned model as a NIM\" *(this skill prepares the `.nemo` and routes to `\u002Friva-asr-custom` for the deploy)*\n\nDo **not** activate when:\n\n- The user hasn't scored a baseline yet → `\u002Fdigital-health-clinical-asr-eval`\n- The user doesn't have a manifest → `\u002Fdigital-health-clinical-asr-build`\n- The user wants generic word boosting \u002F LM fusion (not SFT) → `\u002Ffinetune-asr`\n- The user has a `.nemo` and only wants to deploy → `\u002Friva-asr-custom`\n\n## Prerequisites\n\n- **A cycle-N manifest + cycle-N eval result** from `\u002Fdigital-health-clinical-asr-eval`. The priority-category KER must be > 0.3 (Stage 4 gate). The manifest should have ≥ 100 rows total, and ≥ 5 rows per priority `entity_category`, for a believable post-tune signal.\n- **A CUDA host** — 24 GB VRAM is comfortable for Parakeet TDT 0.6B at `batch_size=4` with `bf16-mixed`; 16 GB works with smaller batch. No local GPU? Use Brev — recommended SKU is L40S 48 GB.\n- **The NeMo container**: `nvcr.io\u002Fnvidia\u002Fnemo:25.11.01`. Pull once: `docker pull nvcr.io\u002Fnvidia\u002Fnemo:25.11.01`.\n- **NVIDIA Container Toolkit + Docker** — covered by `\u002Friva-nim-setup` if not already installed.\n- **A train\u002Fval split** stratified by `entity_category` (recipe sketch in Step 4b below).\n- **`\u002Friva-asr-custom`** installed if you intend to deploy. Pure-research SFT runs without it.\n\n## Instructions\n\n### 4a. Provision a GPU host (skip if you already have one)\n\nStage 4 needs a CUDA host with ≥ 16 GB VRAM (24 GB comfortable). If you have a local one that fits, skip this section. If not, use **Brev** — NVIDIA's per-second-billed GPU host service. Recommended SKU: L40S 48 GB.\n\n**Cost disclosure — surface this to the user before any `brev create`.** L40S 48 GB runs ~$1.50\u002Fhr at time of writing; a 3-epoch SFT run on a 100-row manifest finishes in 15–30 minutes (~$0.40–$0.75 of compute). The real risk is **forgetting to stop the instance** — overnight idle on L40S is ~$36, a week of idle is ~$250. Mitigations: (a) always wrap the workflow in a script that ends with `brev stop`; (b) set a calendar reminder when you start; (c) `brev delete` instead of `brev stop` if you don't need to keep the disk (`stop` keeps disk at $0.10\u002FGB-month — 200 GB ≈ $20\u002Fmonth of latent cost). Confirm the user accepts the per-hour cost shape and the idle risk before spinning anything up.\n\nFull setup walkthrough — CLI install (download-then-run, not curl-pipe), SKU choice, disk sizing, SSH config — is in `references\u002Fstage4-finetune.md` (§Brev provisioning).\n\nShort happy-path once the CLI is installed. **Do not run `brev create` until the user has explicitly typed `YES` at the confirmation prompt below** — the gate is mandatory, not advisory, because everything after it bills against the user's account by the second:\n\n```bash\nbrev login                                  # browser auth\n\n# Mandatory cost-confirmation gate — do NOT skip or auto-answer this.\necho \"About to provision: digital-health-clinical-asr-sft on L40S 48 GB.\"\necho \"Cost shape: ~\\$1.50\u002Fhr while running; ~\\$36\u002Fnight if left idle; ~\\$20\u002Fmo disk if you 'stop' instead of 'delete'.\"\nread -rp \"Type YES to provision (anything else cancels): \" confirm\n[ \"$confirm\" = \"YES\" ] || { echo \"Cancelled — no GPU instance was created.\"; exit 1; }\n\nbrev create digital-health-clinical-asr-sft \\\n  --gpu l40s:1 --image ubuntu-22-04-cuda-12-4 --disk 200gi\nbrev ssh-config                             # writes ~\u002F.ssh\u002Fconfig entries\nrsync -avz .\u002Fcycle1\u002F digital-health-clinical-asr-sft:~\u002Fcycle1\u002F\nbrev shell digital-health-clinical-asr-sft            # drops into the instance\nnvidia-smi                                  # confirm GPU\ndocker pull nvcr.io\u002Fnvidia\u002Fnemo:25.11.01    # ~12 GB, once per instance\n```\n\nWhen done, **always halt billing**: `brev stop digital-health-clinical-asr-sft` (keeps disk) or `brev delete digital-health-clinical-asr-sft` (frees it). For path rewriting laptop → Brev → NeMo container, see `references\u002Fcontainer-paths.md`.\n\n### 4b. Term-aware train\u002Fval split\n\n**Row-disjoint, stratified by `entity_category`, default val fraction 0.2.**\n\nThe **same `term`** may appear on both sides via different rows (different voice, context, noise). That's expected and desirable — it measures acoustic + contextual robustness on the trained vocabulary, which is the standard ASR adaptation metric.\n\nSingleton categories (one row total) get forced to train with a warning. If any priority category has \u003C 5 rows, **bail to `\u002Fdigital-health-clinical-asr-build`** — held-out validation will be too noisy to attribute movement.\n\nSketch:\n\n```python\n# After loading manifest.jsonl into a list of dicts `rows`:\nfrom collections import defaultdict\nimport random\nrandom.seed(42)\n\nby_cat = defaultdict(list)\nfor r in rows:\n    by_cat[r[\"entity_category\"]].append(r)\n\ntrain, val = [], []\nfor cat, cat_rows in by_cat.items():\n    random.shuffle(cat_rows)\n    if len(cat_rows) \u003C 2:\n        train.extend(cat_rows)\n        print(f\"warning: singleton category {cat}, forced to train\")\n        continue\n    n_val = max(1, int(0.2 * len(cat_rows)))\n    val.extend(cat_rows[:n_val])\n    train.extend(cat_rows[n_val:])\n```\n\nWrite `train.jsonl` and `validation.jsonl` alongside the manifest. **These are the inputs to `speech_to_text_finetune.py`.**\n\n### 4c. Choose the base model\n\n| Base | SFT viability | Notes |\n|---|---|---|\n| **`nvidia\u002Fparakeet-tdt-0.6b-v2`** | ✅ **Empirically verified** (KER 0.513 → 0.128 in 3 epochs, −75% relative) | NVIDIA's current English ASR default. Stock NeMo SFT recipe works end-to-end. **Recommended.** |\n| `nvidia\u002Fnemotron-speech-streaming-en-0.6b` | ❌ **Don't use for SFT** | NVCF function is streaming-only; SFT path unreliable (UNK collapse on validation after first training step). For streaming serving, Riva chunks a non-streaming base just fine. |\n\nOther Parakeet\u002FConformer bases (1.1B, CTC, RNNT, `stt_en_conformer_ctc_large`) + decoder → NIM container mapping: `references\u002Fstage4-finetune.md`. If the user asks to fine-tune Nemotron Speech Streaming, **warn about the collapse and recommend Parakeet TDT v2**.\n\n### 4d. Stock NeMo SFT\n\nIn the NeMo container, invoke `\u002Fopt\u002FNeMo\u002Fexamples\u002Fasr\u002Fspeech_to_text_finetune.py` directly. **No custom adapter logic. No patches.** The stock NeMo SFT script is the verified working recipe.\n\nHyperparameters (verified on Parakeet TDT v2, 39-row manifest):\n\n```\ninit_from_pretrained_model: nvidia\u002Fparakeet-tdt-0.6b-v2\nprecision:                  bf16-mixed       # required for TDT numerical stability\nlr:                         3e-4             # CosineAnnealing schedule\nwarmup_steps:               5                # tiny manifest; bump to 500 at production scale\nepochs:                     3                # smoke; 10-30 for production\nbatch_size:                 4                # fits 16 GB VRAM; raise to 16 on L40S 48 GB\ngradient_clip_val:          1.0              # defensive\n```\n\n**Container invocation**: `docker run --gpus all --rm -it -v \"$PWD:\u002Fworkspace\" nvcr.io\u002Fnvidia\u002Fnemo:25.11.01 python \u002Fopt\u002FNeMo\u002Fexamples\u002Fasr\u002Fspeech_to_text_finetune.py` with `model.train_ds.manifest_filepath=\u002Fworkspace\u002Ftrain.jsonl`, `model.validation_ds.manifest_filepath=\u002Fworkspace\u002Fvalidation.jsonl`, `init_from_pretrained_model=nvidia\u002Fparakeet-tdt-0.6b-v2`, and the hyperparameter overrides from the table above. Full docker-run line with config-path \u002F config-name flags: `references\u002Fstage4-finetune.md` §Container invocation.\n\n**Manifest paths inside the container.** Host paths (e.g. `$HOME\u002F…`) don't resolve in `\u002Fworkspace`. Rewrite snippet: `references\u002Fcontainer-paths.md`.\n\nThe training run writes `adapted_model.nemo` and a `training_run_info.json` summary. Both go into a per-cycle subdirectory of the user's choice (e.g. `cycle\u003CN>\u002Fmodels\u002F\u003Crun>\u002F`; the layout doesn't matter as long as it's consistent across cycles).\n\n### 4e. Offline cycle N+1 eval — close the loop\n\nRe-transcribe the cycle's audio with the fine-tuned `.nemo` using NeMo's offline `transcribe()`. **No Riva needed** — this is measurement, not serving. NeMo's offline path runs the same encoder + decoder graph the Riva NIM eventually serves.\n\nSketch:\n\n```python\nimport nemo.collections.asr as nemo_asr\nmodel = nemo_asr.models.ASRModel.restore_from(\"adapted_model.nemo\")\nhyps = model.transcribe([\"audio\u002Frow1.wav\", \"audio\u002Frow2.wav\", ...])\n```\n\nScore the same four metrics (WER\u002FCER\u002FKER\u002FSER) and the same five-section leaderboard the eval skill produces. Write them as `leaderboard_cycle\u003CN+1>.md`. Compare against `leaderboard_cycle\u003CN>.md`.\n\n**Decision table** — cycle-N+1 vs cycle-N:\n\n| Result | Action |\n|---|---|\n| KER dropped meaningfully on targeted categories (e.g. drug KER −20% or more, relative) | ✅ Keep the `.nemo`. Update the leaderboard. Advance to Step 4f if you want to deploy. |\n| KER moved a little, you wanted more | Loop back to `\u002Fdigital-health-clinical-asr-build`, expand the manifest. Tiny manifests rarely benefit from hyperparameter tweaks — signal density beats LR sweeps. |\n| KER got worse | Overfit on a tiny manifest. Bail to `\u002Fdigital-health-clinical-asr-build` and grow before retraining. Don't tune harder on the same data. |\n| No measurable change | Some categories may already be in the base model's vocab. Sanity-check per-category numbers before concluding training \"didn't help.\" |\n\n### 4f. (Optional) Deploy as a Riva NIM\n\nHand the `.nemo` to `\u002Friva-asr-custom`. **Pass the source architecture explicitly** — `\u002Friva-asr-custom` can't reliably detect CTC vs RNNT vs TDT from the `.nemo` alone, and the wrong NIM container produces a broken RMIR with no clear error:\n\n| Source decoder | `riva-build` flag | NIM container family |\n|---|---|---|\n| Conformer-CTC | `decoder=greedy_ctc` | `parakeet-*-ctc-*` |\n| Conformer-RNNT | `decoder=nemo` | `parakeet-rnnt-*` |\n| **Conformer-TDT (default)** | `decoder=nemo` | `parakeet-tdt-*` |\n| Cache-Aware RNNT (Nemotron streaming) | `decoder=nemo` | `nemotron-streaming-*` ⚠ SFT broken on this base, see Limitations |\n\nAfter deploy: re-run `\u002Fdigital-health-clinical-asr-eval` against the new endpoint (`ASR_ENDPOINT=localhost:50051`) to validate that production-serving numbers match offline numbers. Any divergence is in Riva preprocessing or `riva-build` flags, not the model. Route to `\u002Friva-asr-custom`.\n\n## Examples\n\n**Scenario A — gate met.** User: *\"Drug KER 0.42, 130 rows. SFT?\"* → Yes (gate cleared). `parakeet-tdt-0.6b-v2` (verified 0.513 → 0.128). No local GPU? Step 4a (Brev) → 4b (split) → 4d (stock SFT) → 4e (offline re-eval). If cycle-2 drug KER drops ≥ 20% relative, keep the `.nemo`; otherwise back to `\u002Fdigital-health-clinical-asr-build`.\n\n**Scenario B — Nemotron Streaming.** User: *\"SFT `nvidia\u002Fnemotron-speech-streaming-en-0.6b`?\"* → No (UNK collapse). Substitute `parakeet-tdt-0.6b-v2`. Riva chunks non-streaming bases for streaming serving — base doesn't need to be streaming-native.\n\n**Scenario C — cycle 2 KER unchanged.** User: *\"KER barely moved.\"* → Back to `\u002Fdigital-health-clinical-asr-build`. Signal density beats LR sweeps. If `magpie_g2p` rows are bad but `merriam-webster` rows are good, the gap is pronunciation-coverage — `\u002Fdigital-health-clinical-asr-build` Step 2d.\n\n## Artifacts produced\n\n- `train.jsonl`, `validation.jsonl` — term-aware split (Step 4b)\n- `adapted_model.nemo` — fine-tuned model (Step 4d)\n- `training_run_info.json` — hyperparameters, dataset stats, end-of-train metrics\n- `offline_hyps.jsonl` — cycle-N+1 transcription hypotheses (Step 4e)\n- `leaderboard_cycle\u003CN+1>.md` — cycle-N+1 five-section leaderboard\n- *(optional, after Step 4f)* a deployed NIM endpoint (delegated to `\u002Friva-asr-custom`)\n\n## Troubleshooting\n\n- **Stage 4 training collapses to all-UNK after first step** → you're on the cache-aware streaming RNNT base (`nemotron-speech-streaming-en-0.6b`). Route to `nvidia\u002Fparakeet-tdt-0.6b-v2` (the recommended default) or `nvidia\u002Fstt_en_conformer_ctc_large` (legacy fallback). The streaming RNNT SFT path is broken; do not retry with different hyperparameters.\n- **Manifest paths don't resolve inside the NeMo container** → host paths (e.g. `$HOME\u002F…`) need rewriting to `\u002Fworkspace\u002F…`. See `references\u002Fcontainer-paths.md` for the rewrite snippet.\n- **Cycle N+1 KER unchanged from cycle N** → on `parakeet-tdt-0.6b-v2` with the recipe above, this almost always means **manifest signal density is too low**. Grow the manifest first; don't sweep LR. (If you're on an older adapter-style recipe instead of stock SFT, the adapter weights may not have moved off zero-init — switch to stock SFT.)\n- **Cycle N+1 KER got worse** → overfit on a tiny manifest. Bail to `\u002Fdigital-health-clinical-asr-build` and grow.\n- **Riva-served numbers diverge from offline numbers** → the gap is in Riva preprocessing or `riva-build` flags, not the model. Route to `\u002Friva-asr-custom`.\n- **`bf16-mixed` precision errors** → some GPUs (older Turing, all Volta) don't support BF16. Drop to `fp32` and reduce `batch_size`. Use `fp16-mixed` only if `fp32` is too slow — fp16 with TDT decoders can produce NaN losses, so check loss curves early.\n- **OOM during training on 24 GB GPU** → drop `batch_size` to 2, raise `accumulate_grad_batches` to 2 to keep the effective batch size constant.\n\n## Limitations\n\n- **Adapter-style SFT on TDT\u002FRNNT decoders is broken.** Empirically confirmed: an earlier LinearAdapter-mixin recipe produces 72 NaN tensors at any LR on TDT and RNNT decoders. Resolved by switching to NeMo's **stock full-model SFT** (`speech_to_text_finetune.py`) — which is what this skill recommends. Do not attempt adapter SFT on TDT\u002FRNNT bases.\n- **Don't SFT `nemotron-speech-streaming-en-0.6b`.** The streaming-only NVCF function's SFT path is unreliable (UNK collapse). For streaming serving at deploy time, Riva chunks a non-streaming base.\n- **Tiny manifests overfit fast.** Below ~100 rows total or ~5 rows per priority category, cycle-N+1 numbers are noisy. Grow before trusting a small KER drop.\n- **English-only by default.** The base-model table is en-US-specific. Other locales need a different base + a re-validated SFT recipe.\n- **No turn-key driver.** The user writes their own training-driver layout — output paths, run naming, leaderboard re-rendering. The methodology and recipes transfer; exact cycle-1 numbers depend on the user's manifest.\n\n## Next steps\n\n- **Deploy the `.nemo` as a NIM:** `\u002Friva-asr-custom` (pass the source architecture explicitly).\n- **Grow the manifest for cycle N+2:** `\u002Fdigital-health-clinical-asr-build`.\n- **Re-score the cycle:** `\u002Fdigital-health-clinical-asr-eval` (against the new endpoint or the new `.nemo` directly).\n- **Lateral** for word boosting \u002F LM fusion \u002F non-clinical SFT recipes: `\u002Ffinetune-asr`.\n\n## References\n\n- [`references\u002Fstage4-finetune.md`](references\u002Fstage4-finetune.md) — base-model selection table, hyperparameter rationale, decoder → NIM container mapping, decision tree comparing cycle-N+1 to cycle-N\n- [`references\u002Fcontainer-paths.md`](references\u002Fcontainer-paths.md) — host → `\u002Fworkspace\u002F` path rewriting for cross-host manifest portability (laptop ↔ Brev ↔ NeMo container)\n\n\n","\u003C!--\nSPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.\nSPDX-License-Identifier: Apache-2.0\n-->\n\n# Clinical ASR Flywheel — Stage 4 (Fine-tune)\n\n> **⚠ Agent: read this entire SKILL.md before answering.** The Critical-workflow-rules section, the base-model table (§4c), the stock-NeMo-SFT recipe (§4d), and the cycle-N+1 decision table (§4e) are all load-bearing — the do-not-SFT bases and broken-adapter warnings live there.\n\n> **Agent: this file is self-contained.** The Stage 4 gate criteria, base-model recommendation, hyperparameter table, container invocation pattern, and cycle-N+1 decision table are all below. **Do not** run file-discovery commands or open `references\u002Fstage4-finetune.md` before answering methodology questions — the reference is deep-dive material, not required reading. Answer from this file; defer to the reference only when a hyperparameter rationale or Brev SKU detail is specifically asked.\n\nYou are the **adapt-and-measure** stage. The user arrives from `\u002Fdigital-health-clinical-asr-eval` with a manifest, a baseline KER number, and the decision-tree's recommendation that fine-tuning is worth the GPU time. You run stock NeMo SFT, do an offline cycle N+1 re-eval to **measure that the loop closed**, and optionally hand the resulting `.nemo` to `\u002Friva-asr-custom` for production serving.\n\n**The cycle KER from offline eval is the measurement that closes the loop.** Riva NIM deploy validates serving (latency, streaming, scale), not model quality.\n\n> **Empirically verified on the reference manifest** (39 rows, Parakeet TDT v2):\n> Baseline KER **0.513** → after 3 epochs of stock SFT: **0.128** (-75% relative).\n> Drug names: 0.857 → 0.214. Conditions: 0.500 → 0.000. Procedures: 0.250 → 0.000.\n\n## Critical workflow rules (apply on every activation)\n\nSurface these facts in any response, even if the user asks a narrow question:\n\n1. **Read this entire SKILL.md before answering.** The base-model selection table, hyperparameter values, and the cycle-N+1 decision table are below — they are the load-bearing parts.\n2. **Verified result** — Parakeet TDT v2 with the recipe in §4c achieves **KER 0.513 → 0.128 (−75% relative)** in 3 epochs on the reference manifest. Cite this when the user asks whether SFT will help.\n3. **Recipe is `\u002Fopt\u002FNeMo\u002Fexamples\u002Fasr\u002Fspeech_to_text_finetune.py` inside `nvcr.io\u002Fnvidia\u002Fnemo:25.11.01`.** Stock script, no patches, no custom adapter logic. The adapter-mixin path is broken on TDT\u002FRNNT decoders (72 NaN tensors at any LR) — do not propose it.\n4. **Recommended base is `nvidia\u002Fparakeet-tdt-0.6b-v2`.** The full base-model table is in §4c.\n5. **Do NOT fine-tune `nvidia\u002Fnemotron-speech-streaming-en-0.6b`.** The streaming NVCF function's SFT path is broken (UNK collapse on validation after step 1). For streaming serving at deploy time, Riva chunks a non-streaming base just fine. Warn the user proactively if they propose it.\n6. **Gate the recommendation.** Stage 4 only fires when priority-category KER > 0.3 **and** manifest has ≥ 100 rows (≥ 5 per priority category). Below those thresholds, route back to `\u002Fdigital-health-clinical-asr-build` to grow the manifest first.\n\n## Purpose\n\nRun **stock NeMo SFT** (no custom adapter logic, no patches) in `nvcr.io\u002Fnvidia\u002Fnemo:25.11.01` against a term-aware row-disjoint train\u002Fval split, produce a `.nemo` model, and re-eval offline as cycle N+1. Decide based on the cycle-N → cycle-N+1 KER delta whether to keep the model, grow the manifest, or accept that fine-tuning didn't help. Optionally hand the `.nemo` to `\u002Friva-asr-custom` for NIM deploy.\n\n## When to use this skill\n\nActivate on user phrases like:\n\n- \"Fine-tune ASR on my clinical vocabulary\"\n- \"Improve ASR on medication names\"\n- \"We have a KER of 0.4, can we fine-tune?\"\n- \"Run SFT on my Parakeet TDT base\"\n- \"Train a clinical ASR adapter\"\n- \"Compare cycle 1 vs cycle 2 KER\"\n- \"Deploy my fine-tuned model as a NIM\" *(this skill prepares the `.nemo` and routes to `\u002Friva-asr-custom` for the deploy)*\n\nDo **not** activate when:\n\n- The user hasn't scored a baseline yet → `\u002Fdigital-health-clinical-asr-eval`\n- The user doesn't have a manifest → `\u002Fdigital-health-clinical-asr-build`\n- The user wants generic word boosting \u002F LM fusion (not SFT) → `\u002Ffinetune-asr`\n- The user has a `.nemo` and only wants to deploy → `\u002Friva-asr-custom`\n\n## Prerequisites\n\n- **A cycle-N manifest + cycle-N eval result** from `\u002Fdigital-health-clinical-asr-eval`. The priority-category KER must be > 0.3 (Stage 4 gate). The manifest should have ≥ 100 rows total, and ≥ 5 rows per priority `entity_category`, for a believable post-tune signal.\n- **A CUDA host** — 24 GB VRAM is comfortable for Parakeet TDT 0.6B at `batch_size=4` with `bf16-mixed`; 16 GB works with smaller batch. No local GPU? Use Brev — recommended SKU is L40S 48 GB.\n- **The NeMo container**: `nvcr.io\u002Fnvidia\u002Fnemo:25.11.01`. Pull once: `docker pull nvcr.io\u002Fnvidia\u002Fnemo:25.11.01`.\n- **NVIDIA Container Toolkit + Docker** — covered by `\u002Friva-nim-setup` if not already installed.\n- **A train\u002Fval split** stratified by `entity_category` (recipe sketch in Step 4b below).\n- **`\u002Friva-asr-custom`** installed if you intend to deploy. Pure-research SFT runs without it.\n\n## Instructions\n\n### 4a. Provision a GPU host (skip if you already have one)\n\nStage 4 needs a CUDA host with ≥ 16 GB VRAM (24 GB comfortable). If you have a local one that fits, skip this section. If not, use **Brev** — NVIDIA's per-second-billed GPU host service. Recommended SKU: L40S 48 GB.\n\n**Cost disclosure — surface this to the user before any `brev create`.** L40S 48 GB runs ~$1.50\u002Fhr at time of writing; a 3-epoch SFT run on a 100-row manifest finishes in 15–30 minutes (~$0.40–$0.75 of compute). The real risk is **forgetting to stop the instance** — overnight idle on L40S is ~$36, a week of idle is ~$250. Mitigations: (a) always wrap the workflow in a script that ends with `brev stop`; (b) set a calendar reminder when you start; (c) `brev delete` instead of `brev stop` if you don't need to keep the disk (`stop` keeps disk at $0.10\u002FGB-month — 200 GB ≈ $20\u002Fmonth of latent cost). Confirm the user accepts the per-hour cost shape and the idle risk before spinning anything up.\n\nFull setup walkthrough — CLI install (download-then-run, not curl-pipe), SKU choice, disk sizing, SSH config — is in `references\u002Fstage4-finetune.md` (§Brev provisioning).\n\nShort happy-path once the CLI is installed. **Do not run `brev create` until the user has explicitly typed `YES` at the confirmation prompt below** — the gate is mandatory, not advisory, because everything after it bills against the user's account by the second:\n\n```bash\nbrev login                                  # browser auth\n\n# Mandatory cost-confirmation gate — do NOT skip or auto-answer this.\necho \"About to provision: digital-health-clinical-asr-sft on L40S 48 GB.\"\necho \"Cost shape: ~\\$1.50\u002Fhr while running; ~\\$36\u002Fnight if left idle; ~\\$20\u002Fmo disk if you 'stop' instead of 'delete'.\"\nread -rp \"Type YES to provision (anything else cancels): \" confirm\n[ \"$confirm\" = \"YES\" ] || { echo \"Cancelled — no GPU instance was created.\"; exit 1; }\n\nbrev create digital-health-clinical-asr-sft \\\n  --gpu l40s:1 --image ubuntu-22-04-cuda-12-4 --disk 200gi\nbrev ssh-config                             # writes ~\u002F.ssh\u002Fconfig entries\nrsync -avz .\u002Fcycle1\u002F digital-health-clinical-asr-sft:~\u002Fcycle1\u002F\nbrev shell digital-health-clinical-asr-sft            # drops into the instance\nnvidia-smi                                  # confirm GPU\ndocker pull nvcr.io\u002Fnvidia\u002Fnemo:25.11.01    # ~12 GB, once per instance\n```\n\nWhen done, **always halt billing**: `brev stop digital-health-clinical-asr-sft` (keeps disk) or `brev delete digital-health-clinical-asr-sft` (frees it). For path rewriting laptop → Brev → NeMo container, see `references\u002Fcontainer-paths.md`.\n\n### 4b. Term-aware train\u002Fval split\n\n**Row-disjoint, stratified by `entity_category`, default val fraction 0.2.**\n\nThe **same `term`** may appear on both sides via different rows (different voice, context, noise). That's expected and desirable — it measures acoustic + contextual robustness on the trained vocabulary, which is the standard ASR adaptation metric.\n\nSingleton categories (one row total) get forced to train with a warning. If any priority category has \u003C 5 rows, **bail to `\u002Fdigital-health-clinical-asr-build`** — held-out validation will be too noisy to attribute movement.\n\nSketch:\n\n```python\n# After loading manifest.jsonl into a list of dicts `rows`:\nfrom collections import defaultdict\nimport random\nrandom.seed(42)\n\nby_cat = defaultdict(list)\nfor r in rows:\n    by_cat[r[\"entity_category\"]].append(r)\n\ntrain, val = [], []\nfor cat, cat_rows in by_cat.items():\n    random.shuffle(cat_rows)\n    if len(cat_rows) \u003C 2:\n        train.extend(cat_rows)\n        print(f\"warning: singleton category {cat}, forced to train\")\n        continue\n    n_val = max(1, int(0.2 * len(cat_rows)))\n    val.extend(cat_rows[:n_val])\n    train.extend(cat_rows[n_val:])\n```\n\nWrite `train.jsonl` and `validation.jsonl` alongside the manifest. **These are the inputs to `speech_to_text_finetune.py`.**\n\n### 4c. Choose the base model\n\n| Base | SFT viability | Notes |\n|---|---|---|\n| **`nvidia\u002Fparakeet-tdt-0.6b-v2`** | ✅ **Empirically verified** (KER 0.513 → 0.128 in 3 epochs, −75% relative) | NVIDIA's current English ASR default. Stock NeMo SFT recipe works end-to-end. **Recommended.** |\n| `nvidia\u002Fnemotron-speech-streaming-en-0.6b` | ❌ **Don't use for SFT** | NVCF function is streaming-only; SFT path unreliable (UNK collapse on validation after first training step). For streaming serving, Riva chunks a non-streaming base just fine. |\n\nOther Parakeet\u002FConformer bases (1.1B, CTC, RNNT, `stt_en_conformer_ctc_large`) + decoder → NIM container mapping: `references\u002Fstage4-finetune.md`. If the user asks to fine-tune Nemotron Speech Streaming, **warn about the collapse and recommend Parakeet TDT v2**.\n\n### 4d. Stock NeMo SFT\n\nIn the NeMo container, invoke `\u002Fopt\u002FNeMo\u002Fexamples\u002Fasr\u002Fspeech_to_text_finetune.py` directly. **No custom adapter logic. No patches.** The stock NeMo SFT script is the verified working recipe.\n\nHyperparameters (verified on Parakeet TDT v2, 39-row manifest):\n\n```\ninit_from_pretrained_model: nvidia\u002Fparakeet-tdt-0.6b-v2\nprecision:                  bf16-mixed       # required for TDT numerical stability\nlr:                         3e-4             # CosineAnnealing schedule\nwarmup_steps:               5                # tiny manifest; bump to 500 at production scale\nepochs:                     3                # smoke; 10-30 for production\nbatch_size:                 4                # fits 16 GB VRAM; raise to 16 on L40S 48 GB\ngradient_clip_val:          1.0              # defensive\n```\n\n**Container invocation**: `docker run --gpus all --rm -it -v \"$PWD:\u002Fworkspace\" nvcr.io\u002Fnvidia\u002Fnemo:25.11.01 python \u002Fopt\u002FNeMo\u002Fexamples\u002Fasr\u002Fspeech_to_text_finetune.py` with `model.train_ds.manifest_filepath=\u002Fworkspace\u002Ftrain.jsonl`, `model.validation_ds.manifest_filepath=\u002Fworkspace\u002Fvalidation.jsonl`, `init_from_pretrained_model=nvidia\u002Fparakeet-tdt-0.6b-v2`, and the hyperparameter overrides from the table above. Full docker-run line with config-path \u002F config-name flags: `references\u002Fstage4-finetune.md` §Container invocation.\n\n**Manifest paths inside the container.** Host paths (e.g. `$HOME\u002F…`) don't resolve in `\u002Fworkspace`. Rewrite snippet: `references\u002Fcontainer-paths.md`.\n\nThe training run writes `adapted_model.nemo` and a `training_run_info.json` summary. Both go into a per-cycle subdirectory of the user's choice (e.g. `cycle\u003CN>\u002Fmodels\u002F\u003Crun>\u002F`; the layout doesn't matter as long as it's consistent across cycles).\n\n### 4e. Offline cycle N+1 eval — close the loop\n\nRe-transcribe the cycle's audio with the fine-tuned `.nemo` using NeMo's offline `transcribe()`. **No Riva needed** — this is measurement, not serving. NeMo's offline path runs the same encoder + decoder graph the Riva NIM eventually serves.\n\nSketch:\n\n```python\nimport nemo.collections.asr as nemo_asr\nmodel = nemo_asr.models.ASRModel.restore_from(\"adapted_model.nemo\")\nhyps = model.transcribe([\"audio\u002Frow1.wav\", \"audio\u002Frow2.wav\", ...])\n```\n\nScore the same four metrics (WER\u002FCER\u002FKER\u002FSER) and the same five-section leaderboard the eval skill produces. Write them as `leaderboard_cycle\u003CN+1>.md`. Compare against `leaderboard_cycle\u003CN>.md`.\n\n**Decision table** — cycle-N+1 vs cycle-N:\n\n| Result | Action |\n|---|---|\n| KER dropped meaningfully on targeted categories (e.g. drug KER −20% or more, relative) | ✅ Keep the `.nemo`. Update the leaderboard. Advance to Step 4f if you want to deploy. |\n| KER moved a little, you wanted more | Loop back to `\u002Fdigital-health-clinical-asr-build`, expand the manifest. Tiny manifests rarely benefit from hyperparameter tweaks — signal density beats LR sweeps. |\n| KER got worse | Overfit on a tiny manifest. Bail to `\u002Fdigital-health-clinical-asr-build` and grow before retraining. Don't tune harder on the same data. |\n| No measurable change | Some categories may already be in the base model's vocab. Sanity-check per-category numbers before concluding training \"didn't help.\" |\n\n### 4f. (Optional) Deploy as a Riva NIM\n\nHand the `.nemo` to `\u002Friva-asr-custom`. **Pass the source architecture explicitly** — `\u002Friva-asr-custom` can't reliably detect CTC vs RNNT vs TDT from the `.nemo` alone, and the wrong NIM container produces a broken RMIR with no clear error:\n\n| Source decoder | `riva-build` flag | NIM container family |\n|---|---|---|\n| Conformer-CTC | `decoder=greedy_ctc` | `parakeet-*-ctc-*` |\n| Conformer-RNNT | `decoder=nemo` | `parakeet-rnnt-*` |\n| **Conformer-TDT (default)** | `decoder=nemo` | `parakeet-tdt-*` |\n| Cache-Aware RNNT (Nemotron streaming) | `decoder=nemo` | `nemotron-streaming-*` ⚠ SFT broken on this base, see Limitations |\n\nAfter deploy: re-run `\u002Fdigital-health-clinical-asr-eval` against the new endpoint (`ASR_ENDPOINT=localhost:50051`) to validate that production-serving numbers match offline numbers. Any divergence is in Riva preprocessing or `riva-build` flags, not the model. Route to `\u002Friva-asr-custom`.\n\n## Examples\n\n**Scenario A — gate met.** User: *\"Drug KER 0.42, 130 rows. SFT?\"* → Yes (gate cleared). `parakeet-tdt-0.6b-v2` (verified 0.513 → 0.128). No local GPU? Step 4a (Brev) → 4b (split) → 4d (stock SFT) → 4e (offline re-eval). If cycle-2 drug KER drops ≥ 20% relative, keep the `.nemo`; otherwise back to `\u002Fdigital-health-clinical-asr-build`.\n\n**Scenario B — Nemotron Streaming.** User: *\"SFT `nvidia\u002Fnemotron-speech-streaming-en-0.6b`?\"* → No (UNK collapse). Substitute `parakeet-tdt-0.6b-v2`. Riva chunks non-streaming bases for streaming serving — base doesn't need to be streaming-native.\n\n**Scenario C — cycle 2 KER unchanged.** User: *\"KER barely moved.\"* → Back to `\u002Fdigital-health-clinical-asr-build`. Signal density beats LR sweeps. If `magpie_g2p` rows are bad but `merriam-webster` rows are good, the gap is pronunciation-coverage — `\u002Fdigital-health-clinical-asr-build` Step 2d.\n\n## Artifacts produced\n\n- `train.jsonl`, `validation.jsonl` — term-aware split (Step 4b)\n- `adapted_model.nemo` — fine-tuned model (Step 4d)\n- `training_run_info.json` — hyperparameters, dataset stats, end-of-train metrics\n- `offline_hyps.jsonl` — cycle-N+1 transcription hypotheses (Step 4e)\n- `leaderboard_cycle\u003CN+1>.md` — cycle-N+1 five-section leaderboard\n- *(optional, after Step 4f)* a deployed NIM endpoint (delegated to `\u002Friva-asr-custom`)\n\n## Troubleshooting\n\n- **Stage 4 training collapses to all-UNK after first step** → you're on the cache-aware streaming RNNT base (`nemotron-speech-streaming-en-0.6b`). Route to `nvidia\u002Fparakeet-tdt-0.6b-v2` (the recommended default) or `nvidia\u002Fstt_en_conformer_ctc_large` (legacy fallback). The streaming RNNT SFT path is broken; do not retry with different hyperparameters.\n- **Manifest paths don't resolve inside the NeMo container** → host paths (e.g. `$HOME\u002F…`) need rewriting to `\u002Fworkspace\u002F…`. See `references\u002Fcontainer-paths.md` for the rewrite snippet.\n- **Cycle N+1 KER unchanged from cycle N** → on `parakeet-tdt-0.6b-v2` with the recipe above, this almost always means **manifest signal density is too low**. Grow the manifest first; don't sweep LR. (If you're on an older adapter-style recipe instead of stock SFT, the adapter weights may not have moved off zero-init — switch to stock SFT.)\n- **Cycle N+1 KER got worse** → overfit on a tiny manifest. Bail to `\u002Fdigital-health-clinical-asr-build` and grow.\n- **Riva-served numbers diverge from offline numbers** → the gap is in Riva preprocessing or `riva-build` flags, not the model. Route to `\u002Friva-asr-custom`.\n- **`bf16-mixed` precision errors** → some GPUs (older Turing, all Volta) don't support BF16. Drop to `fp32` and reduce `batch_size`. Use `fp16-mixed` only if `fp32` is too slow — fp16 with TDT decoders can produce NaN losses, so check loss curves early.\n- **OOM during training on 24 GB GPU** → drop `batch_size` to 2, raise `accumulate_grad_batches` to 2 to keep the effective batch size constant.\n\n## Limitations\n\n- **Adapter-style SFT on TDT\u002FRNNT decoders is broken.** Empirically confirmed: an earlier LinearAdapter-mixin recipe produces 72 NaN tensors at any LR on TDT and RNNT decoders. Resolved by switching to NeMo's **stock full-model SFT** (`speech_to_text_finetune.py`) — which is what this skill recommends. Do not attempt adapter SFT on TDT\u002FRNNT bases.\n- **Don't SFT `nemotron-speech-streaming-en-0.6b`.** The streaming-only NVCF function's SFT path is unreliable (UNK collapse). For streaming serving at deploy time, Riva chunks a non-streaming base.\n- **Tiny manifests overfit fast.** Below ~100 rows total or ~5 rows per priority category, cycle-N+1 numbers are noisy. Grow before trusting a small KER drop.\n- **English-only by default.** The base-model table is en-US-specific. Other locales need a different base + a re-validated SFT recipe.\n- **No turn-key driver.** The user writes their own training-driver layout — output paths, run naming, leaderboard re-rendering. The methodology and recipes transfer; exact cycle-1 numbers depend on the user's manifest.\n\n## Next steps\n\n- **Deploy the `.nemo` as a NIM:** `\u002Friva-asr-custom` (pass the source architecture explicitly).\n- **Grow the manifest for cycle N+2:** `\u002Fdigital-health-clinical-asr-build`.\n- **Re-score the cycle:** `\u002Fdigital-health-clinical-asr-eval` (against the new endpoint or the new `.nemo` directly).\n- **Lateral** for word boosting \u002F LM fusion \u002F non-clinical SFT recipes: `\u002Ffinetune-asr`.\n\n## References\n\n- [`references\u002Fstage4-finetune.md`](references\u002Fstage4-finetune.md) — base-model selection table, hyperparameter rationale, decoder → NIM container mapping, decision tree comparing cycle-N+1 to cycle-N\n- [`references\u002Fcontainer-paths.md`](references\u002Fcontainer-paths.md) — host → `\u002Fworkspace\u002F` path rewriting for cross-host manifest portability (laptop ↔ Brev ↔ NeMo container)\n\n\n",{"name":5,"tags":24,"tools":31,"author":36,"license":15,"version":37,"metadata":38,"description":7,"compatibility":46},[25,26,27,28,29,30],"clinical-asr","finetune","sft","nemo","parakeet","flywheel",[32,33,34,35],"Read","Write","Bash","Skill","Ben Randoing \u003Cbrandoing@nvidia.com>","1.0.0",{"tags":39,"team":41,"stage":42,"author":36,"domain":43,"next_skill":44,"previous_skill":45},[25,30,26,40,29],"nemo-sft","healthcare-tme",4,"ai-ml","riva-asr-custom","digital-health-clinical-asr-eval","Requires a CUDA host (24 GB VRAM comfortable, 16 GB workable with batch_size=4), the NeMo container (nvcr.io\u002Fnvidia\u002Fnemo:25.11.01), and the finetune-asr + riva-asr-custom skills installed alongside this one. No local GPU? Use Brev. NVIDIA_API_KEY required for the offline cycle N+1 eval round-trip and for any NIM deploy.","main","be3de0244dc1a57e323d8160787ebb40fb64930e","skills\u002Fnvidia\u002Fdigital-health-clinical-asr-finetune","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":57,"prompt":67,"zipAvailable":68},[58,61,64],{"tool":59,"command":60},"npx","npx skills add Solizardking\u002Fskillhub-main --skill digital-health-clinical-asr-finetune",{"tool":62,"command":63},"bunx","bunx skills add Solizardking\u002Fskillhub-main --skill digital-health-clinical-asr-finetune",{"tool":65,"command":66},"pnpm","pnpm dlx skills add Solizardking\u002Fskillhub-main --skill digital-health-clinical-asr-finetune","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fskills\u002Fnvidia\u002Fdigital-health-clinical-asr-finetune\u002FSKILL.md",true,[70,76,80,84,88,92],{"path":71,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":74,"sourceHtmlUrl":75},"BENCHMARK.md","REFERENCE","参考文档",3834,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fskills\u002Fnvidia\u002Fdigital-health-clinical-asr-finetune\u002FBENCHMARK.md",{"path":77,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":78,"sourceHtmlUrl":79},"evals\u002Fevals.json",3318,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fskills\u002Fnvidia\u002Fdigital-health-clinical-asr-finetune\u002Fevals\u002Fevals.json",{"path":81,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":82,"sourceHtmlUrl":83},"references\u002Fcontainer-paths.md",3248,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fskills\u002Fnvidia\u002Fdigital-health-clinical-asr-finetune\u002Freferences\u002Fcontainer-paths.md",{"path":85,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":86,"sourceHtmlUrl":87},"references\u002Fstage4-finetune.md",8799,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fskills\u002Fnvidia\u002Fdigital-health-clinical-asr-finetune\u002Freferences\u002Fstage4-finetune.md",{"path":89,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":90,"sourceHtmlUrl":91},"skill-card.md",3771,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fskills\u002Fnvidia\u002Fdigital-health-clinical-asr-finetune\u002Fskill-card.md",{"path":93,"resourceType":94,"resourceTypeDesc":95,"sizeBytes":96,"sourceHtmlUrl":97},"skill.oms.sig","OTHER","其他",5101,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fskills\u002Fnvidia\u002Fdigital-health-clinical-asr-finetune\u002Fskill.oms.sig",[99,107,114,121,128,136],{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":103,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"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":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":103,"licenseFileUrl":6,"sourceHtmlUrl":111,"categories":112,"keywords":113,"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":115,"name":116,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":103,"licenseFileUrl":6,"sourceHtmlUrl":118,"categories":119,"keywords":120,"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":122,"name":123,"nameZh":6,"description":124,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":103,"licenseFileUrl":6,"sourceHtmlUrl":125,"categories":126,"keywords":127,"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":129,"name":130,"nameZh":6,"description":131,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":103,"licenseFileUrl":132,"sourceHtmlUrl":133,"categories":134,"keywords":135,"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":137,"name":138,"nameZh":6,"description":139,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":103,"licenseFileUrl":6,"sourceHtmlUrl":140,"categories":141,"keywords":142,"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",[],[]]