Skip to content
Back to skills

Training Data

ASecurity

"Plan DiffDock score/confidence training and prepare datasets,

  • 247 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 8, 2026
datapythongobashbackend

Security analysis

A100/100

Pro scans all 8 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill training-data --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Training Data?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Training Data
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-training-data-arex-skill/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-training-data-arex-skill)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: training-data
description: "Plan DiffDock score/confidence training and prepare datasets,
  splits, ESM embeddings, caches, and checkpoints safely."
disable-model-invocation: true
metadata:
  disco-role: operating
license: MIT
---

# DiffDock Training Data

Use this sub-skill when a user wants to plan DiffDock score-model training, confidence-model training, dataset layout checks, split/caching decisions, ESM embedding preparation, or checkpoint compatibility before running expensive jobs.

## Start Here

- For score and confidence training command patterns, checkpoint outputs, restart/pretrain flows, and safe scaling decisions, read [references/training-workflows.md](references/training-workflows.md).
- For PDBBind, BindingMOAD, DockGen, PoseBusters, van der Mers/sidechain layouts, split files, CSV schemas, cache behavior, and ESM embedding preparation, read [references/data-preparation.md](references/data-preparation.md).
- For parser flag categories, model/checkpoint compatibility, all-atom/coarse-grained choices, confidence heads, and config portability, read [references/model-and-checkpoint-reference.md](references/model-and-checkpoint-reference.md).
- For dependency, backend, data path, cache, ESM, W&B, OOM, and checkpoint failures, read [references/troubleshooting.md](references/troubleshooting.md).

## Safe Helpers

- Build a command without starting training: [scripts/build_training_command.py](scripts/build_training_command.py).
- Check dataset and split layout without importing DiffDock, Torch, RDKit, or ProDy: [scripts/validate_dataset_layout.py](scripts/validate_dataset_layout.py).
- Check an ESM embedding directory or aggregate `.pt` index safely by default: [scripts/validate_esm_embedding_index.py](scripts/validate_esm_embedding_index.py).

## Scope And Routing

This sub-skill covers training planning and data preparation only: score-model and confidence-model training flags, dataset families, split files, ESM embedding preparation/conversion, cache naming, model-parameter outputs, and checkpoint compatibility.

Route these tasks elsewhere:

- Use trained checkpoints for docking prediction, inference YAML tuning, CSV/batch inference, and confidence-guided sampling: `../docking-inference/SKILL.md`.
- Aggregate benchmark metrics, run post-training evaluation, or compare PoseBusters/DockGen/PDBBind results: `../evaluation-benchmarks/SKILL.md`.
- Launch or debug the Gradio UI: `../web-ui/SKILL.md`.

## Quick Commands

```bash
python sub-skills/training-data/scripts/build_training_command.py --mode score --dataset pdbbind --data-dir data/PDBBind_processed --split-train data/splits/timesplit_no_lig_overlap_train --split-val data/splits/timesplit_no_lig_overlap_val --run-name pdbbind_trial --limit-complexes 16 --n-epochs 1 --batch-size 2

python sub-skills/training-data/scripts/validate_dataset_layout.py --dataset-type pdbbind --dataset-root data/PDBBind_processed --split-path data/splits/timesplit_no_lig_overlap_train --max-complexes 5

python sub-skills/training-data/scripts/validate_esm_embedding_index.py data/esm2_embeddings.pt --expect-ids data/splits/timesplit_no_lig_overlap_train
```

## Key Safety Rules

- Treat training, confidence-dataset generation, ESM extraction, graph preprocessing, and evaluation as expensive GPU/storage jobs; do not start them without explicit user approval.
- Use the bundled helpers first: they print commands or JSON checks and never run DiffDock training.
- Keep dataset paths, cache paths, and run directories relative to the active DiffDock checkout or user-provided project workspace.
- Do not assume full imports are available: full training paths require the optional-heavy Torch, PyG, e3nn, W&B, RDKit, ProDy, ESM/OpenFold stack and preferably CUDA.
- Preserve `model_parameters.yml` with checkpoints; downstream confidence training and inference compatibility depend on it.

Files in this skill

  • SKILL.md3.8 KB
  • references/data-preparation.md7.8 KB
  • references/model-and-checkpoint-reference.md7.7 KB
  • references/training-workflows.md7.7 KB
  • references/troubleshooting.md6.8 KB
  • scripts/build_training_command.py10.9 KB
  • scripts/validate_dataset_layout.py10.1 KB
  • scripts/validate_esm_embedding_index.py7.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.