技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
asrt-speech-recognition【数据与研究】Operate ASRT SpeechRecognition Chinese ASR data, acoustic models, pinyin language model, and serving clients.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this repo skill for tasks involving ASRT SpeechRecognition, a Chinese speech recognition system with ASRT-style WAV/data manifests, TensorFlow/Keras CNN+CTC acoustic models, a statistical pinyin-to-Chinese language model, and HTTP/gRPC serving clients.
| User task signal | Read |
|---|---|
asrt_config.json, dict.txt, datalist/label format, /data/speech_data, WAV sample rate, spectrogram/MFCC/SpecAugment, DataLoader, CTC utility smoke checks | sub-skills/data-and-features/SKILL.md |
SpeechModel251BN, Keras CTC model shapes, ModelSpeech, training/resume/evaluation, save_models, single-file acoustic prediction, TensorFlow/GPU expectations, PyTorch backend caveats | sub-skills/acoustic-models/SKILL.md |
Decode ASRT pinyin such as ni3 hao3 ya5, ModelLanguage, language_model1.txt, language_model2.txt, streaming pinyin-to-text state, unknown pinyin diagnosis | sub-skills/language-model/SKILL.md |
ASRT HTTP service, /speech, /language, /all, gRPC AsrtGrpcService, asrt.proto, payload construction, status codes, Docker/service deployment | sub-skills/serving-clients/SKILL.md |
python scripts/check_asrt_runtime.py --help
python scripts/run_asrt_smokes.py
Route to data-and-features, validate config/list/dict consistency, then route to acoustic-models only after the data map, sample rate, and pinyin labels are clean. Do not start a training recipe when the user is still missing list files, label rows, pinyin dictionary entries, or 16 kHz WAVs.
Route to acoustic-models for model selection and weight naming. Use data-and-features for audio/features and language-model only after acoustic prediction has produced pinyin tokens. A CPU Keras construction smoke proves only model import/shape compatibility; it does not verify GPU training or accuracy.
If the user already has pinyin tokens such as ni3 hao3 ya5, skip acoustic/audio guidance and use language-model. Its bundled decoder is self-contained and includes ASRT language-model count files.
Route to serving-clients when the server is already prepared or the user is building a client. If startup fails because save_models/SpeechModel251bn.model.h5 is missing, route back to acoustic-models. If payload WAV metadata is wrong, route to data-and-features.
dict.txt plus language_model1.txt and language_model2.txt so pinyin-to-text decoding can be used without reopening the ASRT source tree.