Add card + splits + metadata
Browse files- README.md +65 -0
- datasplits.json +0 -0
- lmdb/metadata.json +1 -0
README.md
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
tags:
|
| 4 |
+
- chemistry
|
| 5 |
+
- electron-density
|
| 6 |
+
- qm9
|
| 7 |
+
- molecular-dynamics
|
| 8 |
+
size_categories:
|
| 9 |
+
- 100K<n<1M
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
# OrbFlow data
|
| 13 |
+
|
| 14 |
+
Preprocessed training and evaluation data for **OrbFlow** (equivariant flow matching for atomic-orbital
|
| 15 |
+
coefficients and electron density).
|
| 16 |
+
|
| 17 |
+
- Code: https://github.com/TODO/OrbFlow
|
| 18 |
+
- Checkpoints: [divelab/OrbFlow](https://huggingface.co/divelab/OrbFlow)
|
| 19 |
+
|
| 20 |
+
## Contents
|
| 21 |
+
|
| 22 |
+
The layout matches the `DATAPATH` folder expected by the OrbFlow scripts.
|
| 23 |
+
|
| 24 |
+
| Path | Size | Description |
|
| 25 |
+
|------|------|-------------|
|
| 26 |
+
| `datasplits.json` | 1 MB | QM9 train / validation / test split |
|
| 27 |
+
| `lmdb/` | 1.4 TB | QM9 LMDB: geometries and density probes, 134 shards (+ `metadata.json`) |
|
| 28 |
+
| `lmdb_gt_ridge/` | 12 GB | QM9 target orbital coefficients (β = 1.3, ridge 1e-6), one shard per `lmdb/` shard |
|
| 29 |
+
| `MD/scdp_lmdb/<mol>/` | 24 GB | MD LMDBs for benzene, ethane, ethanol, malonaldehyde, phenol, resorcinol (each with its own `datasplits.json`) |
|
| 30 |
+
| `MD/scdp_lmdb_gt_ridge_beta1.3/<mol>/` | 0.6 GB | MD target orbital coefficients (β = 1.3, ridge 1e-6) |
|
| 31 |
+
| `MD/flow_prior_ridge1e6_beta1.3/<mol>/` | < 1 MB | Per-molecule flow-prior µ/σ used by the MD training recipe |
|
| 32 |
+
|
| 33 |
+
## Download
|
| 34 |
+
|
| 35 |
+
Everything (≈ 1.46 TB):
|
| 36 |
+
|
| 37 |
+
```bash
|
| 38 |
+
hf download divelab/OrbFlow-data --repo-type dataset --local-dir "$DATAPATH"
|
| 39 |
+
```
|
| 40 |
+
|
| 41 |
+
Only part of it, e.g. the MD data (≈ 25 GB) or the QM9 target coefficients:
|
| 42 |
+
|
| 43 |
+
```bash
|
| 44 |
+
hf download divelab/OrbFlow-data --repo-type dataset --local-dir "$DATAPATH" --include "MD/*"
|
| 45 |
+
hf download divelab/OrbFlow-data --repo-type dataset --local-dir "$DATAPATH" --include "lmdb_gt_ridge/*" "datasplits.json"
|
| 46 |
+
```
|
| 47 |
+
|
| 48 |
+
## How the data was produced
|
| 49 |
+
|
| 50 |
+
- **QM9 LMDB** — built from the [DTU QM9 VASP charge densities](https://data.dtu.dk/articles/dataset/QM9_Charge_Densities_and_Energies_Calculated_with_VASP/16794500)
|
| 51 |
+
with the [SCDP](https://github.com/kyonofx/scdp) preprocessing (bond-midpoint virtual nodes, atom cutoff 6 Å):
|
| 52 |
+
`vision/preprocess_qm9_lmdb.slurm` in the OrbFlow code. It can be rebuilt from the DTU tarballs instead of downloaded.
|
| 53 |
+
- **Target coefficients** — per-molecule ridge fit of the DFT density on the def2-QZVPPD-derived Gaussian basis
|
| 54 |
+
(β = 1.3, ridge 1e-6, full probe grid, float64): `vision/prepare_flow_gt_coeffs_ridge1e6_gpu.slurm` (QM9) and
|
| 55 |
+
`vision/prepare_md_gt_coeffs_ridge1e6_beta13_gpu.slurm` (MD).
|
| 56 |
+
- **MD prior** — mean / std of the train-split target coefficients: `vision/compute_md_flow_prior_stats_beta13.slurm`.
|
| 57 |
+
- **MD densities** — TODO: source and citation.
|
| 58 |
+
|
| 59 |
+
> **Alignment:** `lmdb_gt_ridge/` is matched to `lmdb/` by shard file name and entry order, not by molecule ID.
|
| 60 |
+
> Use it with the `lmdb/` from this repository, or with an LMDB rebuilt by the unmodified script from all 134
|
| 61 |
+
> original DTU tarballs. A mismatched LMDB makes training stop with a clear error.
|
| 62 |
+
|
| 63 |
+
## License and citation
|
| 64 |
+
|
| 65 |
+
TODO: license (must be compatible with the DTU QM9 dataset and the MD source data) and citation.
|
datasplits.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
lmdb/metadata.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"target_mean": 0.07815587520599365, "target_var": 0.10440606623888016, "avg_num_neighbors": 17, "unique_atom_types": [0, 1, 6, 7, 8, 9]}
|