-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of github.com:materialsvirtuallab/matgl
- Loading branch information
Showing
21 changed files
with
440 additions
and
85 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
"source": [ | ||
"# Introduction\n", | ||
"\n", | ||
"This notebook demonstrates the use of the pre-trained M3GNet model to perform structural relaxations, molecular dynamics simulations and single-point calculations.\n", | ||
"This notebook demonstrates the use of the pre-trained universal potentials to perform structural relaxations, molecular dynamics simulations and single-point calculations.\n", | ||
"\n", | ||
"Author: Tsz Wai Ko (Kenko)\n", | ||
"Email: [email protected]" | ||
|
@@ -42,7 +42,7 @@ | |
"source": [ | ||
"# Loading the pre-trained M3GNet PES model\n", | ||
"\n", | ||
"We will first load the M3GNet PES model, which is trained on the MP-2021.2.8 dataset. This can be done with a single line of code." | ||
"We will first load the M3GNet PES model, which is trained on the MP-2021.2.8 dataset. This can be done with a single line of code. Here we only use M3GNet for demonstration and users can choose other available models." | ||
] | ||
}, | ||
{ | ||
|
@@ -52,7 +52,9 @@ | |
"metadata": {}, | ||
"outputs": [], | ||
"source": [ | ||
"pot = matgl.load_model(\"M3GNet-MP-2021.2.8-PES\")" | ||
"# You can load any pretrained potentials such as CHGNet ('CHGNet-MPtrj-2023.12.1-PES-2.7M', 'CHGNet-MPtrj-2024.2.13-PES-11M')\n", | ||
"# To see available models, use get_available_pretrained_models()\n", | ||
"pot = matgl.load_model(\"M3GNet-MP-2021.2.8-PES\") " | ||
] | ||
}, | ||
{ | ||
|
@@ -120,7 +122,7 @@ | |
"source": [ | ||
"# Single point energy calculation\n", | ||
"\n", | ||
"Perform a single-point calculation for final structure using M3GNetCalculator." | ||
"Perform a single-point calculation for final structure using PESCalculator." | ||
] | ||
}, | ||
{ | ||
|
@@ -154,7 +156,7 @@ | |
"name": "python", | ||
"nbconvert_exporter": "python", | ||
"pygments_lexer": "ipython3", | ||
"version": "3.10.14" | ||
"version": "3.10.9" | ||
} | ||
}, | ||
"nbformat": 4, | ||
|
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,10 +1,11 @@ | ||
dgl==2.1.0 | ||
torch==2.4.0 | ||
dgl==2.2.1 | ||
torch==2.2.1 | ||
lightning==2.4.0 | ||
pymatgen==2024.8.9 | ||
pymatgen==2024.10.29 | ||
ase==3.23.0 | ||
pydantic==2.8.2 | ||
torchdata==0.8.0 | ||
boto3==1.34.160 | ||
numpy==1.26.4 | ||
sympy==1.13.2 | ||
pydantic==2.9.2 | ||
numpy==2.1.3 | ||
torchdata==0.7.1 | ||
boto3==1.35.54 | ||
sympy==1.13.3 | ||
|
Oops, something went wrong.