brainstorming
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).
components-metricsGuides 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
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.
| Task | Read/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 |
Brain hooks to wire forward/objective/metric behavior.Checkpointer for local experiment state and Pretrainer for fetching/loading pretrained model files.on_stage_start / compute_objectives / on_stage_end patterns.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.