界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
开发与工程 · SKILL.md

espnet

espnet

【开发与工程】Use when working with ESPnet speech AI toolkit: installation, ESPnet2 recipes and training, pretrained inference/model zoo, ESPnet3 stage workflows, and repository testing.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: espnet description: "Use when working with ESPnet speech AI toolkit: installation, ESPnet2 recipes and training, pretrained inference/model zoo, ESPnet3 stage workflows, and repository testing." disable-model-invocation: true metadata: disco-role: operating license: Apache 2.0

ESPnet Repo Skill

Use this operating skill when a task involves ESPnet, the end-to-end speech processing toolkit for ASR, TTS, speech translation, enhancement/separation, speaker tasks, diarization, SLU, SVS, SpeechLM, and related audio workflows.

This skill is self-contained. Do not assume the source checkout used to create it is available unless the user is explicitly editing an ESPnet checkout. Prefer the bundled references and scripts here over reopening original docs, examples, or tools.

First response pattern

  1. Classify the request: install/diagnose, prepare recipe data, train/configure, run inference/model-zoo, use ESPnet3 stages, or develop/test ESPnet.
  2. Read the matching sub-skill before detailed commands.
  3. Use bundled helper scripts when they fit. They are safe by default: no downloads, no package installs, no training, no uploads.
  4. Keep backend claims honest. CPU parser/import checks do not prove CUDA, distributed, FlashAttention, k2, or recipe-scale training.

Minimal package check

python -c "import espnet2, espnet3; print('ESPnet imports ok')"

For source development or editable use, install only the selected task extras, e.g. pip install -e ".[asr]" for ASR or pip install -e ".[tts]" for TTS. Avoid .[all] unless the user truly needs many optional task families.

Route map

User intentRead nextWhy
Install ESPnet, choose extras, diagnose imports or optional toolsinstallation-and-diagnosticsBase dependencies, extras, host tools, CUDA probes, safe environment checker.
Create/adapt ESPnet2 recipes, validate data/, understand wav.scp/segments, stage commands, tokenization utilitiesrecipes-and-dataKaldi-style data layouts, task script stage flow, validation helpers, utility CLIs.
Configure/train ESPnet2 models, use --print_config, dry-run configs, tune components, resume/fine-tune, GPU/distributed flagsespnet2-trainingTrain modules, Task config semantics, dry-run command generation, training troubleshooting.
Run pretrained or local inference, use from_pretrained, ModelDownloader, streaming ASR, enhancement, TTS, packaginginference-and-model-zooInference classes/CLIs, model file pairing, model zoo, packaging checks.
Use ESPnet3 System/Hydra stage runner, configs, --stages, demo/publication boundariesespnet3-workflowsESPnet3 stage order, required config flags, safe stage inspection.
Modify ESPnet source, choose tests, debug CI, add recipe/module tests, follow contribution conventionsdevelopment-and-testingFocused pytest/CI command selection, style, recipe PR policy, maintainer troubleshooting.

Shared runtime files

Safety boundaries

  • Ask before full recipes, dataset acquisition, model downloads, Gradio demos, uploads, long training, or broad CI.
  • CUDA is optional unless the user's selected workflow requires GPU runtime.
  • Model-zoo tasks are network/cache dependent; validate local file paths before downloads.
我的收藏