Skip to content
Back to skills

Training And Decoding

ASecurity

"Run and adapt WeNet training recipes, checkpoint averaging,

  • 247 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 9, 2026
devopspythonc++bash

Works with

  • cli

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill training-and-decoding --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Training And Decoding?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Training And Decoding
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-training-and-decoding/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-training-and-decoding)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: training-and-decoding
description: "Run and adapt WeNet training recipes, checkpoint averaging,
  offline decoding, recognition modes, scoring, LM or k2 decoding, and training
  failure recovery."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# WeNet Training and Decoding

Use this sub-skill when the user wants to train or fine-tune a WeNet model,
resume an experiment, run offline recognition on a `data.list`, average
checkpoints, compare decoding modes, compute WER/CER, or reason about recipe
stages.

## Start here

1. Ensure data manifests, dictionaries, and tokenizer resources are valid with
   [../data-preparation/SKILL.md](../data-preparation/SKILL.md).
2. Read [references/workflows.md](references/workflows.md) for the staged
   training/decoding recipe pattern and large-job boundaries.
3. Read [references/cli-reference.md](references/cli-reference.md) for the
   installed-module command shapes and important options.
4. Use [scripts/score_text.py](scripts/score_text.py) for small local WER/CER
   checks when the full recipe scorer is unavailable:

   ```bash
   python sub-skills/training-and-decoding/scripts/score_text.py \
     --reference ref.txt --hypothesis hyp.txt --unit word
   ```

5. Read [references/troubleshooting.md](references/troubleshooting.md) when
   distributed training hangs, NCCL/HCCL/gloo fails, DeepSpeed configs disagree
   with WeNet configs, checkpoints are missing, or decoding output is empty.

## Route by task

- Use this sub-skill for `python -m wenet.bin.train`, `recognize`,
  `average_model`, and `alignment` workflows.
- Use [../model-export/SKILL.md](../model-export/SKILL.md) after a trained
  checkpoint and `train.yaml` exist.
- Use [../runtime-deployment/SKILL.md](../runtime-deployment/SKILL.md) after
  export when the user needs C++/mobile/web/server deployment.
- Use [../package-transcription/SKILL.md](../package-transcription/SKILL.md)
  for one-off package CLI transcription of a single audio file.

## Verification boundary

Real training, large decoding, LM graph creation, and k2/LF-MMI workflows can
require large corpora, GPUs, distributed launchers, external toolchains, and
long runtimes. Treat them as documented operational workflows unless the user
explicitly authorizes the data, hardware, and time budget.

Files in this skill

  • SKILL.md2.3 KB
  • references/cli-reference.md3.6 KB
  • references/troubleshooting.md3.1 KB
  • references/workflows.md5 KB
  • scripts/score_text.py4.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.