forked from materialsvirtuallab/matgl
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
22 changed files
with
842 additions
and
194 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,4 +41,3 @@ jobs: | |
run: | | ||
# pip install pydocstyle --upgrade --quiet | ||
pydocstyle --count megnet | ||
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 |
---|---|---|
|
@@ -22,4 +22,6 @@ setuptools* | |
gulptmp_4_1 | ||
.coverage | ||
.mypy_cache | ||
.vs | ||
env | ||
venv |
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 |
---|---|---|
@@ -1,16 +1,48 @@ | ||
# Introduction | ||
|
||
This is a reimplementation of the [MatErials Graph Network (MEGNet)](https://github.com/materialsvirtuallab/megnet) | ||
and [3-body MEGNet (m3gnet)](https://github.com/materialsvirtuallab/m3gnet) in DGL in an effort to | ||
improve its extensibility and scalability. The original MEGNet and M3GNet were implemented in TensorFlow. It is a | ||
collaboration between the Materials Virtual Lab and Intel Labs (Santiago Miret, Marcel Nassar, Carmelo Gonzales). | ||
Mathematical graphs are a natural representation for a collection of atoms (e.g., molecules or crystals). Graph deep | ||
learning models have been shown to consistently deliver exceptional performance as surrogate models for the prediction | ||
of materials properties. | ||
|
||
This repository is a unified reimplementation of the [3-body MatErials Graph Network (m3gnet)](https://github.com/materialsvirtuallab/m3gnet) | ||
and its predecessors, [MEGNet](https://github.com/materialsvirtuallab/megnet) using the [Deep Graph Library (DGL)](https://www.dgl.ai). | ||
The goal is to improve the usability, extensibility and scalability of these models. The original M3GNet and MEGNet were | ||
implemented in TensorFlow. | ||
|
||
This effort is a collaboration between the [Materials Virtual Lab](http://materialsvirtuallab.org) and Intel Labs | ||
(Santiago Miret, Marcel Nassar, Carmelo Gonzales). | ||
|
||
# Status | ||
|
||
This repository is still a work in progress. At the present moment, only the MEGNet architecture has been implemented. | ||
We are still extensively testing the implementation. The plan is to complete implementation of M3GNet by end of 2022. | ||
At the present moment, only the simpler MEGNet architecture has been implemented. The implementation has been | ||
extensively tested. It is reasonably robust and performs several times faster than the original TF implementation. | ||
|
||
For users wishing to use the pre-trained models as-is, we recommend you check out the official [MEGNet](https://github.com/materialsvirtuallab/megnet) | ||
The plan is to complete implementation of M3GNet by end of 2022. | ||
|
||
For users wishing to use the pre-trained models, we recommend you check out the official [MEGNet](https://github.com/materialsvirtuallab/megnet) | ||
and [M3GNet](https://github.com/materialsvirtuallab/m3gnet) implementations. For new users wishing to train new MEGNet | ||
models, we welcome you to use this DGL implementation. Any contributions, e.g., code improvements or issue reports, are | ||
very welcome! | ||
|
||
# References | ||
|
||
Please cite the following works: | ||
|
||
- MEGNET | ||
```txt | ||
Chen, C.; Ye, W.; Zuo, Y.; Zheng, C.; Ong, S. P. Graph Networks as a Universal Machine Learning Framework for | ||
Molecules and Crystals. Chem. Mater. 2019, 31 (9), 3564–3572. https://doi.org/10.1021/acs.chemmater.9b01294. | ||
``` | ||
- M3GNet | ||
```txt | ||
Chen, C., Ong, S.P. A universal graph deep learning interatomic potential for the periodic table. Nat Comput Sci, | ||
2, 718–728 (2022). https://doi.org/10.1038/s43588-022-00349-3. | ||
``` | ||
# Acknowledgements | ||
This work was primarily supported by the Materials Project, funded by the U.S. Department of Energy, Office of Science, | ||
Office of Basic Energy Sciences, Materials Sciences and Engineering Division under contract no. | ||
DE-AC02-05-CH11231: Materials Project program KC23MP. This work used the Expanse supercomputing cluster at the Extreme | ||
Science and Engineering Discovery Environment (XSEDE), which is supported by National Science Foundation grant number | ||
ACI-1548562. |
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 |
---|---|---|
|
@@ -20,4 +20,4 @@ data: | |
verbose: False | ||
split: | ||
val_size: 1000 | ||
test_size: 1000 | ||
test_size: 1000 |
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
Oops, something went wrong.