Skip to content

Commit

Permalink
Fix silicon (#113)
Browse files Browse the repository at this point in the history
* fix silicon example

* update temp silicon

* update silicon example
  • Loading branch information
floatingCatty authored Apr 9, 2024
1 parent f2e3db3 commit 52437e3
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 6 deletions.
2 changes: 1 addition & 1 deletion examples/silicon/inputs/2-2-2_2_input.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"onsite": {"method": "strain", "rs":2.5 ,"w":0.3},
"hopping": {"method": "powerlaw", "rs":5.0, "w": 0.3},
"freeze": false,
"push": {"w_thr": -0.005, "period": 50}
"push": {"w_thr": -0.007, "period": 50}
}
},
"data_options": {
Expand Down
2 changes: 1 addition & 1 deletion examples/silicon/inputs/2-3_1_input.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
},
"save_freq": 500,
"validation_freq": 10,
"display_freq": 100
"display_freq": 1
},
"model_options": {
"nnsk": {
Expand Down
2 changes: 1 addition & 1 deletion examples/silicon/inputs/2-3_2_input.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
},
"save_freq": 500,
"validation_freq": 10,
"display_freq": 100
"display_freq": 1
},
"model_options": {
"nnsk": {
Expand Down
10 changes: 8 additions & 2 deletions examples/silicon/inputs/2-4_input.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,12 @@
"gamma": 0.999
},
"loss_options":{
"train": {"method": "eigvals"}
"train": {"method": "eigvals"},
"reference": {"method": "eigvals"}
},
"save_freq": 500,
"validation_freq": 10,
"display_freq": 100
"display_freq": 1
},
"model_options": {
"embedding":{
Expand All @@ -46,6 +47,11 @@
},
"data_options": {
"train": {
"root": "./data/",
"prefix": "kpathmd100",
"get_eigenvalues": true
},
"reference": {
"root": "./data/",
"prefix": "kpath_spk",
"get_eigenvalues": true
Expand Down
4 changes: 4 additions & 0 deletions examples/silicon/run/band.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,9 @@
"emin":-15,
"emax":10,
"ref_band": "./data/kpath.0/eigenvalues.npy"
},
"AtomicData_options": {
"r_max": 5.0,
"pbc": true
}
}
2 changes: 1 addition & 1 deletion examples/silicon/silicon.ipynb

Large diffs are not rendered by default.

0 comments on commit 52437e3

Please sign in to comment.