-
Notifications
You must be signed in to change notification settings - Fork 68
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
9 changed files
with
270 additions
and
102 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
## Model 0.2.0 | ||
|
||
This is the pretrained weights published with CHGNet Nature Machine Intelligence paper. | ||
All the experiments and results shown in the paper were performed with this version of weights. | ||
|
||
Date: 2/24/2023 | ||
|
||
Author: Bowen Deng | ||
|
||
## Model Parameters | ||
|
||
```python | ||
model = CHGNet( | ||
atom_fea_dim=64, | ||
bond_fea_dim=64, | ||
angle_fea_dim=64, | ||
composition_model="MPtrj", | ||
num_radial=9, | ||
num_angular=9, | ||
n_conv=4, | ||
atom_conv_hidden_dim=64, | ||
update_bond=True, | ||
bond_conv_hidden_dim=64, | ||
update_angle=True, | ||
angle_layer_hidden_dim=0, | ||
conv_dropout=0, | ||
read_out="ave", | ||
mlp_hidden_dims=[64, 64], | ||
mlp_first=True, | ||
is_intensive=True, | ||
non_linearity="silu", | ||
atom_graph_cutoff=5, | ||
bond_graph_cutoff=3, | ||
graph_converter_algorithm="fast", | ||
cutoff_coeff=5, | ||
learnable_rbf=True, | ||
mlp_out_bias=True, | ||
) | ||
``` | ||
|
||
## Dataset Used | ||
|
||
MPtrj dataset with 8-1-1 train-val-test splitting | ||
|
||
## Trainer | ||
|
||
```python | ||
trainer = Trainer( | ||
model=model, | ||
targets='efsm', | ||
energy_loss_ratio=1, | ||
force_loss_ratio=1, | ||
stress_loss_ratio=0.1, | ||
mag_loss_ratio=0.1, | ||
optimizer='Adam', | ||
weight_decay=0, | ||
scheduler='CosLR', | ||
criterion='Huber', | ||
delta=0.1, | ||
epochs=20, | ||
starting_epoch=0, | ||
learning_rate=1e-3, | ||
use_device='cuda', | ||
print_freq=1000 | ||
) | ||
``` | ||
|
||
## Mean Absolute Error (MAE) logs | ||
|
||
| partition | Energy (meV/atom) | Force (meV/A) | stress (GPa) | magmom (muB) | | ||
| ---------- | ----------------- | ------------- | ------------ | ------------ | | ||
| Train | 22 | 59 | 0.246 | 0.030 | | ||
| Validation | 20 | 75 | 0.350 | 0.033 | | ||
| Test | 30 | 77 | 0.348 | 0.032 | |
File renamed without changes.
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,80 @@ | ||
## Model 0.3.0 | ||
|
||
Major changes: | ||
|
||
1. Increased AtomGraph cutoff to 6A | ||
2. Resolved discontinuity issue when no BondGraph presents | ||
3. Added some normalization layers | ||
4. Slight improvements on energy, force, stress accuracies | ||
|
||
Date: 10/22/2023 | ||
|
||
Author: Bowen Deng | ||
|
||
## Model Parameters | ||
|
||
```python | ||
model = CHGNet( | ||
atom_fea_dim=64, | ||
bond_fea_dim=64, | ||
angle_fea_dim=64, | ||
composition_model="MPtrj", | ||
num_radial=31, | ||
num_angular=31, | ||
n_conv=4, | ||
atom_conv_hidden_dim=64, | ||
update_bond=True, | ||
bond_conv_hidden_dim=64, | ||
update_angle=True, | ||
angle_layer_hidden_dim=0, | ||
conv_dropout=0, | ||
read_out="ave", | ||
gMLP_norm='layer', | ||
readout_norm='layer', | ||
mlp_hidden_dims=[64, 64, 64], | ||
mlp_first=True, | ||
is_intensive=True, | ||
non_linearity="silu", | ||
atom_graph_cutoff=6, | ||
bond_graph_cutoff=3, | ||
graph_converter_algorithm="fast", | ||
cutoff_coeff=8, | ||
learnable_rbf=True, | ||
) | ||
``` | ||
|
||
## Dataset Used | ||
|
||
MPtrj dataset with 9-0.5-0.5 train-val-test splitting | ||
|
||
## Trainer | ||
|
||
```python | ||
trainer = Trainer( | ||
model=model, | ||
targets='efsm', | ||
energy_loss_ratio=1, | ||
force_loss_ratio=1, | ||
stress_loss_ratio=0.1, | ||
mag_loss_ratio=0.1, | ||
optimizer='Adam', | ||
weight_decay=0, | ||
scheduler='CosLR', | ||
scheduler_params={'decay_fraction': 0.5e-2}, | ||
criterion='Huber', | ||
delta=0.1, | ||
epochs=30, | ||
starting_epoch=0, | ||
learning_rate=5e-3, | ||
use_device='cuda', | ||
print_freq=1000 | ||
) | ||
``` | ||
|
||
## Mean Absolute Error (MAE) logs | ||
|
||
| partition | Energy (meV/atom) | Force (meV/A) | stress (GPa) | magmom (muB) | | ||
| ---------- | ----------------- | ------------- | ------------ | ------------ | | ||
| Train | 26 | 60 | 0.266 | 0.037 | | ||
| Validation | 29 | 70 | 0.308 | 0.037 | | ||
| Test | 29 | 68 | 0.314 | 0.037 | |
Binary file not shown.
Oops, something went wrong.