xnn.common.data.hub.gmtkn55#
Builder for the GMTKN55 benchmark database (Goerigk et al. 2017).
GMTKN55 collects 55 benchmark sets of general main-group thermochemistry,
kinetics and noncovalent interactions: 1505 relative energies computed from
2462 single-point structures, with reference values at the W4 / W1-F12 /
W2-F12 / CCSD(T)/CBS level (Goerigk, Hansen, Bauer, Ehrlich, Najibi &
Grimme, Phys. Chem. Chem. Phys. 19, 32184, 2017, DOI
10.1039/C7CP04913G). The sets fall into five categories: basic properties
and reactions of small systems (18 sets), reactions of large systems and
isomerisations (9), barrier heights (7), intermolecular (12) and
intramolecular (9) noncovalent interactions; see CATEGORIES.
Data#
The files are those of the maintainers’ repository grimme-lab/GMTKN55 (dataset license CC BY 4.0; cite the paper above). Two versions are available, each pinned to a commit and verified by MD5:
"v2"(default): thev2branch, with the maintainers’ updated reference values (251 reactions in C60ISO, ISOL24, UPU23, S66, G21EA, G21IP, WATER27, BH76, BH76RC, BHPERI, PX13 and BHDIV10) and 10 reactions removed whose references were affected by spin contamination (Liang & Head-Gordon, J. Chem. Theory Comput. 2025, DOI 10.1021/acs.jctc.5c01380): 1495 reactions, 2448 structures. The changes are listed in the repository’sREFERENCE_UPDATES.md."v1": thev1branch, the reference values of the 2017 paper: 1505 reactions, 2462 structures. The geometries are identical in both versions.
Only the geometries, charges, spins, reaction definitions, bibliographies
and the maintainers’ PBEh-3c single-point outputs are extracted from the
archive (about 40 MB); the evaluation scripts of the repository are not
used. Everything is cached under datasets/gmtkn55/raw/; nothing ships
with xnn.
Contents#
load_dataset("gmtkn55") returns two lists:
structures: one structure dict per species of every loaded set (2442 distinct species inv1, 2420 inv2) withatomic_numbers,pos(Angstrom),total_charge,spin_multiplicity(unpaired electrons + 1),subset,category,name(the species folder of the repository) andpbeh3c_energy, the maintainers’ PBEh-3c/def2-mSVP total energy in eV (a ready baseline and the oracle of the verification notebook);reactions: one record per relative energy withsubset,category,index(1-based within the set),species(names),stoichiometry(signed integers) andreferencein kcal/mol. A reaction energy issum(coefficient * E(species)); the sign convention is the repository’s (e.g. S22 and S66 binding energies are positive).
The BH76RC set is defined on the structures of the BH76 folder; its species
are listed under subset="BH76RC" as well.
The helpers reaction_energies(), subset_statistics() and
wtmad2() score a model from a mapping of its per-species energies.
WTMAD-2 (eq. 2 of the paper) scales every set’s mean absolute deviation by
56.84 / <|dE|> with 56.84 kcal/mol the paper’s average of the 55 mean
absolute reference energies (PAPER_SCALE), weights it by the number
of reactions and divides by the total count. The paper’s constant is kept
by default so that scores compare with the published ones; the actual
average of the data is 57.82 kcal/mol in v1 (Table 1 of the paper
prints 414.73 for the MB16-43 average where the data give 468.39) and
57.40 in v2; scale="data" recomputes it from the loaded sets.
Notes
In
v2the species names of the WATER27 reaction file do not match the folder names (H1OforH2O,H2OpforH3Op,OHmH1OforOHmH2O); the builder maps them back, and every reaction of both versions resolves to a geometry.The reaction files carry two trailing columns (an energy offset and an error multiplier of the maintainers’ tool); they are 0 and 1 throughout and are checked, not applied.
Charged (up to 2 e) and open-shell species (up to three unpaired electrons), 60 elements up to Bi and systems of up to 81 atoms occur; the
elements,max_abs_chargeandclosed_shellfilters restrict the reactions to what a model can evaluate.
Module Attributes
the 55 sets by category, in the order of Table 1 of the paper |
|
all 55 set names |
|
the paper's WTMAD-2 normalisation constant (kcal/mol) |
Functions
|
Reactions of one |
|
Reaction energies (kcal/mol) from per-species energies. |
|
Per-set error statistics of predicted reaction energies. |
|
WTMAD-2 of predicted reaction energies (eq. |
Classes
Builder for the GMTKN55 database (see the module docstring). |