-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update prediction scripts * bugfix join_grace_preds.py * join_grace_preds.py save relaxed structures * add GRACE-OAM's yaml files * tweak test_grace_discovery.py + join_grace_preds.py - fix outdated phonondb_pbe_103_structures URL in data-files.yml - simplify file path handling in hpc.py and test_hpc.py * update GRACE model YAML files with pred_file paths and pr_url - rename grace2l-r6.yml to grace-2L-mptrj.yml - rename GRACE-(1|2)L-OAM model YAML files to grace-(1|2)l-oam.yml - update Model enum in data.py to include new GRACE model paths * rename metrics.geo_opt.pred_col to struct_col in model YAML files * analyze_geo_opt.py add CLI - with argparse for passing models, symprec values to analyze and debug mode - Add example usage in script docstring * add discovery metrics to grace-1L-oam.yml and grace-2L-oam.yml * calc both MP-corrected and uncorrected e_form_per_atom in models/grace/join_grace_preds.py * contributing.md update recommended model artifact names * add parallel processing to analyze_geo_opt.py and improve error handling - uses ProcessPoolExecutor - add CLI option for specifying number of worker processes - improve logging and progress tracking * add geo_opt metrics to GRACE Omat L1+L2 model YAMLs - add figshare pred_file_url for geo_opt, discovery and kappa_103 in grace-1L-oam.yml and grace-2L-oam.yml --------- Co-authored-by: Yury Lysogorskiy <yura.lysogorskii@gmail.com> Co-authored-by: Janosh Riebesell <janosh.riebesell@gmail.com>
- Loading branch information
1 parent
3516d23
commit 7a0f8c8
Showing
33 changed files
with
710 additions
and
213 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,139 @@ | ||
model_name: GRACE-1L-OAM | ||
model_key: grace-1L-oam | ||
model_version: GRACE-1L-OAM_2Feb25 | ||
matbench_discovery_version: 1.2.0 | ||
date_added: "2025-02-06" | ||
date_published: "2025-02-06" | ||
authors: | ||
- name: Anton Bochkarev | ||
affiliation: ICAMS, Ruhr University Bochum | ||
email: anton.bochkarev@rub.de | ||
- name: Yury Lysogorskiy | ||
affiliation: ICAMS, Ruhr University Bochum | ||
email: yury.lysogorskiy@rub.de | ||
- name: Ralf Drautz | ||
affiliation: ICAMS, Ruhr University Bochum | ||
email: ralf.drautz@rub.de | ||
trained_by: | ||
- name: Yury Lysogorskiy | ||
affiliation: ICAMS, Ruhr University Bochum | ||
email: yury.lysogorskiy@rub.de | ||
- name: Anton Bochkarev | ||
affiliation: ICAMS, Ruhr University Bochum | ||
email: anton.bochkarev@rub.de | ||
|
||
repo: https://github.com/ICAMS/grace-tensorpotential | ||
doi: https://doi.org/10.1103/PhysRevX.14.021036 | ||
paper: https://journals.aps.org/prx/abstract/10.1103/PhysRevX.14.021036 | ||
url: https://gracemaker.readthedocs.io/en/latest/gracemaker/foundation | ||
pr_url: https://github.com/janosh/matbench-discovery/pull/202 | ||
|
||
requirements: | ||
tensorpotential: 0.4.5 | ||
tensorflow: 2.16.2 | ||
ase: 3.23.0 | ||
pymatgen: 2023.7.14 | ||
numpy: 1.26.4 | ||
|
||
openness: OSOD | ||
trained_for_benchmark: true | ||
train_task: S2EF | ||
test_task: IS2RE-SR | ||
targets: EFS_G | ||
model_type: UIP | ||
model_params: 3_447_148 | ||
n_estimators: 1 | ||
|
||
training_set: [OMat24, sAlex, MPtrj] | ||
|
||
hyperparams: | ||
max_force: 0.03 | ||
max_steps: 500 | ||
ase_optimizer: FIRE | ||
radial_cutoff: 6.0 | ||
|
||
metrics: | ||
phonons: | ||
kappa_103: | ||
κ_SRME: 0.516 # https://github.com/MPA2suite/k_SRME/pull/20 | ||
pred_file: models/grace/grace-1L-oam/2025-02-02-kappa-103-FIRE-dist=0.01-fmax=1e-4-symprec=1e-5.json.gz | ||
pred_file_url: https://figshare.com/ndownloader/files/52204910 | ||
geo_opt: | ||
pred_file: models/grace/grace-1L-oam/2025-02-02-wbm-geo-opt.json.gz | ||
pred_file_url: https://figshare.com/ndownloader/files/52204904 | ||
struct_col: grace_structure | ||
symprec=1e-5: | ||
rmsd: 0.0139 # Å | ||
n_sym_ops_mae: 1.8528 # unitless | ||
symmetry_decrease: 0.0329 # fraction | ||
symmetry_match: 0.7336 # fraction | ||
symmetry_increase: 0.2292 # fraction | ||
n_structures: 256963 # count | ||
symprec=1e-2: | ||
rmsd: 0.0139 # Å | ||
n_sym_ops_mae: 1.8157 # unitless | ||
symmetry_decrease: 0.0576 # fraction | ||
symmetry_match: 0.814 # fraction | ||
symmetry_increase: 0.1216 # fraction | ||
n_structures: 256963 # count | ||
discovery: | ||
pred_file: models/grace/grace-1L-oam/2025-02-02-wbm-IS2RE.csv.gz | ||
pred_file_url: https://figshare.com/ndownloader/files/52204898 | ||
pred_col: e_form_per_atom_grace | ||
full_test_set: | ||
F1: 0.808 # fraction | ||
DAF: 4.617 # dimensionless | ||
Precision: 0.792 # fraction | ||
Recall: 0.824 # fraction | ||
Accuracy: 0.933 # fraction | ||
TPR: 0.824 # fraction | ||
FPR: 0.045 # fraction | ||
TNR: 0.955 # fraction | ||
FNR: 0.176 # fraction | ||
TP: 36331.0 # count | ||
FP: 9524.0 # count | ||
TN: 203347.0 # count | ||
FN: 7761.0 # count | ||
MAE: 0.03 # eV/atom | ||
RMSE: 0.073 # eV/atom | ||
R2: 0.836 # dimensionless | ||
missing_preds: 2 # count | ||
missing_percent: 0.00% # fraction | ||
most_stable_10k: | ||
F1: 0.962 # fraction | ||
DAF: 6.063 # dimensionless | ||
Precision: 0.927 # fraction | ||
Recall: 1.0 # fraction | ||
Accuracy: 0.927 # fraction | ||
TPR: 1.0 # fraction | ||
FPR: 1.0 # fraction | ||
TNR: 0.0 # fraction | ||
FNR: 0.0 # fraction | ||
TP: 9269.0 # count | ||
FP: 731.0 # count | ||
TN: 0.0 # count | ||
FN: 0.0 # count | ||
MAE: 0.035 # eV/atom | ||
RMSE: 0.087 # eV/atom | ||
R2: 0.843 # dimensionless | ||
missing_preds: 0 # count | ||
missing_percent: 0.00% # fraction | ||
unique_prototypes: | ||
F1: 0.824 # fraction | ||
DAF: 5.255 # dimensionless | ||
Precision: 0.803 # fraction | ||
Recall: 0.846 # fraction | ||
Accuracy: 0.944 # fraction | ||
TPR: 0.846 # fraction | ||
FPR: 0.038 # fraction | ||
TNR: 0.962 # fraction | ||
FNR: 0.154 # fraction | ||
TP: 28244.0 # count | ||
FP: 6917.0 # count | ||
TN: 175197.0 # count | ||
FN: 5130.0 # count | ||
MAE: 0.031 # eV/atom | ||
RMSE: 0.073 # eV/atom | ||
R2: 0.842 # dimensionless | ||
missing_preds: 0 # count | ||
missing_percent: 0.00% # fraction |
Oops, something went wrong.