计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
sampling【效率与协作】Configure and troubleshoot REINVENT4 sampling runs for Reinvent, LibInvent, LinkInvent, Mol2Mol, and PepInvent generators.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when a user needs to generate molecules with REINVENT4, validate a sampling config, adapt a prior or trained agent for generation, or debug seed-file/model/device/output issues for Reinvent, LibInvent, LinkInvent, Mol2Mol, or PepInvent.
references/workflows.md for choosing the generator mode, preparing seed files, running reinvent, and checking output CSVs.references/configuration.md for TOML/JSON/YAML keys, templates, CLI flags, model-file handling, and seed-file conventions.references/troubleshooting.md for model/seed mismatches, CUDA fallback, invalid formats, output collisions, expensive generation, and prior availability.scripts/validate_sampling_config.py for safe no-run validation before launching generation.run_type = "sampling" and choose device = "cpu" for portable checks or device = "cuda:0" only when a CUDA PyTorch device is available.model_file, num_smiles, output_file, unique_molecules, and randomize_smiles under [parameters].smiles_file for LibInvent, LinkInvent, Mol2Mol, and PepInvent seed-based runs; omit it for normal Reinvent de novo sampling.python sub-skills/sampling/scripts/validate_sampling_config.py sampling.toml --model-mode Linkinvent
reinvent --device cpu --seed 123 --log-filename sampling.log sampling.toml
run_type = "sampling", generator model selection, seed-file conventions, num_smiles, uniqueness/randomization, CLI flags, output sanity checks, and static validation.scoring sub-skill.learning sub-skill, then return here to sample the resulting model.data-pipeline sub-skill.enumeration sub-skill.