-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update h-BN example, ckpt and the related doc. (#127)
* update mix.ep50.pth, mix.iter500.pth and train_config.json * update hBN example * docs: update hands_on.md
- Loading branch information
Showing
47 changed files
with
320 additions
and
209 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
|
@@ -11,7 +11,7 @@ | |
"bandinfo": { | ||
"band_min": 0, | ||
"band_max": 6, | ||
"emin": -0.1, | ||
"emax": 40.0 | ||
"emin": null, | ||
"emax": null | ||
} | ||
} | ||
} |
88 changes: 45 additions & 43 deletions
88
examples/hBN/input/2_condband.json → examples/hBN/input/input_condband.json
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,44 +1,46 @@ | ||
{ | ||
"common_options": { | ||
"basis": { | ||
"B": ["2s", "2p", "d*"], | ||
"N": ["2s", "2p", "d*"] | ||
}, | ||
"device": "cpu", | ||
"dtype": "float32", | ||
"overlap": false, | ||
"seed": 114514 | ||
}, | ||
"train_options": { | ||
"num_epoch": 500, | ||
"batch_size": 1, | ||
"optimizer": { | ||
"lr": 0.05, | ||
"type": "Adam" | ||
}, | ||
"lr_scheduler": { | ||
"type": "exp", | ||
"gamma": 0.999 | ||
}, | ||
"loss_options":{ | ||
"train": {"method": "eigvals"} | ||
}, | ||
"save_freq": 100, | ||
"validation_freq": 10, | ||
"display_freq": 10 | ||
}, | ||
"model_options": { | ||
"nnsk": { | ||
"onsite": {"method": "none"}, | ||
"hopping": {"method": "powerlaw", "rs":1.6, "w": 0.3}, | ||
"freeze": false | ||
} | ||
}, | ||
"data_options": { | ||
"train": { | ||
"root": "./data/", | ||
"prefix": "kpath", | ||
"get_eigenvalues": true | ||
} | ||
} | ||
{ | ||
"common_options": { | ||
"basis": { | ||
"B": ["2s", "2p","d*"], | ||
"N": ["2s", "2p","d*"] | ||
}, | ||
"device": "cpu", | ||
"dtype": "float32", | ||
"overlap": false, | ||
"seed": 42 | ||
}, | ||
"train_options": { | ||
"num_epoch": 500, | ||
"batch_size": 1, | ||
"optimizer": { | ||
"lr": 0.05, | ||
"type": "Adam" | ||
}, | ||
"lr_scheduler": { | ||
"type": "exp", | ||
"gamma": 0.999 | ||
}, | ||
"loss_options":{ | ||
"train": {"method": "eigvals"} | ||
}, | ||
"save_freq": 50, | ||
"validation_freq": 10, | ||
"display_freq": 10 | ||
}, | ||
"model_options": { | ||
"nnsk": { | ||
"onsite": {"method": "none"}, | ||
"hopping": {"method": "powerlaw", "rs":1.6, "w": 0.3}, | ||
"soc":{}, | ||
"freeze": false, | ||
"push":false | ||
} | ||
}, | ||
"data_options": { | ||
"train": { | ||
"root": "./data/", | ||
"prefix": "kpath", | ||
"get_eigenvalues": true | ||
} | ||
} | ||
} |
88 changes: 45 additions & 43 deletions
88
examples/hBN/input/5_longtrain.json → examples/hBN/input/input_final.json
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,44 +1,46 @@ | ||
{ | ||
"common_options": { | ||
"basis": { | ||
"B": ["2s", "2p", "d*"], | ||
"N": ["2s", "2p", "d*"] | ||
}, | ||
"device": "cpu", | ||
"dtype": "float32", | ||
"overlap": false, | ||
"seed": 42 | ||
}, | ||
"train_options": { | ||
"num_epoch": 10000, | ||
"batch_size": 1, | ||
"optimizer": { | ||
"lr": 0.001, | ||
"type": "Adam" | ||
}, | ||
"lr_scheduler": { | ||
"type": "exp", | ||
"gamma": 0.999 | ||
}, | ||
"loss_options":{ | ||
"train": {"method": "eigvals"} | ||
}, | ||
"save_freq": 1000, | ||
"validation_freq": 10, | ||
"display_freq": 10 | ||
}, | ||
"model_options": { | ||
"nnsk": { | ||
"onsite": {"method": "strain", "rs":1.6, "w":0.3}, | ||
"hopping": {"method": "powerlaw", "rs":3.6, "w": 0.3}, | ||
"freeze": false | ||
} | ||
}, | ||
"data_options": { | ||
"train": { | ||
"root": "./data/", | ||
"prefix": "kpath", | ||
"get_eigenvalues": true | ||
} | ||
} | ||
{ | ||
"common_options": { | ||
"basis": { | ||
"B": ["2s", "2p","d*"], | ||
"N": ["2s", "2p","d*"] | ||
}, | ||
"device": "cpu", | ||
"dtype": "float32", | ||
"overlap": false, | ||
"seed": 42 | ||
}, | ||
"train_options": { | ||
"num_epoch": 1000, | ||
"batch_size": 1, | ||
"optimizer": { | ||
"lr": 0.05, | ||
"type": "Adam" | ||
}, | ||
"lr_scheduler": { | ||
"type": "exp", | ||
"gamma": 0.999 | ||
}, | ||
"loss_options":{ | ||
"train": {"method": "eigvals"} | ||
}, | ||
"save_freq": 10, | ||
"validation_freq": 10, | ||
"display_freq": 10 | ||
}, | ||
"model_options": { | ||
"nnsk": { | ||
"onsite": {"method": "strain", "rs": 1.6, "w": 0.3}, | ||
"hopping": {"method": "powerlaw", "rs":3.4, "w": 0.2}, | ||
"soc":{}, | ||
"freeze": false, | ||
"push": false | ||
} | ||
}, | ||
"data_options": { | ||
"train": { | ||
"root": "./data/", | ||
"prefix": "kpath", | ||
"get_eigenvalues": true | ||
} | ||
} | ||
} |
Oops, something went wrong.