Logo : Digital Health Clinical Asr Eval

Digital Health Clinical Asr Eval

OrganisationPopulaire
NVIDIA
digital-health-clinical-asr-eval

Stage 3 of Clinical ASR Flywheel. Score a NeMo manifest, produce the five-section KER leaderboard (by-ipa_source diagnostic). Not for ASR auth (/riva-asr).

Présentation

ÉditeurNVIDIA
Dépôtskills
Nom de la compétencedigital-health-clinical-asr-eval
Étoiles
3.3K
Forks
397
Fichiers inclus
6
LicenceApache-2.0
Liens
  • Instructions en Markdown

    Un fichier SKILL.md que le modèle charge à la demande : il ne consomme donc des tokens que lorsqu’une demande correspond réellement à la compétence.

  • Compatible avec tous les LLM

    Les compétences IA sont rédigées en Markdown et non sous forme de code propre à un fournisseur. Elles fonctionnent donc avec GPT, Claude, Gemini, Grok ou un modèle local.

  • Fichiers inclus : 6

    Des scripts, des gabarits et des références que le modèle peut consulter pendant son travail. Les fichiers sont en lecture seule et ne sont jamais exécutés.

  • Open source

    Publiée par NVIDIA sur GitHub. Consultez les sources avant de l’installer.

Installation

Installez la compétence IA Digital Health Clinical Asr Eval dans TypingMind pour l’utiliser avec n’importe quel LLM, ou ajoutez-la à un autre agent capable de lire SKILL.md.

1

Installer dans TypingMind

TypingMind installe une compétence directement depuis son dossier GitHub : l’application lit SKILL.md, regroupe les fichiers de ressources et enregistre le tout localement.

  1. Ouvrez l’application et accédez à Plugins → Compétences.
  2. Choisissez « Installer depuis GitHub ».
  3. Copiez l’URL ci-dessous, qui pointe vers le dossier de la compétence, puis collez-la et confirmez.
    https://github.com/NVIDIA/skills/tree/main/skills/digital-health-clinical-asr-eval
  4. Activez la compétence dans chaque discussion où vous souhaitez pouvoir l’utiliser.
Plugins → Compétences → Ajouter une compétence → Via une URL GitHub, puis collez l’URL du dossier et appuyez sur Continuer.
2

Installer dans un autre agent

Tout agent capable de lire le format Agent Skills peut utiliser cette compétence : copiez le dossier dans le répertoire des compétences de cet agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/NVIDIA/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/digital-health-clinical-asr-eval .claude/skills/digital-health-clinical-asr-eval
Redémarrez Claude Code après la copie pour que la nouvelle compétence soit prise en compte.

Utilisez cette compétence dans TypingMind

Activez Digital Health Clinical Asr Eval dans n’importe quelle discussion TypingMind et le modèle s’occupe du reste. Le nom et la description de la compétence figurent dans le prompt système. Dès qu’une demande correspond, le modèle charge lui-même l’intégralité des instructions : vous n’avez jamais à l’invoquer manuellement, et elle ne consomme aucun token tant qu’elle n’est pas utilisée.

Le modèle charge automatiquement Digital Health Clinical Asr Eval dès qu’une demande correspond à cette compétence.

Compatible avec tous les modèles IA

Les compétences IA sont de simples instructions Markdown, et non du code propre à un fournisseur. Ainsi, la compétence Digital Health Clinical Asr Eval n’est pas liée au modèle pour lequel elle a été conçue. Installez-la une seule fois dans TypingMind et utilisez-la avec GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou un modèle local que vous exécutez vous-même, le tout avec vos propres clés API.

  • Chargée uniquement en cas de besoin

    Le prompt système ne contient que le nom et la description. Les instructions sont récupérées à la première demande correspondante : une compétence inutilisée ne coûte donc rien.

  • Changez de modèle en cours de discussion

    La compétence étant constituée d’instructions et non de code, elle reste fonctionnelle lorsque vous changez de modèle : le nouveau modèle lit le même fichier SKILL.md.

Instructions de la compétence

Voici le contenu de SKILL.md que le modèle charge. Lisez-le avant l’installation : une compétence contient des instructions que votre modèle suivra.

