跳到正文
cccskills
免费在 GitHub 公开

chemprop

Use Chemprop 2.2.3 for molecular property prediction: CLI training, prediction, fingerprints, data validation, Python APIs, reaction/atom-bond tasks, uncertainty, hpopt, and conversion workflows.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(42)

  • SKILL.md5.7 KB
  • references/package-overview.md3.4 KB
  • references/repo-provenance.md1.8 KB
  • references/repo-routing-metadata.json327 B
  • references/troubleshooting.md3.8 KB
  • scripts/chemprop_environment_check.py2.9 KB
  • sub-skills/data-featurization/references/data-api.md9.5 KB
  • sub-skills/data-featurization/references/extra-features-descriptors.md7.7 KB
  • sub-skills/data-featurization/references/featurizers.md8.7 KB
  • sub-skills/data-featurization/references/troubleshooting.md10.6 KB
  • sub-skills/data-featurization/scripts/validate_chemprop_tabular_inputs.py16.5 KB
  • sub-skills/data-featurization/SKILL.md11.3 KB
  • sub-skills/prediction-fingerprints/references/fingerprint-workflows.md5.3 KB
  • sub-skills/prediction-fingerprints/references/model-artifacts.md4.7 KB
  • sub-skills/prediction-fingerprints/references/prediction-workflows.md6.7 KB
  • sub-skills/prediction-fingerprints/references/troubleshooting.md5.3 KB
  • sub-skills/prediction-fingerprints/scripts/chemprop_predict_command_builder.py12.8 KB
  • sub-skills/prediction-fingerprints/SKILL.md7.0 KB
  • sub-skills/python-api-modeling/references/api-reference.md8.4 KB
  • sub-skills/python-api-modeling/references/model-components.md7.9 KB
  • sub-skills/python-api-modeling/references/python-workflows.md9.3 KB
  • sub-skills/python-api-modeling/references/troubleshooting.md7.1 KB
  • sub-skills/python-api-modeling/scripts/chemprop_api_smoke.py3.7 KB
  • sub-skills/python-api-modeling/SKILL.md3.6 KB
  • sub-skills/specialized-molecular-tasks/references/mol-atom-bond.md5.3 KB
  • sub-skills/specialized-molecular-tasks/references/reaction-multicomponent.md4.6 KB
  • sub-skills/specialized-molecular-tasks/references/spectral-and-special-tasks.md4.5 KB
  • sub-skills/specialized-molecular-tasks/references/troubleshooting.md5.3 KB
  • sub-skills/specialized-molecular-tasks/scripts/chemprop_specialized_command_builder.py9.5 KB
  • sub-skills/specialized-molecular-tasks/SKILL.md4.7 KB
  • sub-skills/training-cli/references/cli-reference.md10.6 KB
  • sub-skills/training-cli/references/data-formats.md8.6 KB
  • sub-skills/training-cli/references/training-workflows.md10.1 KB
  • sub-skills/training-cli/references/troubleshooting.md9.9 KB
  • sub-skills/training-cli/scripts/chemprop_train_command_builder.py18.1 KB
  • sub-skills/training-cli/SKILL.md7.1 KB
  • sub-skills/uncertainty-advanced/references/conversion-transfer-interpretation.md6.9 KB
  • sub-skills/uncertainty-advanced/references/hyperparameter-optimization.md7.3 KB
  • sub-skills/uncertainty-advanced/references/troubleshooting.md6.6 KB
  • sub-skills/uncertainty-advanced/references/uncertainty.md9.9 KB
  • sub-skills/uncertainty-advanced/scripts/chemprop_uncertainty_args.py14.7 KB
  • sub-skills/uncertainty-advanced/SKILL.md5.7 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Chemprop

Use this skill when working with Chemprop 2.2.3, a Python package and CLI for molecular property prediction with message passing neural networks. It helps future agents design Chemprop commands, validate molecular data, use trained checkpoints, build Python API workflows, handle reaction and atom/bond tasks, and troubleshoot uncertainty, conversion, and hyperparameter workflows without reopening the original source repository.

Fast Route

  • For chemprop train commands, task/loss/metric choices, split handling, config files, ensembles, transfer/foundation flags, or training outputs, use training-cli.
  • For chemprop predict, chemprop fingerprint, checkpoint/model-path handling, output formats, or learned representations, use prediction-fingerprints.
  • For CSV/NPZ validation, SMILES/reaction columns, descriptors, atom/bond features, molecule featurizers, datasets, dataloaders, or split APIs, use data-featurization.
  • For direct Python API model construction, public chemprop.data, chemprop.models, chemprop.nn, Lightning loops, save/load, metrics, and model components, use python-api-modeling.
  • For reaction, multicomponent, MolAtomBond atom/bond targets, constraints, spectral tasks, and specialized molecular schemas, use specialized-molecular-tasks.
  • For uncertainty estimation/calibration/evaluation, Ray Tune hpopt, conversion, transfer/foundation routing, and advanced interpretation workflows, use uncertainty-advanced.

