计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
speech-to-text【效率与协作】Use PaddleSpeech ASR, speech translation, SSL, and Whisper CLIs/APIs with safe audio validation, model choices, and recipe boundaries.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill for PaddleSpeech speech recognition, speech translation, SSL speech models, Whisper transcription/translation, ASR recipe planning, audio validation, ASR job files, and transcript post-processing routes.
| User goal | Use |
|---|---|
| Mandarin or English ASR with PaddleSpeech models | paddlespeech asr and ASRExecutor guidance in references/cli-and-api.md |
| English-to-Chinese speech translation | paddlespeech st and ST recipe notes in references/asr-st-ssl-whisper-workflows.md |
| Wav2Vec2/Hubert/WavLM ASR or embeddings | `paddlespeech ssl --task asr |
| General Whisper transcribe/translate | paddlespeech whisper guidance |
| ASR training/evaluation recipe planning | recipe map in references/asr-st-ssl-whisper-workflows.md; ask before downloads/training |
| Add punctuation to ASR text | route to ../text-processing/SKILL.md after ASR output exists |
| Serve ASR over HTTP/WebSocket | route to ../deployment-serving/SKILL.md |
Validate audio before model execution:
python scripts/validate_audio_inputs.py --sample-rate 16000 audio.wav
Pick the command family:
paddlespeech asr --input audio.wav --lang zh --sample_rate 16000
paddlespeech st --input english_16k.wav
paddlespeech ssl --task asr --model wav2vec2 --lang en --input audio.wav
paddlespeech whisper --task transcribe --size tiny --input audio.wav
If using pretrained defaults, warn that the first run downloads model archives into the PaddleSpeech cache.
Use --device cpu for deterministic CPU runs or --device gpu:0 only when a compatible PaddlePaddle GPU build is installed.
For long audio, split before ASR rather than relying on a model-specific max-duration failure.
references/cli-and-api.md lists ASR/ST/SSL/Whisper commands, options, and executor classes.references/asr-st-ssl-whisper-workflows.md distills training/evaluation, decoding, and recipe boundaries.references/troubleshooting.md covers audio, model tag, Kaldi, Whisper resource, and long-audio failures.scripts/validate_audio_inputs.py checks WAV properties and can build simple .job files.run.sh scripts, tests/unit/cli/test_cli.sh, or demo scripts without approval; they download data/models and can train or run for a long time.stats display failures as proof that command execution is impossible; use help/import checks and direct tag references.