Clinical ASR Flywheel — Stage 3 (Eval)

⚠ Agent: read the Critical Workflow Rules section below before answering. This SKILL.md is self-contained — evals/, references/, and assets/ are pointers, not load-bearing. Answer methodology questions from this file directly; only invoke tools when the user explicitly asks to execute against a real manifest.

You are the score-and-route stage. The user arrives with a NeMo-format manifest.jsonl (either from /digital-health-clinical-asr-build or carried in from elsewhere). You transcribe it via the chosen ASR NIM, score four metrics, produce a five-section leaderboard, and read the decision tree to decide whether the user should advance to /digital-health-clinical-asr-finetune, loop back to /digital-health-clinical-asr-build, or stop and harden the eval.

This skill does not generate audio. If the manifest is missing or empty, send the user back to /digital-health-clinical-asr-build.

Audio leaves your environment — disclose this to the user before any clip is sent

This stage transmits each manifest row's WAV file plus its reference text to an external NVIDIA service. Surface this before invoking the first ASR call:

ServiceWhat gets sentWhen
NVIDIA NVCF Parakeet/Nemotron ASR (grpc.nvcf.nvidia.com)Every audio clip referenced by the manifest (raw PCM bytes), plus the reference transcript and the clinical-extension metadata for scoringStep 3b, one call per manifest row

The clips should be synthetic audio generated by Stage 2 (Magpie TTS over a user-curated term list) — not real patient audio. Do not pass real ASR recordings, real patient encounters, or any PHI through this skill. Scoring then runs locally (pure-Python WER/CER/KER/SER, or jiwer if installed). The scoring step itself does not transmit anything; only the ASR step does.

Critical workflow rules (apply on every activation)

For methodology questions (leaderboard structure, KER definition, decision tree), answer from this file. Don't invoke tools, call other skills, or run scripts unless the user explicitly asks to execute against a real manifest. Surface these facts in any response:

  1. Off-ramp first. If the user is asking about something outside scoring, route and stop without running any workflow:
    • ASR model-catalog selection / comparison / alternative NIMs → /riva-asr
    • ASR auth (API keys, bearer tokens, function IDs) → /riva-asr
    • ASR gRPC protocol, streaming, batching, chunking, retries → /riva-asr
    • NIM deploy / riva-build / riva-deploy → /riva-asr-custom
    • NGC / Docker / NVIDIA Container Toolkit → /riva-nim-setup
    • No manifest yet → /digital-health-clinical-asr-build
    • Wants to fine-tune now with a known KER → /digital-health-clinical-asr-finetune
  2. Default ASR NIM is nvidia/parakeet-tdt-0.6b-v2 (NVCF function-id d3fe9151-442b-4204-a70d-5fcc597fd610, offline gRPC). Env-var overrides: ASR_MODEL_NAME (leaderboard display name), ASR_NVCF_FUNCTION_ID (swap to a different hosted NIM — e.g. Whisper Large v3 b702f636-… while the Parakeet backend is faulting, or a fine-tuned NIM), ASR_ENDPOINT (self-hosted gRPC; takes precedence). Echo the chosen NIM and the resolved function-id back before spending API credits.
  3. ASR transcription is inlined in Step 3b (NVCF gRPC + riva.client.ASRService.offline_recognize, same auth pattern as Stage 1). For deeper protocol/auth questions, alternative NIM catalogs, or self-hosted Riva NIM configuration, defer to /riva-asr.
  4. KER is the headline. Per-row check: the flagged term words must appear in order, contiguous, adjacent in the normalized hypothesis. cefazolin → cefa zolin is a miss. Aggregate WER hides clinically dangerous failures; both are reported, KER is the gate.
  5. The by-ipa_source split is the most informative single number in the leaderboard. The merriam-webster vs magpie_g2p delta proves the SSML override pipeline is doing real work. Read it aloud to the user.
  6. Special-case routing. merriam-webster rows good, magpie_g2p rows bad → pronunciation-coverage gap, not a model gap. Route back to /digital-health-clinical-asr-build Step 2d. Do NOT recommend /digital-health-clinical-asr-finetune as a first response.
  7. Five-section leaderboard order. Headline (WER/CER/KER/SER) → KER by entity_category → KER by ipa_source → KER by noise_level → Per-term KER worst-first. The by-ipa_source section is mandatory; it is the proof the SSML pipeline works.

