janwein commited on
Commit
99eaf1b
·
verified ·
1 Parent(s): d28ce1c

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +363 -0
README.md CHANGED
@@ -1,3 +1,366 @@
1
  ---
2
  license: mit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: mit
3
+ task_categories:
4
+ - tabular-regression
5
+ tags:
6
+ - chemistry
7
+ - quantum-chemistry
8
+ - computational-chemistry
9
+ - density-functional-theory
10
+ - molecular-geometry
11
+ - molecular-machine-learning
12
+ - interatomic-potentials
13
+ - pyscf
14
+ pretty_name: Chembricks ωB97M-V Organic
15
+ size_categories:
16
+ - 100K<n<1M
17
  ---
18
+
19
+ # Chembricks ωB97M-V Organic
20
+
21
+ Chembricks ωB97M-V Organic is a curated computational quantum-chemistry dataset containing **801,781 molecular structures**. Each structure provides a gas-phase ωB97M-V single-point energy, HOMO and LUMO energies, an atom-resolved nuclear gradient, formal charge and spin, Cartesian coordinates, and traceable source provenance.
22
+
23
+ The DFT labels were evaluated on converged gas-phase GFN2-xTB geometries. They are protocol-defined computational reference values—not experimental measurements and not universal ground truth.
24
+
25
+ ## Dataset summary
26
+
27
+ | Property | Value |
28
+ |---|---:|
29
+ | Retained molecular identities | 801,781 |
30
+ | Retained conformers | 801,781 |
31
+ | Raw source records curated | 805,046 |
32
+ | Duplicate source occurrences merged | 1,615 |
33
+ | Hard-invalid source records rejected | 1,650 |
34
+ | Quarantined source occurrences | 0 |
35
+ | Retained records with an explicit connectivity flag | 2,791 |
36
+ | Formal charge −1 / 0 / +1 | 3,669 / 790,722 / 7,390 |
37
+ | PySCF spin `2S = 0` | 801,781 |
38
+ | Electronic-structure driver | RKS for every retained structure |
39
+ | Elements | H, B, C, N, O, F, Si, P, S, Cl, Br, I |
40
+ | Phase | Gas |
41
+
42
+ The serialized format supports multiple conformers per molecular identity. In this release, the number of retained conformers equals the number of canonical identities, so each `vacuum_conformers` array contains one retained representative.
43
+
44
+ ## Intended uses
45
+
46
+ This dataset is suitable for research on:
47
+
48
+ - molecular energy and orbital-energy regression;
49
+ - atomistic energy/gradient and force-model development;
50
+ - representation learning on molecular geometries;
51
+ - uncertainty estimation and out-of-distribution detection;
52
+ - quantum-chemistry surrogate models; and
53
+ - analysis of SCF behavior across organic and main-group chemical space.
54
+
55
+ It is not intended to provide experimental observables, solvent-phase properties, reaction barriers, DFT-optimized stationary points, or thermochemical quantities.
56
+
57
+ ## Release scope
58
+
59
+ The release scope was fixed by a deterministic source-chunk rule:
60
+
61
+ | Source campaign | Included chunk IDs | Source files | Raw records |
62
+ |---|---:|---:|---:|
63
+ | Campaign 1 | 0–38 | 39 | 397,482 |
64
+ | Campaign 2 | 0–81 | 82 | 407,564 |
65
+ | **Total** | | **121** | **805,046** |
66
+
67
+ The chunk-prefix selection is reproducible, but it was not a randomized or distribution-preserving sample. Keep the supplied source references when constructing evaluations, and do not assume that records are independently and identically distributed solely because canonical identities are unique.
68
+
69
+ ## From SMILES to the stored DFT result
70
+
71
+ ```text
72
+ SMILES + formal charge
73
+
74
+
75
+ 10 candidate 3D structures generated with g-xTB
76
+
77
+
78
+ gas-phase GFN2-xTB very-tight geometry optimization
79
+
80
+
81
+ identity, composition, convergence and geometry validation
82
+
83
+
84
+ gas-phase PySCF ωB97M-V single-point calculation
85
+
86
+
87
+ energy + HOMO/LUMO + nuclear gradient + xTB geometry
88
+
89
+
90
+ deduplication, conflict checks and robust outlier curation
91
+ ```
92
+
93
+ The workflow starts from a molecular SMILES and explicit formal charge. g-xTB generates ten candidate three-dimensional structures. A selected candidate is optimized in the gas phase with GFN2-xTB using the very-tight convergence setting. PySCF then evaluates one ωB97M-V single point on that xTB geometry.
94
+
95
+ The DFT stage does **not** optimize the geometry (`perform_opt: false`) and does not request thermochemistry (`thermo: false`). The dataset therefore contains no DFT stationary geometries, Hessians, harmonic frequencies, zero-point energies, enthalpies, or finite-temperature Gibbs free energies. A nonzero stored gradient is expected because it is evaluated at an xTB-optimized rather than ωB97M-V-optimized geometry.
96
+
97
+ ## Quantum-chemistry protocol
98
+
99
+ | Setting | Value |
100
+ |---|---|
101
+ | Functional | ωB97M-V (`wb97m-v`) |
102
+ | Functional class | Range-separated hybrid meta-GGA with VV10 nonlocal correlation |
103
+ | Program | PySCF 2.9.0 |
104
+ | Phase | Gas; `solvent: null` |
105
+ | Geometry | Gas-phase GFN2-xTB very-tight optimization |
106
+ | DFT calculation | Single point only |
107
+ | Numerical grid | PySCF grid level 5 plus the VV10 nonlocal grid |
108
+ | Density fitting | RI-JK through PySCF `density_fit()` |
109
+ | Orbital basis/ECP scheme | `qmcbasis`: NWChem-format, commit-declared aug-cc-pVTZ orbital-basis and matching ccECP map for observed elements |
110
+ | Auxiliary basis | `cc-pvdz-jkfit`; iodine override `def2-universal-jkfit` |
111
+ | SCF level shift | 0.5 Hartree |
112
+ | Maximum SCF cycles | 250 |
113
+ | Driver and spin | RKS; every retained entry has PySCF `spin = Nα − Nβ = 2S = 0` |
114
+ | Direct SCF | PySCF default behavior; no explicit screening tolerance was serialized |
115
+ | Coordinates | Å |
116
+ | Energies | Hartree (`Eh`) |
117
+ | Nuclear gradient | Hartree/bohr (`Eh/a₀`) |
118
+
119
+ ωB97M-V includes exact Hartree–Fock exchange. RI-JK therefore fits both the Coulomb (J) and exchange (K) contributions rather than using a Coulomb-only J-fit.
120
+
121
+ CDS means **cavitation–dispersion–solvent-structure** correction. Because these calculations are gas phase and do not use SMD, `solvent_energy` and `cds_correction` are exactly zero for every retained structure.
122
+
123
+ ## Curation and quality control
124
+
125
+ The curation procedure canonicalized identity with RDKit and applied the following non-negotiable checks:
126
+
127
+ - converged GFN2-xTB geometry optimization and converged DFT SCF;
128
+ - finite SCF, solvent, CDS, HOMO, LUMO, coordinate, and gradient values;
129
+ - matching element composition, formal charge, electron-count parity, spin, and RKS driver;
130
+ - one coordinate and one gradient vector per atom, with three finite Cartesian components;
131
+ - `HOMO <= LUMO` and an SCF-cycle count between 1 and 250;
132
+ - the expected gas-phase ωB97M-V method, basis scheme, grid, level shift, and calculation mode;
133
+ - no severe atomic collisions; and
134
+ - robust median/MAD energy screens within canonical-identity and molecular-formula groups.
135
+
136
+ Within one canonical identity, symmetry-aware exact duplicates were identified after atom mapping and rigid alignment. Both the heavy-atom and all-atom RMSD had to be at most `10^-6 Å`. Duplicate labels were required to agree within `10^-5 Hartree` for SCF energy, solvent energy, CDS correction, HOMO, and LUMO; aligned gradient components were required to agree within `10^-6 Hartree/bohr`. One deterministic representative was retained and redundant occurrences were attached to its provenance rather than emitted as extra training examples.
137
+
138
+ The released curation policy allows a composition-consistent geometry to differ in connectivity from its canonical SMILES. The diagnostic proximity graph uses `1.25 ×` the sum of RDKit covalent radii when checking expected SMILES bonds. The **2,791 retained structures** for which an expected bond was not present carry:
139
+
140
+ ```json
141
+ "curation_flags": ["connectivity_mismatch_allowed_by_mild"]
142
+ ```
143
+
144
+ These structures are intentionally visible rather than silently relabeled. Users can retain them, exclude them, or evaluate them as a separate slice. Geometry-derived identity inference was permitted when source SMILES was absent and uniquely resolvable, but no retained record in this release required it.
145
+
146
+ ### Curation accounting
147
+
148
+ | Outcome | Count | Share of 805,046 raw records |
149
+ |---|---:|---:|
150
+ | Retained distinct representative | 801,781 | 99.594% |
151
+ | Duplicate occurrence merged into provenance | 1,615 | 0.201% |
152
+ | Quarantined | 0 | 0.000% |
153
+ | Hard rejected | 1,650 | 0.205% |
154
+ | **Total** | **805,046** | **100.000%** |
155
+
156
+ The final artifact passed streaming standard-JSON parsing, non-finite-value checks, ID uniqueness checks, exact accounting closure, source-reference validation, geometry/gradient shape checks, method-profile validation, and a complete SHA-256 rehash.
157
+
158
+ ## Distributed file
159
+
160
+ | File | Size | SHA-256 |
161
+ |---|---:|---|
162
+ | `wb97m_v_organic_argonne_public_2026-08-16.json` | 3,266,960,267 bytes | `e1abc9a68ca2a782d9bf0c9605325a9be67607c68e394f7b365df529599cffeb` |
163
+
164
+ The artifact is standard JSON, not JSON Lines. It uses an identity-grouped envelope rather than storing one independent object per line:
165
+
166
+ ```text
167
+ root
168
+ ├── schema_version
169
+ ├── metadata
170
+ ├── source_files[]
171
+ └── molecules[]
172
+ ├── molecular identity
173
+ └── vacuum_conformers[]
174
+ ├── geometry
175
+ ├── log_data
176
+ └── provenance and curation fields
177
+ ```
178
+
179
+ ## JSON field reference
180
+
181
+ ### Top-level fields
182
+
183
+ | Field | Type | Meaning |
184
+ |---|---|---|
185
+ | `schema_version` | string | Serialization schema version; currently `1.0.0`. |
186
+ | `metadata` | object | Dataset identity, version, counts, curation settings, units, calculation protocol, and manifest fingerprints. |
187
+ | `source_files` | array of objects | Table of source-file provenance. `source_ref.file_id` values resolve against this table. |
188
+ | `molecules` | array of objects | The 801,781 retained canonical molecular identities. |
189
+
190
+ ### `metadata`
191
+
192
+ | Field | Meaning |
193
+ |---|---|
194
+ | `dataset_name` | Human-readable dataset name. |
195
+ | `dataset_version` | Version of the curated release. |
196
+ | `description` | Short description of the retained labels and structures. |
197
+ | `counts` | Exact `molecules`, `conformers`, and `source_records` counts. |
198
+ | `state_mapping` | Declares that `vacuum_conformers` stores validated gas-phase DFT states. |
199
+ | `identity_policy` | Canonical molecular-identity rule. |
200
+ | `curation_policy` | Duplicate, label-tolerance, identity-inference, and connectivity-policy settings. |
201
+ | `units` | Canonical units for coordinates, energies, gradients, and timing data. |
202
+ | `calculation_protocols` | Full protocol object referenced by each conformer's `protocol_id`. |
203
+ | `source_manifest_logical_sha256` | Logical fingerprint of the source manifest used for the build. |
204
+ | `dependency_manifest_logical_sha256` | Logical fingerprint of the curation implementation and runtime dependencies. |
205
+ | `curation_config_logical_sha256` | Logical fingerprint of the effective curation configuration. |
206
+
207
+ ### `source_files[]`
208
+
209
+ | Field | Type | Meaning |
210
+ |---|---|---|
211
+ | `id` | integer | Dataset-local file identifier used by conformer provenance. |
212
+ | `relative_path` | string | Stable logical source path; it is not a local machine path. |
213
+ | `collection` | string | Source campaign identifier. |
214
+ | `protocol_id` | string | Calculation protocol applied to records in the source file. |
215
+ | `record_count` | integer | Number of raw records in that source file. |
216
+ | `size_bytes` | integer | Raw source-file size in bytes. |
217
+ | `sha256` | string | SHA-256 digest of the raw source file. |
218
+
219
+ ### `molecules[]`
220
+
221
+ | Field | Type | Meaning |
222
+ |---|---|---|
223
+ | `molecule_id` | string | Deterministic ID of the form `mol-` plus 24 hexadecimal characters, derived from the canonical SMILES with a versioned SHA-256 namespace. It is a dataset ID, not an InChIKey. |
224
+ | `canonical_smiles` | string | RDKit canonical isomeric SMILES used as the molecular identity. |
225
+ | `original_smiles` | array of strings | Unique original SMILES carried by retained representative records grouped under this identity. |
226
+ | `formal_charge` | integer | Molecular formal charge; validated against both identity and `log_data.charge`. |
227
+ | `vacuum_conformers` | array of objects | Retained gas-phase conformer records. The schema supports multiple conformers; this release contains one per identity. |
228
+
229
+ ### `vacuum_conformers[]`
230
+
231
+ | Field | Type | Meaning |
232
+ |---|---|---|
233
+ | `conformer_id` | string | Deterministic ID of the form `conf-` plus 24 hexadecimal characters, derived from canonical identity and the normalized conformer payload. |
234
+ | `geometry` | object | Ordered atom symbols and Cartesian coordinates of the converged xTB geometry. |
235
+ | `log_data` | object | Normalized DFT labels, protocol fields, gradient, and optional runtime diagnostics. |
236
+ | `source_occurrence_count` | integer | Number of raw occurrences represented by this retained conformer. A value greater than one means redundant occurrences were merged. |
237
+ | `source_ref` | object | Provenance of the deterministic representative. |
238
+ | `merged_source_refs` | array of objects, optional | Provenance of redundant source occurrences merged into the representative. These are not extra training examples. |
239
+ | `curation_flags` | array of strings, optional | Explicit retained-policy flags. Absence means that no such flag applies. |
240
+
241
+ ### `geometry`
242
+
243
+ | Field | Type | Meaning |
244
+ |---|---|---|
245
+ | `elements` | array of strings, length `N` | Atomic symbols in the stored geometry atom order. |
246
+ | `coordinates` | array of `[x, y, z]`, shape `[N, 3]` | Finite Cartesian coordinates aligned row-for-row with `elements`; unit is Å. |
247
+ | `unit` | string | Always `angstrom`. |
248
+ | `method` | string | `xTB`, indicating that the geometry came from the GFN2-xTB optimization. |
249
+
250
+ `geometry.elements[i]`, `geometry.coordinates[i]`, and `log_data.gradient[i]` always refer to the same atom.
251
+
252
+ ### `log_data`
253
+
254
+ | Field | Type | Unit | Meaning |
255
+ |---|---|---|---|
256
+ | `converged` | boolean | — | Always `true` for retained SCF calculations. |
257
+ | `scf_energy` | number | Hartree | Total gas-phase ωB97M-V SCF energy. |
258
+ | `homo` | number | Hartree | Highest occupied molecular-orbital energy. |
259
+ | `lumo` | number | Hartree | Lowest unoccupied molecular-orbital energy. |
260
+ | `gradient` | array of `[gx, gy, gz]`, shape `[N, 3]` | Hartree/bohr | Nuclear derivative `∂E/∂R` in geometry atom order. A force target is the negative gradient. |
261
+ | `charge` | integer | elementary charge | Total molecular charge; equals the enclosing `formal_charge`. |
262
+ | `spin` | integer | — | PySCF spin `Nα − Nβ = 2S`; every retained value is `0`. This is not the multiplicity `2S + 1`. |
263
+ | `driver` | string | — | SCF driver; always `RKS` in this release. |
264
+ | `cycles` | integer | — | Number of SCF cycles, from 1 through 250. |
265
+ | `xc` | string | — | Exchange-correlation functional identifier; `wb97m-v`. |
266
+ | `basis` | string | — | Basis/ECP scheme identifier; `qmcbasis`. Resolve details through the matching protocol object. |
267
+ | `grid_level` | integer | — | PySCF numerical grid level; `5`. |
268
+ | `level_shift` | number | Hartree | SCF level shift; `0.5`. |
269
+ | `solvent` | null | — | Always `null`; calculations are gas phase. |
270
+ | `solvent_energy` | number | Hartree | Always `0.0` in this gas-phase release. |
271
+ | `cds_correction` | number | Hartree | Always `0.0`; CDS is the cavitation–dispersion–solvent-structure correction. |
272
+ | `perform_opt` | boolean | — | Always `false`; no DFT geometry optimization was performed. |
273
+ | `thermo` | boolean | — | Always `false`; no Hessian/frequency thermochemistry was requested. |
274
+ | `protocol_id` | string | — | Foreign key into `metadata.calculation_protocols`; here `argonne_dev_crux_0153337`. |
275
+ | `time` | number, optional | seconds | Reported total calculation timing diagnostic. |
276
+ | `pyscf_time` | number, optional | seconds | Reported PySCF-stage timing diagnostic. |
277
+ | `memory_usage_mb` | number, optional | MB | Reported memory-use diagnostic. |
278
+ | `ncores` | integer, optional | cores | Reported CPU-core count. |
279
+
280
+ Runtime and resource fields are environment-dependent diagnostics, not molecular labels.
281
+
282
+ ### Provenance objects
283
+
284
+ `source_ref` and entries in optional `merged_source_refs` contain:
285
+
286
+ | Field | Meaning |
287
+ |---|---|
288
+ | `file_id` | Foreign key into top-level `source_files`. |
289
+ | `result_index` | Zero-based record index inside that source file. |
290
+ | `uuid` | Original source UUID when supplied. |
291
+ | `relative_path` | Stable logical source path. |
292
+ | `collection` | Source campaign identifier. |
293
+
294
+ For every conformer, `source_occurrence_count` is the representative occurrence plus the number of entries in `merged_source_refs`.
295
+
296
+ ## Memory-safe loading
297
+
298
+ The JSON file is approximately 3.27 GB, so avoid `json.load()` unless sufficient memory is available. The top-level `molecules` array can be streamed with [`ijson`](https://pypi.org/project/ijson/):
299
+
300
+ ```bash
301
+ pip install huggingface_hub ijson
302
+ ```
303
+
304
+ ```python
305
+ from huggingface_hub import hf_hub_download
306
+ import ijson
307
+
308
+ path = hf_hub_download(
309
+ repo_id="chembricks/WB96MV-ORGANIC",
310
+ filename="wb97m_v_organic_argonne_public_2026-08-16.json",
311
+ repo_type="dataset",
312
+ )
313
+
314
+ with open(path, "rb") as handle:
315
+ molecules = ijson.items(handle, "molecules.item")
316
+ for molecule in molecules:
317
+ conformer = molecule["vacuum_conformers"][0]
318
+ elements = conformer["geometry"]["elements"]
319
+ coordinates_angstrom = conformer["geometry"]["coordinates"]
320
+ energy_hartree = conformer["log_data"]["scf_energy"]
321
+ gradient_hartree_per_bohr = conformer["log_data"]["gradient"]
322
+ # Train, transform, or yield the record here.
323
+ ```
324
+
325
+ ## Recommended ML practice
326
+
327
+ - Split on `molecule_id`, canonical SMILES, or a molecular scaffold—not on provenance occurrences.
328
+ - Do not expand `merged_source_refs` into repeated examples; those objects document redundancy.
329
+ - Keep the coordinate, element, and gradient arrays in exactly the same atom order.
330
+ - If training forces, use `force = -gradient` and convert both energy and length units consistently.
331
+ - Preserve `protocol_id`, even though the release currently contains one protocol.
332
+ - Decide explicitly how to handle the 2,791 `connectivity_mismatch_allowed_by_mild` structures and report that decision.
333
+ - Do not compare raw total energies across different elemental compositions as though they were directly normalized molecular properties.
334
+ - Prefer scaffold-aware or source-aware evaluation when estimating chemical generalization.
335
+
336
+ ## Limitations
337
+
338
+ - These are computed labels and inherit the approximations of GFN2-xTB geometries, ωB97M-V, the basis/ECP scheme, RI-JK density fitting, and the numerical settings.
339
+ - The structures are not DFT stationary points; gradients generally do not vanish.
340
+ - The release contains closed-shell RKS calculations only and does not represent open-shell chemistry.
341
+ - It contains gas-phase values only. Solvation, condensed-phase effects, and finite-temperature thermochemistry are absent.
342
+ - Canonical SMILES is the identity key, but 2,791 retained geometries carry an explicit connectivity-change flag.
343
+ - The deterministic source-chunk selection is not equivalent to a random sample of chemical space.
344
+ - Timing and memory fields depend on the calculation environment and should not be treated as intrinsic molecular properties.
345
+
346
+ ## License
347
+
348
+ The dataset is released under the MIT License.
349
+
350
+ ## Citation
351
+
352
+ If you use the dataset, cite the Hugging Face repository and the ωB97M-V method paper:
353
+
354
+ ```bibtex
355
+ @misc{chembricks_wb97mv_organic_2026,
356
+ author = {Chembricks},
357
+ title = {Chembricks ωB97M-V Organic},
358
+ year = {2026},
359
+ howpublished = {Hugging Face dataset},
360
+ url = {https://huggingface.co/datasets/chembricks/WB96MV-ORGANIC},
361
+ note = {Version 2026-08-16-v1-mild}
362
+ }
363
+ ```
364
+
365
+ - N. Mardirossian and M. Head-Gordon, “ωB97M-V: A combinatorially optimized, range-separated hybrid, meta-GGA density functional with VV10 nonlocal correlation,” *Journal of Chemical Physics* **144**, 214110 (2016). [DOI: 10.1063/1.4952647](https://doi.org/10.1063/1.4952647)
366
+ - [PySCF density-fitting documentation](https://pyscf.org/user/df.html)