인터페이스는 현지화되어 있으며, Skill 소개와 설명 문서는 선택한 언어로 AI가 자동 번역합니다. 코드·명령어·경로·전문 용어는 원문을 유지하며 원작자 문서가 우선합니다.
Skills 둘러보기
개발 및 엔지니어링 · SKILL.md

components-metrics

components-metrics

Guides SpeechBrain model components, decoders, losses, metric statistics, WER scoring, checkpoints, Pretrainer, streaming helpers, and component-level troubleshooting.

Independent GitHub snapshot · Automated classification · Original documentation governs

Skill 문서

GitHub

name: components-metrics description: "Guides SpeechBrain model components, decoders, losses, metric statistics, WER scoring, checkpoints, Pretrainer, streaming helpers, and component-level troubleshooting." disable-model-invocation: true metadata: disco-role: operating license: Apache 2.0

SpeechBrain components and metrics

Use this sub-skill when the task is to choose, wire, debug, or test SpeechBrain neural components, decoders, metrics, checkpoints, pretrained-weight loading, streaming helpers, or scoring utilities.

Route map

TaskRead/run
Select neural modules, lobes, feature wrappers, decoders, or losses.references/components-and-decoders.md
Save/recover checkpoints or load pretrained weights into modules.references/checkpoints-and-pretraining.md
Compute WER/PER/CER, metric stats, classification/binary metrics, or scoring summaries.references/metrics-and-scoring.md; run scripts/compute_wer_cli.py.
Work on streaming/chunked ASR or streaming feature wrappers.references/streaming.md
Diagnose shape, checkpoint, metric, decoder, or streaming failures.references/troubleshooting.md

Common component workflow

  1. Keep model/module construction in HyperPyYAML when possible.
  2. Use recipe Brain hooks to wire forward/objective/metric behavior.
  3. Validate tensor shapes and relative lengths before decoder or metric calls.
  4. Use Checkpointer for local experiment state and Pretrainer for fetching/loading pretrained model files.
  5. Use metric stats classes inside on_stage_start / compute_objectives / on_stage_end patterns.

Useful bundled script

python scripts/compute_wer_cli.py ref.txt hyp.txt --mode strict

The script is adapted from SpeechBrain's WER utility pattern and uses the installed package only.

저장한 Skills