Purpose

Score a clinical-ASR manifest, produce a five-section KER leaderboard, and route the user via the post-eval decision tree. Methodology details (metric definitions, normalization, leaderboard order, special-case routing) live in Critical Workflow Rules above and Instructions below.

When to use this skill

Activate on user phrases like:

  • "Score my ASR manifest"
  • "What's the KER on Parakeet TDT v2?"
  • "Run the eval on cycle-N"
  • "Compare two ASR models on the clinical benchmark"
  • "Generate the leaderboard"
  • "I have a manifest.jsonl, how do I score it?"
  • "Why is KER 0.4 when WER is 0.07?"
  • "Should we fine-tune?" (this is the eval-side question — the post-eval decision tree lives in this skill)

Literal-keyword non-activation check — if the user's message contains any of authenticate, API key, bearer, function ID, gRPC, streaming, chunking, batching, transcription retry, riva-build, riva-deploy, NIM deploy, NGC, Docker, Container Toolkit, or asks "which ASR model is best" / "compare models" / "vendor differences" — do NOT activate the scoring workflow. Apply Critical Workflow Rule #1 above to route to the right sibling skill and stop. This applies even if the user mentions "KER" or "eval" alongside the keyword.

Prerequisites

  • A NeMo-format manifest with the clinical extension fields (term, entity_category, ipa_source, voice_id, noise_level, context_type). The schema is documented in the build skill's references/manifest-schema.md.
  • NVIDIA_API_KEY exported (Stage 1 prerequisite still applies).
  • nvidia-riva-client + soundfile installed (Stage 1 prerequisite). For self-hosted Riva NIM details, see /riva-asr Option B.
  • Audio files actually present on disk — run the audio-existence pre-flight from the manifest-schema reference before spending API credits.

Instructions

3a. Pick the ASR NIM

Default: nvidia/parakeet-tdt-0.6b-v2 via NVCF gRPC (offline), function-id d3fe9151-442b-4204-a70d-5fcc597fd610. NVIDIA's current English ASR recommendation — fastest/cheapest in the catalog, and supported in NeMo's stock SFT recipe so the Stage 3 baseline and a Stage 4 fine-tune ride the same model family.

Three runtime env-var override knobs (ASR_MODEL_NAME for leaderboard display, ASR_NVCF_FUNCTION_ID to swap to a different hosted NIM, ASR_ENDPOINT for self-hosted gRPC) plus the full alternate-NIM catalog (Parakeet TDT 1.1B, Parakeet CTC 1.1B, Whisper Large v3, Nemotron streaming) with function IDs and call-shape notes: references/offline-asr-recipe.md.

Echo the chosen NIM, the resolved function-id, and any env-var overrides to the user before spending API credits. A 200-row manifest on hosted Parakeet TDT v2 is cheap; an accidental run against the wrong model on a 1,000-row manifest is not.

3b. Transcribe

