xnn.common.data.hub#
Dataset hub: HuggingFace load_dataset()-style one-liner loading.
Download and preprocess upstream atomistic datasets into xnn’ native structure
dicts (optionally ready-to-train AtomicDataset
objects) with a single call:
from xnn.common.data import load_dataset
splits = load_dataset("rmd17", molecule="aspirin") # {"train", "test"}
train = load_dataset("rmd17", molecule="aspirin",
split="train", cutoff=5.0) # AtomicDataset
Files are cached (and MD5-verified) under datasets/<name>/ in the repo by
default; see default_cache_dir(). Add a new
dataset by subclassing DatasetBuilder and calling
register_dataset().
Modules
ANI-1 dataset builder (pyanitools HDF5 from figshare). |
|
ANI-1ccx dataset builder (coupled-cluster subset of the ANI-1x release). |
|
ANI-1x dataset builder (single pyanitools HDF5 from figshare). |
|
ANI-2x dataset builder (pyanitools HDF5 from the Zenodo release). |
|
Argon MD dataset builder (bundled with xnn). |
|
Dataset registry and the |
|
LODE non-bonded interactions dataset builder (molecular dimers & toy systems). |
|
Revised MD17 (rMD17) dataset builder. |