技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
training-cli-and-data【数据与研究】Build Megatron-LM training commands, data preprocessing flows, launch templates, and training diagnostics.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the user asks to launch or debug Megatron-LM training, prepare text data, use mock data, scale data loading, or translate model/data/parallelism choices into a safe command.
| Task | Action |
|---|---|
| "Run a first training smoke" | Start with mock data and a tiny number of iterations; validate environment first with install-and-environment. |
| "Prepare my data" | Confirm JSONL keys/tokenizer, generate .bin/.idx, optionally merge and prebuild cache. |
| "Scale to multi-node" | Confirm shared worktree/data/checkpoint paths, compute TP/PP/CP/DP via core-models, then render torchrun/SLURM command. |
| "Training hangs at startup" | Distinguish dataset-cache barrier from NCCL/process group failure. |
| "Use LLaMA/Mixtral/Mamba/T5/BERT recipe" | Extract the model-family flags and validate hardware/optional dependency assumptions before launch. |
--mock-data for environment/performance ceiling checks..bin/.idx prefixes for real GPT-style data.python -m torch.distributed.run / torchrun consistently with the selected environment.