技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
molecular-graph-generation【数据与研究】Use DIG's 2D molecular graph generation stack for QM9/ZINC/MOSES datasets, GraphAF, GraphDF, GraphEBM, JTVAE, RDKit-based validity checks, and property-optimization workflows.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill for DIG workflows that generate or optimize 2D molecular graphs and RDKit molecules.
dig.ggraph.dataset: QM9, ZINC250k, ZINC800, MOSES, PygDataset.dig.ggraph.method: GraphAF, GraphDF, GraphEBM, JTVAE, Generator.dig.ggraph.evaluation: RandGenEvaluator, PropOptEvaluator, ConstPropOptEvaluator.dig.ggraph.utils: check_chemical_validity, check_valency, calculate_min_plogp, reward_target_molecule_similarity, gen_mol_from_one_shot_tensor.Mol/SMILES objects or one-shot atom/bond tensors.../three-d-graphs/SKILL.md.../self-supervised-learning/SKILL.md.../graph-explainability/SKILL.md.references/workflows.md for the three primary generation workflows.references/api-reference.md for constructor names, method names, and helper functions.references/troubleshooting.md when datasets download unexpectedly, RDKit validity is low, or property-evaluator inputs are malformed.scripts/molecule_generation_smoke.py for a safe import-and-evaluator smoke check.train_rand_gen, then generate molecules with run_rand_gen and evaluate with RandGenEvaluator.train_prop_optim/train_prop_opt and score outputs with PropOptEvaluator.train_const_prop_opt and run_const_prop_opt to optimize a source molecule while enforcing similarity thresholds with ConstPropOptEvaluator.gen_mol_from_one_shot_tensor to convert model outputs back into RDKit molecules, then validate with the RDKit helpers.python scripts/molecule_generation_smoke.py --help
python scripts/molecule_generation_smoke.py
The smoke script only uses tiny in-memory molecules and tensors. It does not download datasets or train models.