For each row in manifest.jsonl, transcribe audio_filepath and write per_sample.json (one JSON object per row, JSONL or a JSON array — caller's choice):

json
{
  "audio_filepath": "...",
  "ref": "<row.text>",
  "hyp": "<asr output>",
  "term": "<row.term>",
  "entity_category": "<row.entity_category>",
  "ipa_source": "<row.ipa_source>",
  "voice_id": "<row.voice_id>",
  "noise_level": "<row.noise_level>",
  "context_type": "<row.context_type>"
}

Recipe (full Python in references/offline-asr-recipe.md): transcribe_manifest(api_key, manifest_path, out_path, language_code="en-US") opens an offline gRPC stream to NVCF (or to ASR_ENDPOINT if set for self-hosted Riva), calls riva.client.ASRService.offline_recognize per row — sentences in a clinical manifest are ≤ 30 s so no streaming/batching needed — and writes the JSONL above. Same auth_for shape as the Stage 1 setup smoke test. The agent harness passes api_key explicitly; the recipe reads the three env-var overrides (ASR_NVCF_FUNCTION_ID, ASR_MODEL_NAME, ASR_ENDPOINT) at the top so auditors see the knobs in one place.

Whisper fallback (when Parakeet's NVCF backend faults with CUDA illegal-memory-access from Triton) and self-hosted Riva NIM (ASR_ENDPOINT=localhost:50051) env-var patterns: see references/offline-asr-recipe.md (§Whisper fallback, §Self-hosted Riva NIM).

Resilience knobs deferred to the user. If NVCF returns RESOURCE_EXHAUSTED mid-batch, the loop raises on that row; re-run from the failing row. Streaming/batching/retry-with-backoff are out of scope — see /riva-asr.

3c. Score four metrics

For every row, compute:

MetricWhat it measuresWhy we keep it
WERWord error rate (Levenshtein on tokens, after normalization)Industry standard; blunt instrument for clinical
CERCharacter error rateCatches near-misses on long compound names
KER ★Keyword error rate — did the flagged term appear in the hypothesis (normalized, contiguous match)?Headline clinical signal
SERSentence error rate (1 if any wrong, 0 if perfect)Sanity bound; what the doctor experiences

Normalization (apply to both ref and hyp before all four metrics):

  1. Lowercase.
  2. NFKD-normalize (smart quotes → ASCII, etc.).
  3. Strip punctuation except hyphen.
  4. Collapse whitespace runs to a single space.

Inline scoring recipes — normalize / edit_distance / wer / cer / ker / ser (pure-Python, no jiwer dependency): see references/scoring-recipes.md. Aggregate across rows by taking mean(per-row score) for each metric.

Strict KER — term words must appear in order, adjacent in the normalized hypothesis. This is conservative: cefazolin → cefa zolin counts as a miss. That's the right call clinically — a downstream pharmacy lookup will fail on the misspelled token.

KER does not punish surrounding errors. A row where the term is correct and the rest of the sentence is garbage still scores KER=0; the WER on that row will surface the broader problem separately.

3d. Breakdowns + leaderboard

Write a five-section markdown leaderboard, in this order:

  1. Headline — overall WER, CER, KER, SER for the chosen model.
  2. KER by entity_category — drug vs procedure vs anatomy vs ... This is what the user actually cares about for deployment.
  3. KER by ipa_source — the most informative single number in the leaderboard. The delta between merriam-webster and magpie_g2p rows is the proof the SSML override pipeline is doing real work. Read this section aloud to the user.
  4. KER by noise_level — clinical environments are loud. snr_5db rows are closer to reality than clean.
  5. Per-term KER (worst first) — these are your Stage 4 fine-tune targets.

A representative ipa_source split with the merriam-webster vs magpie_g2p delta interpretation: references/scoring-recipes.md §Representative ipa_source split. The delta tells the deployment story — if the user sees a wide gap and asks "should we fine-tune?", the answer is not yet; route them back to /digital-health-clinical-asr-build's IPA QA pipeline (Stage 2d). See the decision tree below.

Decision tree (after eval)

Read the priority-category KER (drug KER for most clinical workflows, procedure KER for surgical workflows) and route:

KER on priority categoryRecommend
> 0.3/digital-health-clinical-asr-finetune. Manifest is already NeMo-format-ready. Note: rows ≥ 100 is the minimum for a believable fine-tune signal; if the manifest is smaller, grow it first via /digital-health-clinical-asr-build.
0.1 – 0.3Either expand the term list (back to /digital-health-clinical-asr-build with new domain terms — usually surfaces more failures cheaper than tuning) or fine-tune. On a first eval, expand. On a later eval where you've already grown the manifest, tune.
< 0.1Strong baseline. Don't tune yet — you'd be optimizing against a saturated metric. Push the eval harder: add voices, noise levels, contexts, adversarial terms. Loop back to /digital-health-clinical-asr-build.

Special case — merriam-webster rows score well but magpie_g2p rows are bad. That's a pronunciation-hint coverage gap, not a model gap. Route back to /digital-health-clinical-asr-build Step 2d (IPA QA review), not to /digital-health-clinical-asr-finetune. Fine-tuning over a TTS-pronunciation gap teaches the model to mis-recognize the model's own mistakes — the wrong fix.

Examples

Scenario A — first eval on a fresh cycle-1 manifest. User: "I have manifest.jsonl with 200 clinical audio rows already, with term and entity_category fields. How do I score it?" → Skip Stage 2 entirely. Run the audio-existence pre-flight. Pick parakeet-tdt-0.6b-v2 (default) and echo the choice + resolved function-id. Run the inlined Step 3b recipe (transcribe_manifest(...)). Score the four metrics. Produce the five-section leaderboard. Read the by-ipa_source split to the user. Apply the decision tree against drug KER.

Scenario B — interpreting a mixed result. User: "Eval shows KER 0.05 on rows tagged merriam-webster but 0.40 on rows tagged magpie_g2p. Should I fine-tune?" → No — this is the special case. The model is fine; the pronunciation hints aren't covering the long-tail terms. Route the user back to /digital-health-clinical-asr-build Step 2d to audition the magpie_g2p rows and append verified IPA to pronunciation_overrides.csv. Re-run Stage 3 after the rebuild before reconsidering Stage 4.

Artifacts produced

  • per_sample.json — per-row transcription results with all clinical-extension fields preserved (the ASR hyp joined to the manifest's ref and metadata)
  • results.csv — per-row WER/CER/KER/SER scores
  • leaderboard_cycle<N>.md — five-section markdown report

(File names are user-chosen; the names above are conventions the rest of this skill assumes.)

Troubleshooting

  • "No manifest found" → user skipped Stage 2. Route to /digital-health-clinical-asr-build or confirm $MANIFEST_PATH.
  • All rows KER=1 → normalization mismatch between ref and hyp. Apply the four normalization steps to both sides.
  • All rows KER=0 but WER high → likely misaligned manifest (audio row mismatch). Spot-check a few (ref, hyp) pairs by hand.
  • merriam-webster low, magpie_g2p high → pronunciation-coverage gap. Route to /digital-health-clinical-asr-build Step 2d. Don't fine-tune — model isn't the problem.
  • Both merriam-webster and magpie_g2p high → real model gap. Stage 4 is the right route (manifest ≥ 100 rows).
  • clean rows fine, snr_5db balloons → robustness gap; expand noise diversity via /digital-health-clinical-asr-build.
  • Riva-NIM and offline NeMo results diverge → Riva preprocessing / riva-build flags. Route to /riva-asr-custom.
  • RESOURCE_EXHAUSTED on large manifests → retry after 30 s; slice + re-run dropped rows. Built-in backoff: /riva-asr.
  • Auth.__init__() got 'ssl_cert' / CUDA illegal-memory-access on Parakeet function ID: see references/offline-asr-recipe.md (ssl_root_cert rename + §Whisper fallback).

Anything else: identify the upstream owner. ASR protocol / NIM deploy → /riva-asr. Scoring → here.

Limitations

  • English-only by default. Tokenization + normalization assume Latin script and en-US lexicon.
  • Strict-contiguous KER is conservative. A near-miss like cefa zolin counts as a miss. That's intentional — pharmacy lookups fail on near-misses. Users wanting "soft" matching can switch to phoneme-level edit distance, which is a methodology extension, not a config tweak.
  • One model per eval run. Comparing two models means running the eval twice and diffing the two leaderboard_cycle<N>.md files (or extending the recipe to write multi-model rows yourself).
  • Hosted-only paths assumed. Self-hosted NIMs work but require /riva-nim-setup first.

Next steps

  • Forward (KER > 0.3, manifest ≥ 100 rows): /digital-health-clinical-asr-finetune.
  • Back to build (KER 0.1–0.3 on first eval, or magpie_g2p gap): /digital-health-clinical-asr-build.
  • Stop (KER < 0.1): the eval is saturated. Harden it before declaring victory.
  • Lateral for ASR protocol / auth / streaming / self-hosted NIM details: /riva-asr.

References

  • references/offline-asr-recipe.md — full Step 3b Python recipe (transcribe_manifest, resolve_asr_config, build_asr_auth), function-ID catalog with call-shape notes, Whisper fallback, self-hosted Riva NIM setup
  • references/scoring-recipes.md — pure-Python WER/CER/KER/SER scoring functions with the canonical 4-step normalization

Fichiers inclus

Le modèle lit ces fichiers à la demande lorsque la compétence est chargée. Ils sont accessibles en lecture et ne sont jamais exécutés.

Foire aux questions

À quoi sert la compétence IA Digital Health Clinical Asr Eval ?

Stage 3 of Clinical ASR Flywheel. Score a NeMo manifest, produce the five-section KER leaderboard (by-ipa_source diagnostic). Not for ASR auth (/riva-asr).

Pourquoi utiliser Digital Health Clinical Asr Eval sur TypingMind ?

Parce que vous l’installez une seule fois pour l’utiliser avec n’importe quel modèle. Digital Health Clinical Asr Eval se compose de simples instructions en Markdown plutôt que de code propre à un fournisseur. La même compétence fonctionne donc avec GPT-5, Claude, Gemini, Grok ou un modèle local, et vous pouvez changer de modèle en cours de discussion sans perturber son fonctionnement. TypingMind utilise vos propres clés API : vous payez donc directement les fournisseurs plutôt qu’un abonnement par siège, et vos compétences et discussions restent dans votre propre espace de stockage.

Comment installer Digital Health Clinical Asr Eval dans TypingMind ?

Dans TypingMind, ouvrez Plugins → Compétences → Installer depuis GitHub et collez https://github.com/NVIDIA/skills/tree/main/skills/digital-health-clinical-asr-eval. TypingMind lit le fichier SKILL.md, regroupe les fichiers associés et installe le tout sous forme de compétence que vous pouvez activer pour chaque discussion.

Quels modèles d’IA peuvent utiliser Digital Health Clinical Asr Eval ?

N’importe quel modèle que vous connectez dans TypingMind. Les compétences IA sont de simples instructions en Markdown, et non du code propre à un fournisseur. GPT, Claude, Gemini, Grok et les modèles locaux peuvent donc tous charger cette compétence lorsqu’une demande lui correspond.

Combien de modèles d’IA puis-je utiliser avec Digital Health Clinical Asr Eval ?

Autant que vous le souhaitez. Vous pouvez utiliser Digital Health Clinical Asr Eval avec tout modèle qui prend en charge les compétences : GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama et bien d’autres, le tout dans TypingMind avec vos propres clés API.

La compétence IA Digital Health Clinical Asr Eval est-elle gratuite ?

Oui. Cette compétence est publiée sur GitHub par NVIDIA sous licence Apache-2.0. Vous ne payez que votre propre fournisseur d’IA pour les tokens utilisés.

Que sont les compétences IA ?

Une compétence IA est un ensemble d’instructions réutilisables qui apprend à un modèle d’IA à accomplir une tâche précise. Elle suit le format ouvert Agent Skills : un fichier SKILL.md contenant un nom et une description, ainsi que les éventuels scripts, gabarits ou fichiers de référence dont le modèle peut avoir besoin. Le modèle ne lit les instructions que lorsque votre demande correspond à la compétence. Une compétence installée ne coûte donc rien tant qu’elle n’est pas utilisée.

En quoi les compétences IA diffèrent-elles des plugins ou des serveurs MCP ?

Un plugin ou un serveur MCP fournit au modèle de nouveaux outils à appeler : du code qui s’exécute quelque part et renvoie un résultat. Une compétence IA lui apporte plutôt des connaissances et une méthode : comment aborder une tâche, quelles étapes suivre et à quoi ressemble un bon résultat. Les compétences sont de simples instructions en Markdown. Elles ne nécessitent donc ni serveur, ni clé API, ni environnement d’exécution, et fonctionnent avec n’importe quel modèle.

Tout voir

Créez votre propre espace de travail IA dès maintenant

Abonnez-vous à notre newsletter pour être informé des nouvelles fonctionnalités et des prochains cadeaux à gagner 👇