Start Here

Chemprop exposes one console command with five subcommands:

chemprop --help
chemprop train --help
chemprop predict --help
chemprop fingerprint --help
chemprop convert --help
chemprop hpopt --help

For a minimal training command:

chemprop train --data-path data.csv --task-type regression --output-dir runs/regression_demo

For a minimal prediction command:

chemprop predict --test-path test.csv --model-paths runs/regression_demo/model_0/best.pt --output preds.csv

For a minimal fingerprint command:

chemprop fingerprint --test-path test.csv --model-paths model.pt --ffn-block-index 0 --output fps.csv

Installation And Environment Checks

Chemprop 2.2.3 requires Python >=3.11,<3.15. Core dependencies include PyTorch, Lightning, RDKit, NumPy, pandas, scikit-learn, SciPy, astartes, ConfigArgParse, rich, and descriptastorus. Optional workflows require extras:

  • chemprop[hpopt] for Ray Tune hyperparameter optimization.
  • chemprop[cuik_molmaker] for optional accelerated molecule featurization where supported.
  • Notebook/docs/test extras only when developing or reproducing notebooks/tests.

Use the bundled environment check when an agent needs quick diagnostics:

python scripts/chemprop_environment_check.py

Read references/package-overview.md for installed-package facts, registries, CLI modes, and workflow ownership. Read references/troubleshooting.md for cross-cutting install/import/backend, CLI, and data issues. Read references/repo-provenance.md when deciding whether this skill is stale relative to a newer Chemprop checkout.

Common Decisions

User intentFirst routeKey checks
Train a molecular regression/classification modeltraining-cliCSV header, SMILES/target columns, task type, split design, output directory
Predict from an existing checkpointprediction-fingerprintsmodel path, matching data schema, output suffix, reaction/multicomponent flags
Debug data shape or feature filesdata-featurizationCSV columns, NPZ row counts, descriptor/feature rank, component index alignment
Build Chemprop from Pythonpython-api-modelingRDKit molecules, datapoints/datasets, predictor/loss compatibility, Lightning trainer
Use reaction, multicomponent, or atom/bond tasksspecialized-molecular-tasksreaction mode, multiple SMILES columns, target lists, constraints, --reorder-atoms
Add uncertainty, hpopt, conversion, or foundation workflowsuncertainty-advancedoptional extras, compatible model task, calibration data, conversion featurizer mode

Public Runtime Boundaries

This skill is self-contained. It distills Chemprop source, docs, tests, examples, and installed-package inspection into bundled references and helper scripts. Do not require future agents to open the original Chemprop repository for normal usage. If a task asks to modify Chemprop itself, treat this skill as usage guidance and then inspect the active checkout normally.

Safety Defaults

  • Use --accelerator cpu and --num-workers 0 for local smoke tests unless GPU/backends are intentionally selected.
  • Prefer explicit --output-dir, --smiles-columns, --target-columns, and --task-type in generated commands.
  • Start with small --epochs for data/schema smoke tests before real training.
  • Validate CSV/NPZ shape issues with sub-skills/data-featurization/scripts/validate_chemprop_tabular_inputs.py before launching expensive runs.
  • Do not run notebook-scale examples, hyperparameter optimization, or training-heavy native tests as quick checks unless the user asks for expensive validation.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Routes 3D ResNets PyTorch video action-recognition workflows across training, inference, and data preparation.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3392026年9月3日 更新

3ddfa

免费

Guide 3DDFA Python inference, geometry rendering, training/evaluation, and optional C++ ONNX workflows for 3D dense face alignment.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3392026年9月3日 更新

3ddfa-v2

免费

Routes 3DDFA_V2 face-alignment setup, still-image demos, video tracking, and ONNX benchmarking workflows.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3392026年9月3日 更新

ab3dmot

免费

Operate AB3DMOT 3D multi-object tracking workflows for KITTI and nuScenes data, tracking, evaluation, and visualization.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3392026年9月3日 更新

Use Hugging Face Accelerate for PyTorch training-loop migration, distributed launch/configuration, DeepSpeed/FSDP/TPU backend setup, big-model inference/offload, checkpointing, tracking, and troubleshooting.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3392026年9月3日 更新

acme

免费

Route Acme reinforcement-learning framework tasks across core loops, replay/data, JAX agents, and TensorFlow/Sonnet agents.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3392026年9月3日 更新

查看 VectorSpaceLab 的全部技能

报告此技能的问题