技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
data-training【数据与研究】Route NeuroMANCER data preparation and CPU-first training workflows for dictionary, static, sequence, and graph data, including normalization, splitting, collation, Trainer, Lightning, callbacks, logging, and checkpoints.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when a NeuroMANCER task starts with tensors/arrays and must
produce named batches, sequence windows, graph batches, or a bounded training
run. It is written for neuromancer==1.5.6 and a CPU-first workflow.
DictDataset or StaticDataset, then a
DataLoader with the dataset's collate_fn. See
API reference and
data formats.SequenceDataset directly or
get_sequence_dataloaders; preserve the *p/*f key contract and validate
nsteps before constructing windows.GraphDataset with precomputed graphs or
its local radius-graph builder. Treat graph batching as a separate contract;
do not silently substitute ordinary dictionary collation.Trainer when explicit PyTorch loaders,
callbacks, and a CPU device are desired. Choose LitTrainer when the
data_setup_function/Lightning lifecycle, checkpoint callbacks, or custom
Lightning hooks are desired. The two APIs are not interchangeable.Follow workflows for the smallest safe setup. Keep
symbolic objectives/constraints in symbolic-problems, model and dynamics
construction in dynamics-modeling, and PSL/control rollouts in
control-simulation.
collate_fn; it adds the name
field consumed by NeuroMANCER problem outputs.device="cpu" for Trainer or accelerator="cpu" for
LitTrainer; CUDA and multi-device behavior is optional and unverified.dev and training data named train when using
LitDataModule.Run the bundled, side-effect-free smoke check from any working directory:
python scripts/data_smoke.py --help
python scripts/data_smoke.py --run
--run creates only tiny in-memory static, dictionary, and sequence fixtures;
it performs no training, network access, checkpointing, or writes. For failure
recovery and known source-version edge cases, use
troubleshooting.