deepmd-train — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited deepmd-train (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Use this skill to guide DeePMD-kit model training without loading every model-specific recipe up front. The workflow is intentionally progressive:
models/.input.json, run training, monitor, freeze, and test.Do not start by reading every model document. First classify the request:
Available model references:
| Model reference | Read when |
|---|---|
models/se-e2-a.md | The user wants a classical DeepPot-SE baseline, broad compatibility, or a smaller/established production model. |
models/dpa3.md | The user wants a high-accuracy DPA3/LAM workflow, large/diverse datasets, dynamic neighbor selection, or pretrained DPA3-style training. |
models/dpa4.md | The user wants the PyTorch-only DPA4/SeZM SO(3)-equivariant architecture and its .pt2 deployment path. |
models/dpa4c.md | The user wants the compact DPA4C architecture, PyTorch Exportable training, and optional compressed .pt2 deployment. |
Ask only for missing information that changes the choice. Prefer reasonable defaults when the answer is obvious from context.
Key inputs:
Recommended defaults:
dp --versionFor conventional PyTorch training, use dp --pt ...; DPA4C uses the PyTorch Exportable backend, dp --pt-expt .... For TensorFlow, use dp ...; for other backends, confirm the installed backend first.
Training data should be in DeePMD format, typically deepmd/npy or deepmd/hdf5. If the user has raw electronic-structure outputs, convert them first with dpdata before writing the training input.
Minimum information needed to build input.json:
type_mapFor new DPA4 and DPA4C inputs, follow the preset workflow first and reserve manual architecture blocks for the advanced path.
After selecting a model, read the corresponding file under models/ and apply its model-specific configuration, hyperparameters, and caveats.
dp --pt train input.jsonUse the backend-specific command if not using PyTorch.
Restart from a checkpoint when needed:
dp --pt train input.json --restart model.ckpt.ptTraining progress is usually written to lcurve.out. Check for:
Read the selected model reference before choosing the output format. For conventional PyTorch models, a typical flow is:
dp --pt freeze -o model.pth
dp test -m model.pth -s /path/to/test_system -n 30DPA4/SeZM and DPA4C checkpoints instead freeze to .pt2; follow the selected model reference. DPA4C may additionally be compressed for deployment. Adjust the backend and output format for other model families.
type_map matches the data and model/pretrained checkpoint.input.json is valid JSON.lcurve.out or equivalent logs.~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.