Datasets:
License:
Upload folder using huggingface_hub
Browse files- .gitattributes +99 -33
- README.md +89 -0
- README_zh.md +89 -0
- data/ani1x/ANI1x_cc_DFT_rc5_statistics.json +1 -0
- data/ani1x/ANI1x_cc_DFT_rc5_test/Default__0.h5 +3 -0
- data/ani1x/ANI1x_cc_DFT_rc5_test/Default__1.h5 +3 -0
- data/ani1x/ANI1x_cc_DFT_rc5_test/Default__2.h5 +3 -0
- data/ani1x/ANI1x_cc_DFT_rc5_test/Default__3.h5 +3 -0
- data/ani1x/ANI1x_cc_DFT_rc5_test/Default__4.h5 +3 -0
- data/ani1x/ANI1x_cc_DFT_rc5_test/Default__5.h5 +3 -0
- data/ani1x/ANI1x_cc_DFT_rc5_test/Default__6.h5 +3 -0
- data/ani1x/ANI1x_cc_DFT_rc5_test/Default__7.h5 +3 -0
- data/ani1x/ANI1x_cc_DFT_rc5_train/train_0.h5 +3 -0
- data/ani1x/ANI1x_cc_DFT_rc5_train/train_1.h5 +3 -0
- data/ani1x/ANI1x_cc_DFT_rc5_train/train_2.h5 +3 -0
- data/ani1x/ANI1x_cc_DFT_rc5_train/train_3.h5 +3 -0
- data/ani1x/ANI1x_cc_DFT_rc5_train/train_4.h5 +3 -0
- data/ani1x/ANI1x_cc_DFT_rc5_train/train_5.h5 +3 -0
- data/ani1x/ANI1x_cc_DFT_rc5_train/train_6.h5 +3 -0
- data/ani1x/ANI1x_cc_DFT_rc5_train/train_7.h5 +3 -0
- data/ani1x/ANI1x_cc_DFT_rc5_val/val_0.h5 +3 -0
- data/ani1x/ANI1x_cc_DFT_rc5_val/val_1.h5 +3 -0
- data/ani1x/ANI1x_cc_DFT_rc5_val/val_2.h5 +3 -0
- data/ani1x/ANI1x_cc_DFT_rc5_val/val_3.h5 +3 -0
- data/ani1x/ANI1x_cc_DFT_rc5_val/val_4.h5 +3 -0
- data/ani1x/ANI1x_cc_DFT_rc5_val/val_5.h5 +3 -0
- data/ani1x/ANI1x_cc_DFT_rc5_val/val_6.h5 +3 -0
- data/ani1x/ANI1x_cc_DFT_rc5_val/val_7.h5 +3 -0
- data/ani1x/ani1x_cc_dft.xyz +3 -0
- data/ani1x/ani1x_test.xyz +0 -0
- data/ani1x/ani1x_train.xyz +0 -0
- manifest.yaml +446 -0
- metadata/schema.yaml +63 -0
- metadata/sha256_manifest.txt +28 -0
- onescience_relations.yaml +19 -0
- scripts/validate_ani1x.py +135 -0
.gitattributes
CHANGED
|
@@ -1,60 +1,126 @@
|
|
| 1 |
*.7z filter=lfs diff=lfs merge=lfs -text
|
| 2 |
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 3 |
-
*.avro filter=lfs diff=lfs merge=lfs -text
|
| 4 |
*.bin filter=lfs diff=lfs merge=lfs -text
|
|
|
|
| 5 |
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 6 |
-
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
| 7 |
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 8 |
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 9 |
-
|
| 10 |
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 11 |
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 12 |
-
*.lz4 filter=lfs diff=lfs merge=lfs -text
|
| 13 |
-
*.mds filter=lfs diff=lfs merge=lfs -text
|
| 14 |
-
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 15 |
*.model filter=lfs diff=lfs merge=lfs -text
|
| 16 |
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 17 |
-
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 18 |
-
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 19 |
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 20 |
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 21 |
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 22 |
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 23 |
-
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 24 |
-
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 25 |
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 26 |
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 27 |
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 28 |
-
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 29 |
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 30 |
-
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 31 |
*.tar filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 33 |
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 34 |
-
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*.xz filter=lfs diff=lfs merge=lfs -text
|
| 36 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 37 |
-
*.
|
| 38 |
-
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 39 |
-
|
| 40 |
-
*.
|
| 41 |
-
*
|
| 42 |
-
*.
|
| 43 |
-
|
| 44 |
-
*.
|
| 45 |
-
*.
|
| 46 |
-
*.mp3 filter=lfs diff=lfs merge=lfs -text
|
| 47 |
-
*.ogg filter=lfs diff=lfs merge=lfs -text
|
| 48 |
-
*.wav filter=lfs diff=lfs merge=lfs -text
|
| 49 |
-
# Image files - uncompressed
|
| 50 |
-
*.bmp filter=lfs diff=lfs merge=lfs -text
|
| 51 |
-
*.gif filter=lfs diff=lfs merge=lfs -text
|
| 52 |
-
*.png filter=lfs diff=lfs merge=lfs -text
|
| 53 |
-
*.tiff filter=lfs diff=lfs merge=lfs -text
|
| 54 |
-
# Image files - compressed
|
| 55 |
*.jpg filter=lfs diff=lfs merge=lfs -text
|
|
|
|
| 56 |
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
| 57 |
*.webp filter=lfs diff=lfs merge=lfs -text
|
| 58 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 59 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 60 |
-
*.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
*.7z filter=lfs diff=lfs merge=lfs -text
|
| 2 |
*.arrow filter=lfs diff=lfs merge=lfs -text
|
|
|
|
| 3 |
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 4 |
+
*.bin.* filter=lfs diff=lfs merge=lfs -text
|
| 5 |
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
|
|
|
| 6 |
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 7 |
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 8 |
+
|
| 9 |
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 10 |
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
| 11 |
*.model filter=lfs diff=lfs merge=lfs -text
|
| 12 |
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
| 13 |
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 14 |
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 15 |
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 16 |
*.pb filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
| 17 |
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 18 |
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 19 |
*.rar filter=lfs diff=lfs merge=lfs -text
|
|
|
|
| 20 |
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
| 21 |
*.tar filter=lfs diff=lfs merge=lfs -text
|
| 22 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 23 |
+
*.mat filter=lfs diff=lfs merge=lfs -text
|
| 24 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 25 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 26 |
+
|
| 27 |
+
*.hdf5 filter=lfs diff=lfs merge=lfs -text
|
| 28 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 29 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 30 |
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 31 |
*.tgz filter=lfs diff=lfs merge=lfs -text
|
|
|
|
| 32 |
*.xz filter=lfs diff=lfs merge=lfs -text
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
+
*.zstandard filter=lfs diff=lfs merge=lfs -text
|
| 35 |
+
*.tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
*.db* filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
*.ark* filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
**/*ckpt*data* filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
**/*ckpt*.meta filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
**/*ckpt*.index filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 43 |
*.jpg filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
*.png filter=lfs diff=lfs merge=lfs -text
|
| 45 |
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
*.bmp filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
*.gif filter=lfs diff=lfs merge=lfs -text
|
| 48 |
*.webp filter=lfs diff=lfs merge=lfs -text
|
| 49 |
+
*.mp3 filter=lfs diff=lfs merge=lfs -text
|
| 50 |
+
*.wav filter=lfs diff=lfs merge=lfs -text
|
| 51 |
+
*.wma filter=lfs diff=lfs merge=lfs -text
|
| 52 |
+
*.aac filter=lfs diff=lfs merge=lfs -text
|
| 53 |
+
*.ogg filter=lfs diff=lfs merge=lfs -text
|
| 54 |
+
*.m4a filter=lfs diff=lfs merge=lfs -text
|
| 55 |
+
*.m3u8 filter=lfs diff=lfs merge=lfs -text
|
| 56 |
+
*.amr filter=lfs diff=lfs merge=lfs -text
|
| 57 |
+
*.audio filter=lfs diff=lfs merge=lfs -text
|
| 58 |
+
*.avi filter=lfs diff=lfs merge=lfs -text
|
| 59 |
+
*.flv filter=lfs diff=lfs merge=lfs -text
|
| 60 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 61 |
+
*.mpg filter=lfs diff=lfs merge=lfs -text
|
| 62 |
+
*.asf filter=lfs diff=lfs merge=lfs -text
|
| 63 |
+
*.mov filter=lfs diff=lfs merge=lfs -text
|
| 64 |
+
*.mpeg filter=lfs diff=lfs merge=lfs -text
|
| 65 |
+
*.3gp filter=lfs diff=lfs merge=lfs -text
|
| 66 |
+
*.wmv filter=lfs diff=lfs merge=lfs -text
|
| 67 |
+
*.rmvb filter=lfs diff=lfs merge=lfs -text
|
| 68 |
+
*.rm filter=lfs diff=lfs merge=lfs -text
|
| 69 |
+
*.ts filter=lfs diff=lfs merge=lfs -text
|
| 70 |
+
*.mkv filter=lfs diff=lfs merge=lfs -text
|
| 71 |
+
*.flash filter=lfs diff=lfs merge=lfs -text
|
| 72 |
+
*.vob filter=lfs diff=lfs merge=lfs -text
|
| 73 |
+
*.pdf filter=lfs diff=lfs merge=lfs -text
|
| 74 |
+
*.ost filter=lfs diff=lfs merge=lfs -text
|
| 75 |
+
*.pst filter=lfs diff=lfs merge=lfs -text
|
| 76 |
+
*.doc filter=lfs diff=lfs merge=lfs -text
|
| 77 |
+
*.docx filter=lfs diff=lfs merge=lfs -text
|
| 78 |
+
*.txt filter=lfs diff=lfs merge=lfs -text
|
| 79 |
+
*.ppt filter=lfs diff=lfs merge=lfs -text
|
| 80 |
+
*.pptx filter=lfs diff=lfs merge=lfs -text
|
| 81 |
+
*.xls filter=lfs diff=lfs merge=lfs -text
|
| 82 |
+
*.xlsx filter=lfs diff=lfs merge=lfs -text
|
| 83 |
+
*.vsd filter=lfs diff=lfs merge=lfs -text
|
| 84 |
+
*.vsdx filter=lfs diff=lfs merge=lfs -text
|
| 85 |
+
*.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 86 |
+
*.json filter=lfs diff=lfs merge=lfs -text
|
| 87 |
+
dataset_infos.json ignore
|
| 88 |
+
*.csv filter=lfs diff=lfs merge=lfs -text
|
| 89 |
+
*.tsv filter=lfs diff=lfs merge=lfs -text
|
| 90 |
+
|
| 91 |
+
data/ani1x/ANI1x_cc_DFT_rc5_test/Default__0.h5 filter=lfs diff=lfs merge=lfs -text
|
| 92 |
+
|
| 93 |
+
data/ani1x/ANI1x_cc_DFT_rc5_test/Default__3.h5 filter=lfs diff=lfs merge=lfs -text
|
| 94 |
+
data/ani1x/ANI1x_cc_DFT_rc5_test/Default__2.h5 filter=lfs diff=lfs merge=lfs -text
|
| 95 |
+
data/ani1x/ANI1x_cc_DFT_rc5_test/Default__1.h5 filter=lfs diff=lfs merge=lfs -text
|
| 96 |
+
|
| 97 |
+
data/ani1x/ANI1x_cc_DFT_rc5_test/Default__5.h5 filter=lfs diff=lfs merge=lfs -text
|
| 98 |
+
data/ani1x/ANI1x_cc_DFT_rc5_test/Default__6.h5 filter=lfs diff=lfs merge=lfs -text
|
| 99 |
+
data/ani1x/ANI1x_cc_DFT_rc5_test/Default__4.h5 filter=lfs diff=lfs merge=lfs -text
|
| 100 |
+
|
| 101 |
+
data/ani1x/ANI1x_cc_DFT_rc5_train/train_1.h5 filter=lfs diff=lfs merge=lfs -text
|
| 102 |
+
data/ani1x/ANI1x_cc_DFT_rc5_train/train_0.h5 filter=lfs diff=lfs merge=lfs -text
|
| 103 |
+
data/ani1x/ANI1x_cc_DFT_rc5_test/Default__7.h5 filter=lfs diff=lfs merge=lfs -text
|
| 104 |
+
|
| 105 |
+
data/ani1x/ANI1x_cc_DFT_rc5_train/train_3.h5 filter=lfs diff=lfs merge=lfs -text
|
| 106 |
+
data/ani1x/ANI1x_cc_DFT_rc5_train/train_4.h5 filter=lfs diff=lfs merge=lfs -text
|
| 107 |
+
data/ani1x/ANI1x_cc_DFT_rc5_train/train_2.h5 filter=lfs diff=lfs merge=lfs -text
|
| 108 |
+
|
| 109 |
+
data/ani1x/ANI1x_cc_DFT_rc5_train/train_6.h5 filter=lfs diff=lfs merge=lfs -text
|
| 110 |
+
data/ani1x/ANI1x_cc_DFT_rc5_train/train_7.h5 filter=lfs diff=lfs merge=lfs -text
|
| 111 |
+
data/ani1x/ANI1x_cc_DFT_rc5_train/train_5.h5 filter=lfs diff=lfs merge=lfs -text
|
| 112 |
+
|
| 113 |
+
data/ani1x/ANI1x_cc_DFT_rc5_val/val_0.h5 filter=lfs diff=lfs merge=lfs -text
|
| 114 |
+
data/ani1x/ANI1x_cc_DFT_rc5_val/val_1.h5 filter=lfs diff=lfs merge=lfs -text
|
| 115 |
+
data/ani1x/ANI1x_cc_DFT_rc5_val/val_2.h5 filter=lfs diff=lfs merge=lfs -text
|
| 116 |
+
|
| 117 |
+
data/ani1x/ANI1x_cc_DFT_rc5_val/val_5.h5 filter=lfs diff=lfs merge=lfs -text
|
| 118 |
+
data/ani1x/ANI1x_cc_DFT_rc5_val/val_4.h5 filter=lfs diff=lfs merge=lfs -text
|
| 119 |
+
data/ani1x/ANI1x_cc_DFT_rc5_val/val_3.h5 filter=lfs diff=lfs merge=lfs -text
|
| 120 |
+
|
| 121 |
+
data/ani1x/ANI1x_cc_DFT_rc5_val/val_7.h5 filter=lfs diff=lfs merge=lfs -text
|
| 122 |
+
data/ani1x/ANI1x_cc_DFT_rc5_val/val_6.h5 filter=lfs diff=lfs merge=lfs -text
|
| 123 |
+
data/ani1x/ani1x_cc_dft.xyz filter=lfs diff=lfs merge=lfs -text
|
| 124 |
+
|
| 125 |
+
data/ani1x/ani1x_test.xyz filter=lfs diff=lfs merge=lfs -text
|
| 126 |
+
data/ani1x/ani1x_train.xyz filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc0-1.0
|
| 3 |
+
tags:
|
| 4 |
+
- ANI-1x
|
| 5 |
+
- MACE
|
| 6 |
+
- molecular dynamics
|
| 7 |
+
- HDF5
|
| 8 |
+
- extxyz
|
| 9 |
+
- machine learning potential
|
| 10 |
+
language:
|
| 11 |
+
- en
|
| 12 |
+
- zh
|
| 13 |
+
---
|
| 14 |
+
|
| 15 |
+
<p align="center">
|
| 16 |
+
<strong>
|
| 17 |
+
<span style="font-size: 30px;">ANI-1x</span>
|
| 18 |
+
</strong>
|
| 19 |
+
</p>
|
| 20 |
+
|
| 21 |
+
## Dataset Description
|
| 22 |
+
The ANI-1x dataset is a molecular-configuration dataset for training and evaluation. The data package contains training, validation, and test HDF5 shards, along with a statistics JSON file and auxiliary extxyz files. Its fields are consistent with the energy and force fields in the MACE ANI-1x configuration, making it a standard benchmark dataset for learning and validating machine-learning interatomic potentials with MACE.
|
| 23 |
+
|
| 24 |
+
The element set consists of H, C, N, and O. The original ANI-1x data comes from [ANI-1x datasets (FigShare)](https://springernature.figshare.com/collections/The_ANI-1ccx_and_ANI-1x_data_sets_coupled-cluster_and_density_functional_theory_properties_for_molecules/4712477); this repository is the companion data package for OneScience MACE training and evaluation examples.
|
| 25 |
+
|
| 26 |
+
The current data package contains approximately 30 files.
|
| 27 |
+
|
| 28 |
+
## Supported Tasks
|
| 29 |
+
This standardized data repository provides the complete data package for the ANI-1x example, including training, validation, and test sets. It can be used for:
|
| 30 |
+
- Training and validation of potential-energy-surface models for molecular configurations
|
| 31 |
+
- Potential-energy-surface fitting for molecular dynamics simulations
|
| 32 |
+
- Functional testing and benchmark evaluation of the MACE framework
|
| 33 |
+
|
| 34 |
+
## Dataset Format and Structure
|
| 35 |
+
|
| 36 |
+
The data files are located in the `data/ani1x/` directory:
|
| 37 |
+
|
| 38 |
+
| File Path | Format | shape / Content | Description |
|
| 39 |
+
|---|---|---|---|
|
| 40 |
+
| `ani1x/ANI1x_cc_DFT_rc5_train/train_*.h5` | HDF5 | `[N_frames, N_atoms]` | Training set, with 8 shards in total |
|
| 41 |
+
| `ani1x/ANI1x_cc_DFT_rc5_val/val_*.h5` | HDF5 | `[N_frames, N_atoms]` | Validation set, with 8 shards in total |
|
| 42 |
+
| `ani1x/ANI1x_cc_DFT_rc5_test/Default__*.h5` | HDF5 | `[N_frames, N_atoms]` | Test set, with 8 shards in total |
|
| 43 |
+
| `ani1x/ANI1x_cc_DFT_rc5_statistics.json` | JSON | Statistical information | Contains `atomic_energies`, `avg_num_neighbors`, `mean`, `std`, `atomic_numbers`, and `r_max` |
|
| 44 |
+
| `ani1x/ani1x_train.xyz` | extxyz | `[N_frames, N_atoms]` | Auxiliary training-set file |
|
| 45 |
+
| `ani1x/ani1x_test.xyz` | extxyz | `[N_frames, N_atoms]` | Auxiliary test-set file |
|
| 46 |
+
| `ani1x/ani1x_cc_dft.xyz` | extxyz | `[N_frames, N_atoms]` | Auxiliary file for the full dataset |
|
| 47 |
+
| `metadata/sha256_manifest.txt` | SHA256 | Checksum manifest | File-integrity verification |
|
| 48 |
+
|
| 49 |
+
### HDF5 Data Format
|
| 50 |
+
|
| 51 |
+
The HDF5 file structure is `config_batch_*/config_*`. Each configuration contains:
|
| 52 |
+
|
| 53 |
+
| Path | dtype | shape | Description |
|
| 54 |
+
|---|---|---|---|
|
| 55 |
+
| `atomic_numbers` | `int64` | `[N_atoms]` | Atomic numbers |
|
| 56 |
+
| `positions` | `float64` | `[N_atoms, 3]` | Atomic coordinates, in Å |
|
| 57 |
+
| `cell` | `float64` | `[3, 3]` | Periodic cell matrix |
|
| 58 |
+
| `pbc` | `bool` | `[3]` | Periodic boundary conditions |
|
| 59 |
+
| `properties/energy` | `float64` | Scalar | Total configuration energy, in eV |
|
| 60 |
+
| `properties/forces` | `float64` | `[N_atoms, 3]` | Atomic forces, in eV/Å |
|
| 61 |
+
|
| 62 |
+
## How to Use the Dataset
|
| 63 |
+
|
| 64 |
+
Download the dataset:
|
| 65 |
+
|
| 66 |
+
```bash
|
| 67 |
+
hf download --dataset OneScience-Sugon/ani1x --local-dir ./data
|
| 68 |
+
```
|
| 69 |
+
|
| 70 |
+
|
| 71 |
+
## Official OneScience Information
|
| 72 |
+
|
| 73 |
+
| Platform | OneScience Main Repository | Skills Repository |
|
| 74 |
+
|---|---|---|
|
| 75 |
+
| Gitee | https://gitee.com/onescience-ai/onescience | https://gitee.com/onescience-ai/oneskills |
|
| 76 |
+
| GitHub | https://github.com/onescience-ai/OneScience | https://github.com/onescience-ai/oneskills |
|
| 77 |
+
|
| 78 |
+
## Limitations and License
|
| 79 |
+
|
| 80 |
+
This dataset is the example data for MACE ANI-1x; it does not contain any newly generated samples or alter the original data. The original data comes from ANI-1x datasets (FigShare), with calculations performed at the wB97X/6-31G(d) level.
|
| 81 |
+
|
| 82 |
+
- **Original Source**: https://springernature.figshare.com/collections/The_ANI-1ccx_and_ANI-1x_data_sets_coupled-cluster_and_density_functional_theory_properties_for_molecules/4712477
|
| 83 |
+
- **GitHub Repository**: https://github.com/aiqm/ANI1x_datasets
|
| 84 |
+
- **License**: CC0 1.0 Universal (public domain dedication)
|
| 85 |
+
|
| 86 |
+
When using the ANI-1x dataset, please cite:
|
| 87 |
+
|
| 88 |
+
- Smith, J. S.; Nebgen, B.; Lubbers, N.; Isayev, O.; Roitberg, A. E. Less Is More: Sampling Chemical Space with Active Learning. *J. Chem. Phys.* **2018**, *148* (24), 241733. https://doi.org/10.1063/1.5023802
|
| 89 |
+
- Smith, J. S.; Zubatyuk, R.; Nebgen, B.; Lubbers, N.; Barros, K.; Roitberg, A. E.; Isayev, O.; Tretiak, S. The ANI-1ccx and ANI-1x Data Sets, Coupled-Cluster and Density Functional Theory Properties for Molecules. *Sci. Data* **2020**, *7*, 134. https://doi.org/10.1038/s41597-020-0473-z
|
README_zh.md
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: CC0-1.0
|
| 3 |
+
tags:
|
| 4 |
+
- ANI-1x
|
| 5 |
+
- MACE
|
| 6 |
+
- molecular dynamics
|
| 7 |
+
- HDF5
|
| 8 |
+
- extxyz
|
| 9 |
+
- machine learning potential
|
| 10 |
+
language:
|
| 11 |
+
- en
|
| 12 |
+
- zh
|
| 13 |
+
---
|
| 14 |
+
|
| 15 |
+
<p align="center">
|
| 16 |
+
<strong>
|
| 17 |
+
<span style="font-size: 30px;">ANI-1x</span>
|
| 18 |
+
</strong>
|
| 19 |
+
</p>
|
| 20 |
+
|
| 21 |
+
## 数据集描述
|
| 22 |
+
ANI-1x 数据集是训练和评测的分子构型数据集。数据包包含训练、验证、测试 HDF5 分片,以及配套 statistics JSON 和 extxyz 辅助文件,字段与 MACE ANI-1x 配置中的能量、受力字段一致,是学习和验证机器学习原子间势(MACE)方法的标准基准数据集。
|
| 23 |
+
|
| 24 |
+
元素集合为 H、C、N、O。原始 ANI-1x 数据来自 [ANI-1x datasets (FigShare)](https://springernature.figshare.com/collections/The_ANI-1ccx_and_ANI-1x_data_sets_coupled-cluster_and_density_functional_theory_properties_for_molecules/4712477),本仓库是其面向 OneScience MACE 训练和评测示例的配套数据包。
|
| 25 |
+
|
| 26 |
+
当前数据包包含约 30 个文件。
|
| 27 |
+
|
| 28 |
+
## 数据集支持的任务
|
| 29 |
+
本标准化数据仓库整理了 ANI-1x 示例的完整数据包,包含训练集、验证集和测试集,可用于:
|
| 30 |
+
- 分子构型势能面模型的训练与验证
|
| 31 |
+
- 分子动力学模拟的势能面拟合
|
| 32 |
+
- MACE 框架的功能测试与基准评测
|
| 33 |
+
|
| 34 |
+
## 数据集的格式和结构
|
| 35 |
+
|
| 36 |
+
数据文件位于 `data/ani1x/` 目录下:
|
| 37 |
+
|
| 38 |
+
| 文件路径 | 格式 | shape / 内容 | 说明 |
|
| 39 |
+
|---|---|---|---|
|
| 40 |
+
| `ani1x/ANI1x_cc_DFT_rc5_train/train_*.h5` | HDF5 | `[N_frames, N_atoms]` | 训练集,共 8 个分片 |
|
| 41 |
+
| `ani1x/ANI1x_cc_DFT_rc5_val/val_*.h5` | HDF5 | `[N_frames, N_atoms]` | 验证集,共 8 个分片 |
|
| 42 |
+
| `ani1x/ANI1x_cc_DFT_rc5_test/Default__*.h5` | HDF5 | `[N_frames, N_atoms]` | 测试集,共 8 个分片 |
|
| 43 |
+
| `ani1x/ANI1x_cc_DFT_rc5_statistics.json` | JSON | 统计信息 | 包含 `atomic_energies`、`avg_num_neighbors`、`mean`、`std`、`atomic_numbers`、`r_max` |
|
| 44 |
+
| `ani1x/ani1x_train.xyz` | extxyz | `[N_frames, N_atoms]` | 训练集辅助文件 |
|
| 45 |
+
| `ani1x/ani1x_test.xyz` | extxyz | `[N_frames, N_atoms]` | 测试集辅助文件 |
|
| 46 |
+
| `ani1x/ani1x_cc_dft.xyz` | extxyz | `[N_frames, N_atoms]` | 全量辅助文件 |
|
| 47 |
+
| `metadata/sha256_manifest.txt` | SHA256 | 校验清单 | 文件完整性校验 |
|
| 48 |
+
|
| 49 |
+
### HDF5 数据格式
|
| 50 |
+
|
| 51 |
+
HDF5 文件结构为 `config_batch_*/config_*`。单个构型包含:
|
| 52 |
+
|
| 53 |
+
| 路径 | dtype | shape | 说明 |
|
| 54 |
+
|---|---|---|---|
|
| 55 |
+
| `atomic_numbers` | `int64` | `[N_atoms]` | 原子序数 |
|
| 56 |
+
| `positions` | `float64` | `[N_atoms, 3]` | 原子坐标,单位 Å |
|
| 57 |
+
| `cell` | `float64` | `[3, 3]` | 周期盒矩阵 |
|
| 58 |
+
| `pbc` | `bool` | `[3]` | 周期边界条件 |
|
| 59 |
+
| `properties/energy` | `float64` | 标量 | 构型总能量,单位 eV |
|
| 60 |
+
| `properties/forces` | `float64` | `[N_atoms, 3]` | 原子受力,单位 eV/Å |
|
| 61 |
+
|
| 62 |
+
## 数据集使用方式
|
| 63 |
+
|
| 64 |
+
下载数据集:
|
| 65 |
+
|
| 66 |
+
```bash
|
| 67 |
+
hf download --dataset OneScience-Sugon/ani1x --local-dir ./data
|
| 68 |
+
```
|
| 69 |
+
|
| 70 |
+
|
| 71 |
+
## OneScience 官方信息
|
| 72 |
+
|
| 73 |
+
| 平台 | OneScience 主仓库 | Skills 仓库 |
|
| 74 |
+
|---|---|---|
|
| 75 |
+
| Gitee | https://gitee.com/onescience-ai/onescience | https://gitee.com/onescience-ai/oneskills |
|
| 76 |
+
| GitHub | https://github.com/onescience-ai/OneScience | https://github.com/onescience-ai/oneskills |
|
| 77 |
+
|
| 78 |
+
## 限制与许可证
|
| 79 |
+
|
| 80 |
+
本数据集为 MACE ANI-1x 示例数据,未生成新样本或改变原始数据内容。原始数据来自 ANI-1x datasets (FigShare),计算级别为 wB97X/6-31G(d)。
|
| 81 |
+
|
| 82 |
+
- **原始来源**:https://springernature.figshare.com/collections/The_ANI-1ccx_and_ANI-1x_data_sets_coupled-cluster_and_density_functional_theory_properties_for_molecules/4712477
|
| 83 |
+
- **GitHub 仓库**:https://github.com/aiqm/ANI1x_datasets
|
| 84 |
+
- **许可证**:CC0 1.0 Universal (公共领域 dedication)
|
| 85 |
+
|
| 86 |
+
使用 ANI-1x 数据集时请引用:
|
| 87 |
+
|
| 88 |
+
- Smith, J. S.; Nebgen, B.; Lubbers, N.; Isayev, O.; Roitberg, A. E. Less Is More: Sampling Chemical Space with Active Learning. *J. Chem. Phys.* **2018**, *148* (24), 241733. https://doi.org/10.1063/1.5023802
|
| 89 |
+
- Smith, J. S.; Zubatyuk, R.; Nebgen, B.; Lubbers, N.; Barros, K.; Roitberg, A. E.; Isayev, O.; Tretiak, S. The ANI-1ccx and ANI-1x Data Sets, Coupled-Cluster and Density Functional Theory Properties for Molecules. *Sci. Data* **2020**, *7*, 134. https://doi.org/10.1038/s41597-020-0473-z
|
data/ani1x/ANI1x_cc_DFT_rc5_statistics.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"atomic_energies": "{1: -13.62222753701504, 6: -1029.4130839658328, 7: -1484.8710358098756, 8: -2041.8396277138045}", "avg_num_neighbors": 18.686198949813843, "mean": -3.9905529022216797, "std": 2.8277440071105957, "atomic_numbers": "[1, 6, 7, 8]", "r_max": 5.0}
|
data/ani1x/ANI1x_cc_DFT_rc5_test/Default__0.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2d5d74c451c8fe4a6c42103ce7003b67da4f46382bbb33d4516e3c0954ebe958
|
| 3 |
+
size 1478536
|
data/ani1x/ANI1x_cc_DFT_rc5_test/Default__1.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b1bb9f8a3665ac30d283c35af544fd7cf5a576206b965f8bda00cc54630428b8
|
| 3 |
+
size 1507080
|
data/ani1x/ANI1x_cc_DFT_rc5_test/Default__2.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c5370d0f8a10501c6b260944ef2dca96ac74ba2bad2a4dfa8047fe97cd094f94
|
| 3 |
+
size 1502968
|
data/ani1x/ANI1x_cc_DFT_rc5_test/Default__3.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:52870d5f33a46d5e98b6c4446f61bf075c7da94c081586fdf71df1760e7245e2
|
| 3 |
+
size 1507144
|
data/ani1x/ANI1x_cc_DFT_rc5_test/Default__4.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2b9ec4b82136042b43f4f66792909cc5d2cb944cd3af409b0e9b877275d5bbc7
|
| 3 |
+
size 1492744
|
data/ani1x/ANI1x_cc_DFT_rc5_test/Default__5.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:13119e9c2f44d1aa5bb31e926635b5a34d42d1c823f6d144cc591f7b15f0c9b3
|
| 3 |
+
size 1386184
|
data/ani1x/ANI1x_cc_DFT_rc5_test/Default__6.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f90bb56746a07c72dae9e735aefc2db4a6945534ce609305a13fda6e639e8075
|
| 3 |
+
size 1392184
|
data/ani1x/ANI1x_cc_DFT_rc5_test/Default__7.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:925192b4c6e89831a3be24d683a78c947ff6ac8c0d36279c6d2a440656fb2b57
|
| 3 |
+
size 1396424
|
data/ani1x/ANI1x_cc_DFT_rc5_train/train_0.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:134ceed06158735140a0f7a1ba7adfb436b268dfd9a78a2c139c50cc97cf0f9a
|
| 3 |
+
size 2798216
|
data/ani1x/ANI1x_cc_DFT_rc5_train/train_1.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:72622803a711d7e246284e6f7d71e058151267a6e073ce60d223e2dba1fb4c9a
|
| 3 |
+
size 2798208
|
data/ani1x/ANI1x_cc_DFT_rc5_train/train_2.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:323d7efa393f38ca86dfbb7abdde66bbcd434fb32a50d9224245bfd864c2cb3c
|
| 3 |
+
size 2802336
|
data/ani1x/ANI1x_cc_DFT_rc5_train/train_3.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1baff48da2ff5bd16e5ee34379b954d8ef912af8ed18f848b8774d14db81d040
|
| 3 |
+
size 2808448
|
data/ani1x/ANI1x_cc_DFT_rc5_train/train_4.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fc5dc17175fe71e69b195cb9a90d1e3ba973deb6947672484b6f46d5bbc8f588
|
| 3 |
+
size 2786432
|
data/ani1x/ANI1x_cc_DFT_rc5_train/train_5.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b711a45152ac306b90acf88bd79945fe7e3201c6f7a101bdb2445a264cb86293
|
| 3 |
+
size 2796520
|
data/ani1x/ANI1x_cc_DFT_rc5_train/train_6.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:65e964ea93f188b9183dd18aefca7dcb8bc1c0f0f4eaa13d947db37f1cfe5008
|
| 3 |
+
size 2790424
|
data/ani1x/ANI1x_cc_DFT_rc5_train/train_7.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a182edfd0c43f16d0da5a223f0c29132cc44f97f0ffac08cb47edc1166367d38
|
| 3 |
+
size 2784088
|
data/ani1x/ANI1x_cc_DFT_rc5_val/val_0.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a3bed40241c38172f0ff6634510e11101013b962765bc99550bc6b19796463d6
|
| 3 |
+
size 96864
|
data/ani1x/ANI1x_cc_DFT_rc5_val/val_1.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:263a38d970756ecf691b2dafabae86929f7b9f6945700eddd4a169a31e366560
|
| 3 |
+
size 96928
|
data/ani1x/ANI1x_cc_DFT_rc5_val/val_2.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:08d1ffc03712f43fda13a6ab56d820b623e99412819f2191256530e1b1ae6f9a
|
| 3 |
+
size 96864
|
data/ani1x/ANI1x_cc_DFT_rc5_val/val_3.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:757f4276604c151f9fc16f4667b66460279b105e8102b03e491dcb3aab3a6bae
|
| 3 |
+
size 96864
|
data/ani1x/ANI1x_cc_DFT_rc5_val/val_4.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6b4c025be9dbbd35f78675c40ce83d8c60fd85c5dfdac9b4fd25e76e54aed849
|
| 3 |
+
size 87376
|
data/ani1x/ANI1x_cc_DFT_rc5_val/val_5.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:571164862b2235a4273670428785c21ad383f15ac082d333aec80d3e47bc4403
|
| 3 |
+
size 87376
|
data/ani1x/ANI1x_cc_DFT_rc5_val/val_6.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9ac22a293d0d89821c0e3dc768b4a2599d16d6db72f69a78e9f09ee18e24901f
|
| 3 |
+
size 85328
|
data/ani1x/ANI1x_cc_DFT_rc5_val/val_7.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d86a5f3ac2f85deda7fc4daf8346ae82441b95aab6c976b19fb544aa46670312
|
| 3 |
+
size 87376
|
data/ani1x/ani1x_cc_dft.xyz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:70288856ccc6d7333dad57089dc49e566179bcd705a5ab77895d7e9c93f9803d
|
| 3 |
+
size 754826226
|
data/ani1x/ani1x_test.xyz
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/ani1x/ani1x_train.xyz
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
manifest.yaml
ADDED
|
@@ -0,0 +1,446 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
onescience_manifest_version: "0.1"
|
| 2 |
+
resource_type: dataset
|
| 3 |
+
resource:
|
| 4 |
+
id: OneScience/ani1x
|
| 5 |
+
name: ANI-1x
|
| 6 |
+
domain: matchem
|
| 7 |
+
domain_tags:
|
| 8 |
+
- matchem
|
| 9 |
+
- molecular_dataset
|
| 10 |
+
- atomistic_simulation
|
| 11 |
+
task: mlip_training_data
|
| 12 |
+
task_tags:
|
| 13 |
+
- mlip
|
| 14 |
+
- energy_prediction
|
| 15 |
+
- force_prediction
|
| 16 |
+
modalities:
|
| 17 |
+
- atomistic_structure
|
| 18 |
+
input_formats:
|
| 19 |
+
- hdf5
|
| 20 |
+
- extxyz
|
| 21 |
+
output_formats: []
|
| 22 |
+
summary: 面向 MACE 训练和评测的 ANI-1x 分子构型数据集标准包。
|
| 23 |
+
|
| 24 |
+
platform_resource:
|
| 25 |
+
primary:
|
| 26 |
+
platform: modelscope
|
| 27 |
+
repo_id: OneScience/ani1x
|
| 28 |
+
repo_type: dataset
|
| 29 |
+
url: https://modelscope.cn/datasets/OneScience/ani1x
|
| 30 |
+
revision: main
|
| 31 |
+
readme_path: README.md
|
| 32 |
+
manifest_path: manifest.yaml
|
| 33 |
+
mirrors: []
|
| 34 |
+
access:
|
| 35 |
+
visibility: public
|
| 36 |
+
license: null
|
| 37 |
+
|
| 38 |
+
website_integration:
|
| 39 |
+
enabled: true
|
| 40 |
+
click_target:
|
| 41 |
+
platform: modelscope
|
| 42 |
+
resource_url: https://modelscope.cn/datasets/OneScience/ani1x
|
| 43 |
+
llm_handoff:
|
| 44 |
+
readme_required: true
|
| 45 |
+
manifest_required: true
|
| 46 |
+
download_readme_first: true
|
| 47 |
+
resolve_related_models: true
|
| 48 |
+
default_run_goal: minimal_validation
|
| 49 |
+
|
| 50 |
+
runtime:
|
| 51 |
+
enabled: true
|
| 52 |
+
onescience_domain: matchem
|
| 53 |
+
min_onescience_version: null
|
| 54 |
+
supported_execution:
|
| 55 |
+
- local
|
| 56 |
+
- local_slurm
|
| 57 |
+
- remote_slurm
|
| 58 |
+
- scnet_mcp
|
| 59 |
+
|
| 60 |
+
onescience:
|
| 61 |
+
repo: https://gitee.com/onescience-ai/onescience
|
| 62 |
+
official_links:
|
| 63 |
+
gitee:
|
| 64 |
+
doc: https://gitee.com/onescience-ai/onescience-doc
|
| 65 |
+
onescience: https://gitee.com/onescience-ai/onescience
|
| 66 |
+
skills: https://gitee.com/onescience-ai/oneskills
|
| 67 |
+
github:
|
| 68 |
+
doc: https://github.com/onescience-ai/OneScience-doc
|
| 69 |
+
onescience: https://github.com/onescience-ai/OneScience
|
| 70 |
+
skills: https://github.com/onescience-ai/oneskills
|
| 71 |
+
install:
|
| 72 |
+
required_by_default: false
|
| 73 |
+
command: bash install.sh matchem
|
| 74 |
+
source_paths:
|
| 75 |
+
- matchem/mace/ani1x
|
| 76 |
+
compatibility:
|
| 77 |
+
examples_path: examples/matchem/mace
|
| 78 |
+
status: examples_compatible
|
| 79 |
+
|
| 80 |
+
runtime_package:
|
| 81 |
+
kind: standard_runtime_package
|
| 82 |
+
package_root: .
|
| 83 |
+
standard_layout:
|
| 84 |
+
workdir: .
|
| 85 |
+
config_dir: metadata
|
| 86 |
+
checkpoint_dir: null
|
| 87 |
+
data_dir: data
|
| 88 |
+
output_dir: outputs
|
| 89 |
+
apply_policy:
|
| 90 |
+
mode: direct_use
|
| 91 |
+
target: session_workdir
|
| 92 |
+
overwrite: true
|
| 93 |
+
protect_installed_onescience: true
|
| 94 |
+
entry_files:
|
| 95 |
+
- scripts/validate_ani1x.py
|
| 96 |
+
- metadata/schema.yaml
|
| 97 |
+
- metadata/sha256_manifest.txt
|
| 98 |
+
entrypoints:
|
| 99 |
+
preflight: scripts/validate_ani1x.py
|
| 100 |
+
inference: null
|
| 101 |
+
train: null
|
| 102 |
+
finetune: null
|
| 103 |
+
evaluate: null
|
| 104 |
+
visualize: null
|
| 105 |
+
deploy: null
|
| 106 |
+
|
| 107 |
+
files:
|
| 108 |
+
model_files: []
|
| 109 |
+
dataset_files:
|
| 110 |
+
- id: ani1x_train_h5
|
| 111 |
+
path: data/ani1x/ANI1x_cc_DFT_rc5_train/
|
| 112 |
+
role: train_split
|
| 113 |
+
description_zh: ANI-1x 训练集 HDF5 分片目录,共 8 个 train_*.h5 文件。
|
| 114 |
+
required: true
|
| 115 |
+
required_for: [preflight, train]
|
| 116 |
+
format: hdf5
|
| 117 |
+
source:
|
| 118 |
+
platform: modelscope
|
| 119 |
+
repo_id: OneScience/ani1x
|
| 120 |
+
repo_type: dataset
|
| 121 |
+
path: data/ani1x/ANI1x_cc_DFT_rc5_train/
|
| 122 |
+
revision: main
|
| 123 |
+
url: null
|
| 124 |
+
download_method: command_ref
|
| 125 |
+
command_ref: commands.download.download_dataset_package
|
| 126 |
+
mirrors: []
|
| 127 |
+
local_path: session_workdir/data/ani1x/ANI1x_cc_DFT_rc5_train/
|
| 128 |
+
size: 22M
|
| 129 |
+
checksum: metadata/sha256_manifest.txt
|
| 130 |
+
large_file: false
|
| 131 |
+
- id: ani1x_val_h5
|
| 132 |
+
path: data/ani1x/ANI1x_cc_DFT_rc5_val/
|
| 133 |
+
role: validation_split
|
| 134 |
+
description_zh: ANI-1x 验证集 HDF5 分片目录,共 8 个 val_*.h5 文件。
|
| 135 |
+
required: true
|
| 136 |
+
required_for: [preflight, train, evaluate]
|
| 137 |
+
format: hdf5
|
| 138 |
+
source:
|
| 139 |
+
platform: modelscope
|
| 140 |
+
repo_id: OneScience/ani1x
|
| 141 |
+
repo_type: dataset
|
| 142 |
+
path: data/ani1x/ANI1x_cc_DFT_rc5_val/
|
| 143 |
+
revision: main
|
| 144 |
+
url: null
|
| 145 |
+
download_method: command_ref
|
| 146 |
+
command_ref: commands.download.download_dataset_package
|
| 147 |
+
mirrors: []
|
| 148 |
+
local_path: session_workdir/data/ani1x/ANI1x_cc_DFT_rc5_val/
|
| 149 |
+
size: 728K
|
| 150 |
+
checksum: metadata/sha256_manifest.txt
|
| 151 |
+
large_file: false
|
| 152 |
+
- id: ani1x_test_h5
|
| 153 |
+
path: data/ani1x/ANI1x_cc_DFT_rc5_test/
|
| 154 |
+
role: test_split
|
| 155 |
+
description_zh: ANI-1x 测试集 HDF5 分片目录,共 8 个 Default__*.h5 文件。
|
| 156 |
+
required: true
|
| 157 |
+
required_for: [preflight, evaluate]
|
| 158 |
+
format: hdf5
|
| 159 |
+
source:
|
| 160 |
+
platform: modelscope
|
| 161 |
+
repo_id: OneScience/ani1x
|
| 162 |
+
repo_type: dataset
|
| 163 |
+
path: data/ani1x/ANI1x_cc_DFT_rc5_test/
|
| 164 |
+
revision: main
|
| 165 |
+
url: null
|
| 166 |
+
download_method: command_ref
|
| 167 |
+
command_ref: commands.download.download_dataset_package
|
| 168 |
+
mirrors: []
|
| 169 |
+
local_path: session_workdir/data/ani1x/ANI1x_cc_DFT_rc5_test/
|
| 170 |
+
size: 12M
|
| 171 |
+
checksum: metadata/sha256_manifest.txt
|
| 172 |
+
large_file: false
|
| 173 |
+
- id: ani1x_statistics
|
| 174 |
+
path: data/ani1x/ANI1x_cc_DFT_rc5_statistics.json
|
| 175 |
+
role: statistics
|
| 176 |
+
description_zh: MACE 训练需要的原子能量、邻居数、均值、标准差和 r_max 统计文件。
|
| 177 |
+
required: true
|
| 178 |
+
required_for: [preflight, train, evaluate]
|
| 179 |
+
format: json
|
| 180 |
+
source:
|
| 181 |
+
platform: modelscope
|
| 182 |
+
repo_id: OneScience/ani1x
|
| 183 |
+
repo_type: dataset
|
| 184 |
+
path: data/ani1x/ANI1x_cc_DFT_rc5_statistics.json
|
| 185 |
+
revision: main
|
| 186 |
+
url: null
|
| 187 |
+
download_method: command_ref
|
| 188 |
+
command_ref: commands.download.download_dataset_package
|
| 189 |
+
mirrors: []
|
| 190 |
+
local_path: session_workdir/data/ani1x/ANI1x_cc_DFT_rc5_statistics.json
|
| 191 |
+
size: 512B
|
| 192 |
+
checksum: metadata/sha256_manifest.txt
|
| 193 |
+
large_file: false
|
| 194 |
+
- id: ani1x_xyz
|
| 195 |
+
path: data/ani1x/*.xyz
|
| 196 |
+
role: metadata
|
| 197 |
+
description_zh: ANI-1x 的 extxyz 版本和 train/test 辅助文件,可用于人工检查或其他工具读取。
|
| 198 |
+
required: false
|
| 199 |
+
required_for: [preflight]
|
| 200 |
+
format: extxyz
|
| 201 |
+
source:
|
| 202 |
+
platform: modelscope
|
| 203 |
+
repo_id: OneScience/ani1x
|
| 204 |
+
repo_type: dataset
|
| 205 |
+
path: data/ani1x/*.xyz
|
| 206 |
+
revision: main
|
| 207 |
+
url: null
|
| 208 |
+
download_method: command_ref
|
| 209 |
+
command_ref: commands.download.download_dataset_package
|
| 210 |
+
mirrors: []
|
| 211 |
+
local_path: session_workdir/data/ani1x/*.xyz
|
| 212 |
+
size: 728M
|
| 213 |
+
checksum: metadata/sha256_manifest.txt
|
| 214 |
+
large_file: false
|
| 215 |
+
config_files:
|
| 216 |
+
- id: schema
|
| 217 |
+
path: metadata/schema.yaml
|
| 218 |
+
role: schema
|
| 219 |
+
description_zh: 数据 split、HDF5 字段、dtype、shape、单位和统计文件说明。
|
| 220 |
+
required: true
|
| 221 |
+
required_for: [preflight, train, evaluate]
|
| 222 |
+
format: yaml
|
| 223 |
+
source:
|
| 224 |
+
platform: modelscope
|
| 225 |
+
repo_id: OneScience/ani1x
|
| 226 |
+
repo_type: dataset
|
| 227 |
+
path: metadata/schema.yaml
|
| 228 |
+
revision: main
|
| 229 |
+
url: null
|
| 230 |
+
download_method: command_ref
|
| 231 |
+
command_ref: commands.download.download_dataset_package
|
| 232 |
+
mirrors: []
|
| 233 |
+
local_path: session_workdir/metadata/schema.yaml
|
| 234 |
+
size: null
|
| 235 |
+
checksum: null
|
| 236 |
+
large_file: false
|
| 237 |
+
- id: sha256_manifest
|
| 238 |
+
path: metadata/sha256_manifest.txt
|
| 239 |
+
role: checksum
|
| 240 |
+
description_zh: 数据文件 SHA256 清单,用于校验整理后数据与原始数据一致。
|
| 241 |
+
required: true
|
| 242 |
+
required_for: [preflight]
|
| 243 |
+
format: txt
|
| 244 |
+
source:
|
| 245 |
+
platform: modelscope
|
| 246 |
+
repo_id: OneScience/ani1x
|
| 247 |
+
repo_type: dataset
|
| 248 |
+
path: metadata/sha256_manifest.txt
|
| 249 |
+
revision: main
|
| 250 |
+
url: null
|
| 251 |
+
download_method: command_ref
|
| 252 |
+
command_ref: commands.download.download_dataset_package
|
| 253 |
+
mirrors: []
|
| 254 |
+
local_path: session_workdir/metadata/sha256_manifest.txt
|
| 255 |
+
size: null
|
| 256 |
+
checksum: null
|
| 257 |
+
large_file: false
|
| 258 |
+
sample_files:
|
| 259 |
+
- id: validate_script
|
| 260 |
+
path: scripts/validate_ani1x.py
|
| 261 |
+
role: script
|
| 262 |
+
description_zh: 数据读取验证脚本,检查文件结构、shape、dtype、statistics 和 SHA256。
|
| 263 |
+
required: true
|
| 264 |
+
required_for: [preflight]
|
| 265 |
+
format: py
|
| 266 |
+
source:
|
| 267 |
+
platform: modelscope
|
| 268 |
+
repo_id: OneScience/ani1x
|
| 269 |
+
repo_type: dataset
|
| 270 |
+
path: scripts/validate_ani1x.py
|
| 271 |
+
revision: main
|
| 272 |
+
url: null
|
| 273 |
+
download_method: command_ref
|
| 274 |
+
command_ref: commands.download.download_dataset_package
|
| 275 |
+
mirrors: []
|
| 276 |
+
local_path: session_workdir/scripts/validate_ani1x.py
|
| 277 |
+
size: null
|
| 278 |
+
checksum: null
|
| 279 |
+
large_file: false
|
| 280 |
+
|
| 281 |
+
dataset:
|
| 282 |
+
format:
|
| 283 |
+
- hdf5
|
| 284 |
+
- extxyz
|
| 285 |
+
sample_unit: 单个分子构型,包含原子序数、坐标、cell、pbc、能量和原子受力。
|
| 286 |
+
schema:
|
| 287 |
+
path: metadata/schema.yaml
|
| 288 |
+
splits:
|
| 289 |
+
train:
|
| 290 |
+
path: data/ani1x/ANI1x_cc_DFT_rc5_train
|
| 291 |
+
shards: 8
|
| 292 |
+
validation:
|
| 293 |
+
path: data/ani1x/ANI1x_cc_DFT_rc5_val
|
| 294 |
+
shards: 8
|
| 295 |
+
test:
|
| 296 |
+
path: data/ani1x/ANI1x_cc_DFT_rc5_test
|
| 297 |
+
shards: 8
|
| 298 |
+
|
| 299 |
+
relations:
|
| 300 |
+
required_datasets: []
|
| 301 |
+
optional_datasets: []
|
| 302 |
+
compatible_models:
|
| 303 |
+
- id: OneScience/MACE
|
| 304 |
+
role: train_data
|
| 305 |
+
required_for: [preflight, train, evaluate]
|
| 306 |
+
resource_ref:
|
| 307 |
+
platform: modelscope
|
| 308 |
+
repo_id: OneScience/MACE
|
| 309 |
+
repo_type: model
|
| 310 |
+
url: https://modelscope.cn/models/OneScience/MACE
|
| 311 |
+
revision: main
|
| 312 |
+
readme_path: README.md
|
| 313 |
+
manifest_path: manifest.yaml
|
| 314 |
+
expected_local_path: session_workdir/data/ani1x
|
| 315 |
+
adapter: null
|
| 316 |
+
|
| 317 |
+
run_matrix:
|
| 318 |
+
scenarios:
|
| 319 |
+
- name: validate_dataset
|
| 320 |
+
default: true
|
| 321 |
+
capability: preflight
|
| 322 |
+
required_datasets:
|
| 323 |
+
- id: OneScience/ani1x
|
| 324 |
+
role: train_data
|
| 325 |
+
local_path: data/ani1x
|
| 326 |
+
required_model_files: []
|
| 327 |
+
required_data_files:
|
| 328 |
+
- data/ani1x/ANI1x_cc_DFT_rc5_train/*.h5
|
| 329 |
+
- data/ani1x/ANI1x_cc_DFT_rc5_val/*.h5
|
| 330 |
+
- data/ani1x/ANI1x_cc_DFT_rc5_test/*.h5
|
| 331 |
+
- data/ani1x/ANI1x_cc_DFT_rc5_statistics.json
|
| 332 |
+
- metadata/sha256_manifest.txt
|
| 333 |
+
preconditions:
|
| 334 |
+
- 已下载数据集仓库 OneScience/ani1x。
|
| 335 |
+
command_refs:
|
| 336 |
+
- commands.preflight.validate_dataset
|
| 337 |
+
outputs:
|
| 338 |
+
- path: stdout
|
| 339 |
+
description_zh: 数据结构、统计文件和 SHA256 检查结果。
|
| 340 |
+
|
| 341 |
+
capabilities:
|
| 342 |
+
inference: false
|
| 343 |
+
train: false
|
| 344 |
+
finetune: false
|
| 345 |
+
evaluate: false
|
| 346 |
+
visualize: false
|
| 347 |
+
deploy: false
|
| 348 |
+
|
| 349 |
+
commands:
|
| 350 |
+
download:
|
| 351 |
+
- name: download_dataset_package
|
| 352 |
+
target: dataset
|
| 353 |
+
repo_id: OneScience/ani1x
|
| 354 |
+
source: .
|
| 355 |
+
local_path: session_workdir/
|
| 356 |
+
required: true
|
| 357 |
+
required_for: [preflight, train, evaluate]
|
| 358 |
+
cwd: .
|
| 359 |
+
command: modelscope download --dataset OneScience/ani1x --local_dir session_workdir
|
| 360 |
+
expected_outputs:
|
| 361 |
+
- path: session_workdir/data/ani1x/ANI1x_cc_DFT_rc5_statistics.json
|
| 362 |
+
type: file
|
| 363 |
+
success_criteria:
|
| 364 |
+
- exit_code == 0
|
| 365 |
+
- output_path_exists
|
| 366 |
+
preflight:
|
| 367 |
+
- name: validate_dataset
|
| 368 |
+
description: 验证 ANI-1x 文件结构、HDF5 schema、statistics 和 SHA256。
|
| 369 |
+
cwd: .
|
| 370 |
+
command: python scripts/validate_ani1x.py --dataset-root data/ani1x --checksum-manifest metadata/sha256_manifest.txt
|
| 371 |
+
required_files:
|
| 372 |
+
- data/ani1x/ANI1x_cc_DFT_rc5_statistics.json
|
| 373 |
+
- metadata/sha256_manifest.txt
|
| 374 |
+
- scripts/validate_ani1x.py
|
| 375 |
+
required_env:
|
| 376 |
+
- python
|
| 377 |
+
- h5py
|
| 378 |
+
expected_outputs:
|
| 379 |
+
- path: stdout
|
| 380 |
+
type: text
|
| 381 |
+
success_criteria:
|
| 382 |
+
- exit_code == 0
|
| 383 |
+
prepare: []
|
| 384 |
+
inference: []
|
| 385 |
+
train: []
|
| 386 |
+
finetune: []
|
| 387 |
+
evaluate: []
|
| 388 |
+
visualize: []
|
| 389 |
+
deploy: []
|
| 390 |
+
|
| 391 |
+
expected_outputs:
|
| 392 |
+
- path: stdout
|
| 393 |
+
type: text
|
| 394 |
+
description_zh: 验证脚本输出每个 split、statistics 和 SHA256 的 OK 结果。
|
| 395 |
+
|
| 396 |
+
diagnostics:
|
| 397 |
+
- error_pattern: "缺少文件"
|
| 398 |
+
likely_cause: 数据集下载不完整或本地路径错误。
|
| 399 |
+
action: 重新执行 modelscope download --dataset OneScience/ani1x,并确认运行 cwd 是数据集仓库根目录。
|
| 400 |
+
- error_pattern: "SHA256 不一致"
|
| 401 |
+
likely_cause: 文件被截断、损坏或被替换。
|
| 402 |
+
action: 删除损坏文件后重新下载数据集。
|
| 403 |
+
- error_pattern: "HDF5"
|
| 404 |
+
likely_cause: HDF5 文件损坏或 schema 与 MACE 预期不一致。
|
| 405 |
+
action: 运行 scripts/validate_ani1x.py 定位具体文件,并与 metadata/schema.yaml 对照。
|
| 406 |
+
- error_pattern: "ModuleNotFoundError"
|
| 407 |
+
likely_cause: 缺少 h5py 或 Python 环境未配置。
|
| 408 |
+
action: 安装 h5py,或执行 bash install.sh matchem。
|
| 409 |
+
|
| 410 |
+
domain_extension:
|
| 411 |
+
matchem:
|
| 412 |
+
chemical_system:
|
| 413 |
+
elements:
|
| 414 |
+
- H
|
| 415 |
+
- C
|
| 416 |
+
- N
|
| 417 |
+
- O
|
| 418 |
+
properties:
|
| 419 |
+
- energy
|
| 420 |
+
- forces
|
| 421 |
+
units:
|
| 422 |
+
energy: eV
|
| 423 |
+
forces: eV/Angstrom
|
| 424 |
+
structure_format:
|
| 425 |
+
- hdf5
|
| 426 |
+
- extxyz
|
| 427 |
+
|
| 428 |
+
large_resource:
|
| 429 |
+
enabled: false
|
| 430 |
+
total_size: 762M
|
| 431 |
+
file_count: 28
|
| 432 |
+
download_policy: full
|
| 433 |
+
default_download: full
|
| 434 |
+
minimal_files:
|
| 435 |
+
- data/ani1x/ANI1x_cc_DFT_rc5_train/train_0.h5
|
| 436 |
+
- data/ani1x/ANI1x_cc_DFT_rc5_val/val_0.h5
|
| 437 |
+
- data/ani1x/ANI1x_cc_DFT_rc5_test/Default__0.h5
|
| 438 |
+
- data/ani1x/ANI1x_cc_DFT_rc5_statistics.json
|
| 439 |
+
|
| 440 |
+
reproducibility:
|
| 441 |
+
level: minimal
|
| 442 |
+
goal: 完成一次数据读取和 SHA256 校验。
|
| 443 |
+
command_ref: commands.preflight.validate_dataset
|
| 444 |
+
expected_runtime: 1-5 minutes
|
| 445 |
+
expected_outputs:
|
| 446 |
+
- stdout
|
metadata/schema.yaml
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
dataset: ANI-1x
|
| 2 |
+
standardized_repo_id: OneScience/ani1x
|
| 3 |
+
domain: matchem
|
| 4 |
+
format:
|
| 5 |
+
- hdf5
|
| 6 |
+
- extxyz
|
| 7 |
+
splits:
|
| 8 |
+
train:
|
| 9 |
+
path: data/ani1x/ANI1x_cc_DFT_rc5_train
|
| 10 |
+
pattern: "*.h5"
|
| 11 |
+
shards: 8
|
| 12 |
+
validation:
|
| 13 |
+
path: data/ani1x/ANI1x_cc_DFT_rc5_val
|
| 14 |
+
pattern: "*.h5"
|
| 15 |
+
shards: 8
|
| 16 |
+
test:
|
| 17 |
+
path: data/ani1x/ANI1x_cc_DFT_rc5_test
|
| 18 |
+
pattern: "*.h5"
|
| 19 |
+
shards: 8
|
| 20 |
+
sample_schema:
|
| 21 |
+
hdf5_layout: config_batch_*/config_*
|
| 22 |
+
fields:
|
| 23 |
+
atomic_numbers:
|
| 24 |
+
dtype: int64
|
| 25 |
+
shape: [num_atoms]
|
| 26 |
+
description_zh: 原子序数
|
| 27 |
+
positions:
|
| 28 |
+
dtype: float64
|
| 29 |
+
shape: [num_atoms, 3]
|
| 30 |
+
unit: Angstrom
|
| 31 |
+
description_zh: 原子坐标
|
| 32 |
+
cell:
|
| 33 |
+
dtype: float64
|
| 34 |
+
shape: [3, 3]
|
| 35 |
+
description_zh: 周期盒矩阵
|
| 36 |
+
pbc:
|
| 37 |
+
dtype: bool
|
| 38 |
+
shape: [3]
|
| 39 |
+
description_zh: 周期边界条件
|
| 40 |
+
properties/energy:
|
| 41 |
+
dtype: float64
|
| 42 |
+
shape: []
|
| 43 |
+
unit: eV
|
| 44 |
+
description_zh: 构型总能量
|
| 45 |
+
properties/forces:
|
| 46 |
+
dtype: float64
|
| 47 |
+
shape: [num_atoms, 3]
|
| 48 |
+
unit: eV/Angstrom
|
| 49 |
+
description_zh: 原子受力
|
| 50 |
+
statistics:
|
| 51 |
+
path: data/ani1x/ANI1x_cc_DFT_rc5_statistics.json
|
| 52 |
+
fields:
|
| 53 |
+
- atomic_energies
|
| 54 |
+
- avg_num_neighbors
|
| 55 |
+
- mean
|
| 56 |
+
- std
|
| 57 |
+
- atomic_numbers
|
| 58 |
+
- r_max
|
| 59 |
+
elements:
|
| 60 |
+
- H
|
| 61 |
+
- C
|
| 62 |
+
- N
|
| 63 |
+
- O
|
metadata/sha256_manifest.txt
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
0449b48e5a5c7f7b6129e7aa4cbca7a21781e5921884b2d9719ff1e4d131a787 ANI1x_cc_DFT_rc5_statistics.json
|
| 2 |
+
2d5d74c451c8fe4a6c42103ce7003b67da4f46382bbb33d4516e3c0954ebe958 ANI1x_cc_DFT_rc5_test/Default__0.h5
|
| 3 |
+
b1bb9f8a3665ac30d283c35af544fd7cf5a576206b965f8bda00cc54630428b8 ANI1x_cc_DFT_rc5_test/Default__1.h5
|
| 4 |
+
c5370d0f8a10501c6b260944ef2dca96ac74ba2bad2a4dfa8047fe97cd094f94 ANI1x_cc_DFT_rc5_test/Default__2.h5
|
| 5 |
+
52870d5f33a46d5e98b6c4446f61bf075c7da94c081586fdf71df1760e7245e2 ANI1x_cc_DFT_rc5_test/Default__3.h5
|
| 6 |
+
2b9ec4b82136042b43f4f66792909cc5d2cb944cd3af409b0e9b877275d5bbc7 ANI1x_cc_DFT_rc5_test/Default__4.h5
|
| 7 |
+
13119e9c2f44d1aa5bb31e926635b5a34d42d1c823f6d144cc591f7b15f0c9b3 ANI1x_cc_DFT_rc5_test/Default__5.h5
|
| 8 |
+
f90bb56746a07c72dae9e735aefc2db4a6945534ce609305a13fda6e639e8075 ANI1x_cc_DFT_rc5_test/Default__6.h5
|
| 9 |
+
925192b4c6e89831a3be24d683a78c947ff6ac8c0d36279c6d2a440656fb2b57 ANI1x_cc_DFT_rc5_test/Default__7.h5
|
| 10 |
+
134ceed06158735140a0f7a1ba7adfb436b268dfd9a78a2c139c50cc97cf0f9a ANI1x_cc_DFT_rc5_train/train_0.h5
|
| 11 |
+
72622803a711d7e246284e6f7d71e058151267a6e073ce60d223e2dba1fb4c9a ANI1x_cc_DFT_rc5_train/train_1.h5
|
| 12 |
+
323d7efa393f38ca86dfbb7abdde66bbcd434fb32a50d9224245bfd864c2cb3c ANI1x_cc_DFT_rc5_train/train_2.h5
|
| 13 |
+
1baff48da2ff5bd16e5ee34379b954d8ef912af8ed18f848b8774d14db81d040 ANI1x_cc_DFT_rc5_train/train_3.h5
|
| 14 |
+
fc5dc17175fe71e69b195cb9a90d1e3ba973deb6947672484b6f46d5bbc8f588 ANI1x_cc_DFT_rc5_train/train_4.h5
|
| 15 |
+
b711a45152ac306b90acf88bd79945fe7e3201c6f7a101bdb2445a264cb86293 ANI1x_cc_DFT_rc5_train/train_5.h5
|
| 16 |
+
65e964ea93f188b9183dd18aefca7dcb8bc1c0f0f4eaa13d947db37f1cfe5008 ANI1x_cc_DFT_rc5_train/train_6.h5
|
| 17 |
+
a182edfd0c43f16d0da5a223f0c29132cc44f97f0ffac08cb47edc1166367d38 ANI1x_cc_DFT_rc5_train/train_7.h5
|
| 18 |
+
a3bed40241c38172f0ff6634510e11101013b962765bc99550bc6b19796463d6 ANI1x_cc_DFT_rc5_val/val_0.h5
|
| 19 |
+
263a38d970756ecf691b2dafabae86929f7b9f6945700eddd4a169a31e366560 ANI1x_cc_DFT_rc5_val/val_1.h5
|
| 20 |
+
08d1ffc03712f43fda13a6ab56d820b623e99412819f2191256530e1b1ae6f9a ANI1x_cc_DFT_rc5_val/val_2.h5
|
| 21 |
+
757f4276604c151f9fc16f4667b66460279b105e8102b03e491dcb3aab3a6bae ANI1x_cc_DFT_rc5_val/val_3.h5
|
| 22 |
+
6b4c025be9dbbd35f78675c40ce83d8c60fd85c5dfdac9b4fd25e76e54aed849 ANI1x_cc_DFT_rc5_val/val_4.h5
|
| 23 |
+
571164862b2235a4273670428785c21ad383f15ac082d333aec80d3e47bc4403 ANI1x_cc_DFT_rc5_val/val_5.h5
|
| 24 |
+
9ac22a293d0d89821c0e3dc768b4a2599d16d6db72f69a78e9f09ee18e24901f ANI1x_cc_DFT_rc5_val/val_6.h5
|
| 25 |
+
d86a5f3ac2f85deda7fc4daf8346ae82441b95aab6c976b19fb544aa46670312 ANI1x_cc_DFT_rc5_val/val_7.h5
|
| 26 |
+
70288856ccc6d7333dad57089dc49e566179bcd705a5ab77895d7e9c93f9803d ani1x_cc_dft.xyz
|
| 27 |
+
ed10d691c665a63848f22931dd91ab293f839ca9e176c1858b3310d742a4e163 ani1x_test.xyz
|
| 28 |
+
34889a04b83a52aae42ce8678644395e7b1091f4341b8d6a4254e704100161b5 ani1x_train.xyz
|
onescience_relations.yaml
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
required_datasets: []
|
| 2 |
+
optional_datasets: []
|
| 3 |
+
compatible_models:
|
| 4 |
+
- id: OneScience/MACE
|
| 5 |
+
role: train_data
|
| 6 |
+
required_for:
|
| 7 |
+
- preflight
|
| 8 |
+
- train
|
| 9 |
+
- evaluate
|
| 10 |
+
resource_ref:
|
| 11 |
+
platform: modelscope
|
| 12 |
+
repo_id: OneScience/MACE
|
| 13 |
+
repo_type: model
|
| 14 |
+
url: https://modelscope.cn/models/OneScience/MACE
|
| 15 |
+
revision: main
|
| 16 |
+
readme_path: README.md
|
| 17 |
+
manifest_path: manifest.yaml
|
| 18 |
+
expected_local_path: session_workdir/data/ani1x
|
| 19 |
+
adapter: null
|
scripts/validate_ani1x.py
ADDED
|
@@ -0,0 +1,135 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python3
|
| 2 |
+
"""Validate the standardized ANI-1x dataset package."""
|
| 3 |
+
|
| 4 |
+
from __future__ import annotations
|
| 5 |
+
|
| 6 |
+
import argparse
|
| 7 |
+
import hashlib
|
| 8 |
+
import json
|
| 9 |
+
from pathlib import Path
|
| 10 |
+
|
| 11 |
+
import h5py
|
| 12 |
+
|
| 13 |
+
|
| 14 |
+
EXPECTED_SPLITS = {
|
| 15 |
+
"ANI1x_cc_DFT_rc5_train": 8,
|
| 16 |
+
"ANI1x_cc_DFT_rc5_val": 8,
|
| 17 |
+
"ANI1x_cc_DFT_rc5_test": 8,
|
| 18 |
+
}
|
| 19 |
+
EXPECTED_FILES = {
|
| 20 |
+
"ANI1x_cc_DFT_rc5_statistics.json",
|
| 21 |
+
"ani1x_cc_dft.xyz",
|
| 22 |
+
"ani1x_train.xyz",
|
| 23 |
+
"ani1x_test.xyz",
|
| 24 |
+
}
|
| 25 |
+
REQUIRED_SAMPLE_KEYS = (
|
| 26 |
+
"atomic_numbers",
|
| 27 |
+
"cell",
|
| 28 |
+
"pbc",
|
| 29 |
+
"positions",
|
| 30 |
+
"properties/energy",
|
| 31 |
+
"properties/forces",
|
| 32 |
+
)
|
| 33 |
+
|
| 34 |
+
|
| 35 |
+
def sha256_file(path: Path) -> str:
|
| 36 |
+
h = hashlib.sha256()
|
| 37 |
+
with path.open("rb") as f:
|
| 38 |
+
for chunk in iter(lambda: f.read(1024 * 1024), b""):
|
| 39 |
+
h.update(chunk)
|
| 40 |
+
return h.hexdigest()
|
| 41 |
+
|
| 42 |
+
|
| 43 |
+
def validate_h5(path: Path) -> None:
|
| 44 |
+
with h5py.File(path, "r") as f:
|
| 45 |
+
batches = sorted(f.keys())
|
| 46 |
+
if not batches:
|
| 47 |
+
raise SystemExit(f"[FAIL] HDF5 无 batch: {path}")
|
| 48 |
+
configs = sorted(f[batches[0]].keys())
|
| 49 |
+
if not configs:
|
| 50 |
+
raise SystemExit(f"[FAIL] HDF5 batch 无 config: {path}")
|
| 51 |
+
sample = f[batches[0]][configs[0]]
|
| 52 |
+
for key in REQUIRED_SAMPLE_KEYS:
|
| 53 |
+
if key not in sample:
|
| 54 |
+
raise SystemExit(f"[FAIL] HDF5 缺少字段 {key}: {path}")
|
| 55 |
+
atomic_numbers = sample["atomic_numbers"]
|
| 56 |
+
positions = sample["positions"]
|
| 57 |
+
forces = sample["properties/forces"]
|
| 58 |
+
if atomic_numbers.dtype.kind not in ("i", "u"):
|
| 59 |
+
raise SystemExit(f"[FAIL] atomic_numbers dtype 非整数: {path}")
|
| 60 |
+
if positions.dtype.kind != "f" or positions.shape[-1] != 3:
|
| 61 |
+
raise SystemExit(f"[FAIL] positions dtype/shape 异常: {path}")
|
| 62 |
+
if forces.dtype.kind != "f" or forces.shape != positions.shape:
|
| 63 |
+
raise SystemExit(f"[FAIL] forces dtype/shape 异常: {path}")
|
| 64 |
+
|
| 65 |
+
|
| 66 |
+
def validate_checksum_manifest(dataset_root: Path, manifest_path: Path) -> None:
|
| 67 |
+
if not manifest_path.exists():
|
| 68 |
+
raise SystemExit(f"[FAIL] 校验清单不存在: {manifest_path}")
|
| 69 |
+
checked = 0
|
| 70 |
+
with manifest_path.open("r", encoding="utf-8") as f:
|
| 71 |
+
for line in f:
|
| 72 |
+
line = line.strip()
|
| 73 |
+
if not line or line.startswith("#"):
|
| 74 |
+
continue
|
| 75 |
+
digest, rel = line.split(maxsplit=1)
|
| 76 |
+
path = dataset_root / rel
|
| 77 |
+
if not path.exists():
|
| 78 |
+
raise SystemExit(f"[FAIL] 清单文件不存在: {path}")
|
| 79 |
+
actual = sha256_file(path)
|
| 80 |
+
if actual != digest:
|
| 81 |
+
raise SystemExit(f"[FAIL] SHA256 不一致: {rel}")
|
| 82 |
+
checked += 1
|
| 83 |
+
if checked == 0:
|
| 84 |
+
raise SystemExit("[FAIL] 校验清单为空")
|
| 85 |
+
print(f"[OK] SHA256 清单验证通过: {checked} 个文件")
|
| 86 |
+
|
| 87 |
+
|
| 88 |
+
def main() -> int:
|
| 89 |
+
parser = argparse.ArgumentParser()
|
| 90 |
+
parser.add_argument("--dataset-root", default="data/ani1x")
|
| 91 |
+
parser.add_argument("--checksum-manifest", default="metadata/sha256_manifest.txt")
|
| 92 |
+
args = parser.parse_args()
|
| 93 |
+
|
| 94 |
+
repo_root = Path.cwd()
|
| 95 |
+
dataset_root = Path(args.dataset_root)
|
| 96 |
+
if not dataset_root.is_absolute():
|
| 97 |
+
dataset_root = repo_root / dataset_root
|
| 98 |
+
checksum_manifest = Path(args.checksum_manifest)
|
| 99 |
+
if not checksum_manifest.is_absolute():
|
| 100 |
+
checksum_manifest = repo_root / checksum_manifest
|
| 101 |
+
|
| 102 |
+
if not dataset_root.exists():
|
| 103 |
+
raise SystemExit(f"[FAIL] 数据目录不存在: {dataset_root}")
|
| 104 |
+
|
| 105 |
+
for rel in EXPECTED_FILES:
|
| 106 |
+
path = dataset_root / rel
|
| 107 |
+
if not path.exists():
|
| 108 |
+
raise SystemExit(f"[FAIL] 缺少文件: {path}")
|
| 109 |
+
if path.stat().st_size <= 0:
|
| 110 |
+
raise SystemExit(f"[FAIL] 文件为空: {path}")
|
| 111 |
+
print(f"[OK] 文件存在: {rel}")
|
| 112 |
+
|
| 113 |
+
stats_path = dataset_root / "ANI1x_cc_DFT_rc5_statistics.json"
|
| 114 |
+
with stats_path.open("r", encoding="utf-8") as f:
|
| 115 |
+
stats = json.load(f)
|
| 116 |
+
for key in ("atomic_energies", "avg_num_neighbors", "mean", "std", "atomic_numbers", "r_max"):
|
| 117 |
+
if key not in stats:
|
| 118 |
+
raise SystemExit(f"[FAIL] statistics 缺少字段: {key}")
|
| 119 |
+
print("[OK] statistics JSON 可读")
|
| 120 |
+
|
| 121 |
+
for split, expected_count in EXPECTED_SPLITS.items():
|
| 122 |
+
split_dir = dataset_root / split
|
| 123 |
+
h5_files = sorted(split_dir.glob("*.h5"))
|
| 124 |
+
if len(h5_files) != expected_count:
|
| 125 |
+
raise SystemExit(f"[FAIL] {split} 分片数异常: {len(h5_files)} != {expected_count}")
|
| 126 |
+
validate_h5(h5_files[0])
|
| 127 |
+
print(f"[OK] {split}: {len(h5_files)} 个 h5 分片,样本结构可读")
|
| 128 |
+
|
| 129 |
+
validate_checksum_manifest(dataset_root, checksum_manifest)
|
| 130 |
+
print("[OK] ANI-1x 数据集读取验证通过")
|
| 131 |
+
return 0
|
| 132 |
+
|
| 133 |
+
|
| 134 |
+
if __name__ == "__main__":
|
| 135 |
+
raise SystemExit(main())
|