| 1 |
############################################################################### |
| 2 |
# GENERAL NNP SETTINGS |
| 3 |
############################################################################### |
| 4 |
# These keywords are (almost) always required. |
| 5 |
number_of_elements 2 # Number of elements. |
| 6 |
elements O H # Specification of elements. |
| 7 |
atom_energy O -74.94518524 # free atom reference energy (atomic zora) |
| 8 |
atom_energy H -0.45890771 # free atom reference energy (atomic zora) |
| 9 |
cutoff_type 2 # Cutoff type (optional argument: shift parameter alpha). |
| 10 |
scale_symmetry_functions # Scale all symmetry functions with min/max values. |
| 11 |
#scale_symmetry_functions_sigma # Scale all symmetry functions with sigma. |
| 12 |
scale_min_short 0.0 # Minimum value for scaling. |
| 13 |
scale_max_short 1.0 # Maximum value for scaling. |
| 14 |
center_symmetry_functions # Center all symmetry functions, i.e. subtract mean value. |
| 15 |
global_hidden_layers_short 2 # Number of hidden layers. |
| 16 |
global_nodes_short 20 20 # Number of nodes in each hidden layer. |
| 17 |
global_activation_short t t l # Activation function for each hidden layer and output layer. |
| 18 |
#normalize_nodes # Normalize input of nodes. |
| 19 |
|
| 20 |
############################################################################### |
| 21 |
# ADDITIONAL SETTINGS FOR DATASET TOOLS |
| 22 |
############################################################################### |
| 23 |
# These keywords are used only by some tools handling data sets: |
| 24 |
# nnp-comp2, nnp-scaling, nnp-dataset, nnp-train. |
| 25 |
#use_short_forces # Use forces. Disable - repeated below. |
| 26 |
random_seed 1 # Random number generator seed. |
| 27 |
|
| 28 |
############################################################################### |
| 29 |
# ADDITIONAL SETTINGS FOR TRAINING |
| 30 |
############################################################################### |
| 31 |
# These keywords are solely used for training with nnp-train. |
| 32 |
epochs 100 # Number of training epochs. |
| 33 |
updater_type 1 # Weight update method (0 = Gradient Descent, 1 = Kalman filter). |
| 34 |
parallel_mode 1 # Training parallelization used (0 = Parallel (rank 0 update), 1 = Parallel (all update)). |
| 35 |
jacobian_mode 2 # Jacobian computation mode (0 = Summation to single gradient, 1 = Per-task summed gradient, 2 = Full Jacobian). |
| 36 |
update_strategy 0 # Update strategy (0 = Combined, 1 = Per-element). |
| 37 |
selection_mode 2 # Update candidate selection mode (0 = Random, 1 = Sort, 2 = Threshold). |
| 38 |
task_batch_size_energy 1 # Number of energy update candidates prepared per task for each update (0 = Entire training set). |
| 39 |
task_batch_size_force 1 # Number of force update candidates prepared per task for each update (0 = Entire training set). |
| 40 |
memorize_symfunc_results # Keep symmetry function results in memory. |
| 41 |
test_fraction 0.1 # Fraction of structures kept for testing. |
| 42 |
use_short_forces # Use forces for training. |
| 43 |
force_weight 2.0 # Weight of force updates relative to energy updates. |
| 44 |
short_energy_fraction 1.0 # Fraction of energy updates per epoch. |
| 45 |
short_force_fraction 0.05 # Fraction of force updates per epoch. |
| 46 |
short_energy_error_threshold 0.8 # RMSE threshold for energy update candidates. |
| 47 |
short_force_error_threshold 1.0 # RMSE threshold for force update candidates. |
| 48 |
rmse_threshold_trials 3 # Maximum number of RMSE threshold trials. |
| 49 |
#use_old_weights_short # Restart fitting with old weight parameters. |
| 50 |
weights_min -1.0 # Minimum value for initial random weights. |
| 51 |
weights_max 1.0 # Maximum value for initial random weights. |
| 52 |
#precondition_weights # Precondition weights with initial energies. |
| 53 |
nguyen_widrow_weights_short # Initialize neural network weights according to Nguyen-Widrow scheme. |
| 54 |
write_trainpoints 0 # Write energy comparison every this many epochs. |
| 55 |
write_trainforces 0 # Write force comparison every this many epochs. |
| 56 |
write_weights_epoch 1 # Write weights every this many epochs. |
| 57 |
write_neuronstats 0 # Write neuron statistics every this many epochs. |
| 58 |
#write_trainlog # Write training log file. |
| 59 |
|
| 60 |
############################ |
| 61 |
# KALMAN FILTER (STANDARD) # |
| 62 |
############################ |
| 63 |
kalman_type 0 # Kalman filter type (0 = Standard, 1 = Fading memory). |
| 64 |
kalman_epsilon 1.0E-2 # General Kalman filter parameter epsilon (sigmoidal: 0.01, linear: 0.001). |
| 65 |
kalman_q0 0.01 # General Kalman filter parameter q0 ("large"). |
| 66 |
kalman_qtau 2.302 # General Kalman filter parameter qtau (2.302 => 1 order of magnitude per epoch). |
| 67 |
kalman_qmin 1.0E-6 # General Kalman filter parameter qmin (typ. 1.0E-6). |
| 68 |
kalman_eta 0.01 # Standard Kalman filter parameter eta (0.001-1.0). |
| 69 |
kalman_etatau 2.302 # Standard Kalman filter parameter etatau (2.302 => 1 order of magnitude per epoch). |
| 70 |
kalman_etamax 1.0 # Standard Kalman filter parameter etamax (1.0+). |
| 71 |
|
| 72 |
# Are these only for fading Kalman? |
| 73 |
kalman_lambda_short 0.98000 |
| 74 |
kalman_nue_short 0.99870 |
| 75 |
|
| 76 |
|
| 77 |
|
| 78 |
############################################################################### |
| 79 |
# SYMMETRY FUNCTIONS |
| 80 |
############################################################################### |
| 81 |
|
| 82 |
# INFO: symfunction format: reference atom, type, neighbor element 1 (and neighbor element 2), symfunction parameters |
| 83 |
|
| 84 |
|
| 85 |
# |
| 86 |
# radial |
| 87 |
# |
| 88 |
|
| 89 |
# central_atom type neighbor_atom eta rshift funccutoff |
| 90 |
|
| 91 |
# H H |
| 92 |
symfunction_short H 2 H 0.001 0.0 12.00 |
| 93 |
symfunction_short H 2 H 0.01 0.0 12.00 |
| 94 |
symfunction_short H 2 H 0.03 0.0 12.00 |
| 95 |
symfunction_short H 2 H 0.06 0.0 12.00 |
| 96 |
symfunction_short H 2 H 0.15 1.9 12.00 |
| 97 |
symfunction_short H 2 H 0.30 1.9 12.00 |
| 98 |
symfunction_short H 2 H 0.60 1.9 12.00 |
| 99 |
symfunction_short H 2 H 1.50 1.9 12.00 |
| 100 |
|
| 101 |
# H O / O H |
| 102 |
symfunction_short H 2 O 0.001 0.0 12.00 |
| 103 |
symfunction_short H 2 O 0.01 0.0 12.00 |
| 104 |
symfunction_short H 2 O 0.03 0.0 12.00 |
| 105 |
symfunction_short H 2 O 0.06 0.0 12.00 |
| 106 |
symfunction_short H 2 O 0.15 0.9 12.00 |
| 107 |
symfunction_short H 2 O 0.30 0.9 12.00 |
| 108 |
symfunction_short H 2 O 0.60 0.9 12.00 |
| 109 |
symfunction_short H 2 O 1.50 0.9 12.00 |
| 110 |
symfunction_short O 2 H 0.001 0.0 12.00 |
| 111 |
symfunction_short O 2 H 0.01 0.0 12.00 |
| 112 |
symfunction_short O 2 H 0.03 0.0 12.00 |
| 113 |
symfunction_short O 2 H 0.06 0.0 12.00 |
| 114 |
symfunction_short O 2 H 0.15 0.9 12.00 |
| 115 |
symfunction_short O 2 H 0.30 0.9 12.00 |
| 116 |
symfunction_short O 2 H 0.60 0.9 12.00 |
| 117 |
symfunction_short O 2 H 1.50 0.9 12.00 |
| 118 |
|
| 119 |
# O O |
| 120 |
symfunction_short O 2 O 0.001 0.0 12.00 |
| 121 |
symfunction_short O 2 O 0.01 0.0 12.00 |
| 122 |
symfunction_short O 2 O 0.03 0.0 12.00 |
| 123 |
symfunction_short O 2 O 0.06 0.0 12.00 |
| 124 |
symfunction_short O 2 O 0.15 4.0 12.00 |
| 125 |
symfunction_short O 2 O 0.30 4.0 12.00 |
| 126 |
symfunction_short O 2 O 0.60 4.0 12.00 |
| 127 |
symfunction_short O 2 O 1.50 4.0 12.00 |
| 128 |
|
| 129 |
# |
| 130 |
# angular |
| 131 |
# |
| 132 |
|
| 133 |
# central_atom type neighbor_atom1 neighbor_atom2 eta lambda zeta funccutoff |
| 134 |
|
| 135 |
symfunction_short H 3 O H 0.2 1.0 1.0 12.00000 |
| 136 |
|
| 137 |
symfunction_short O 3 H H 0.07 1.0 1.0 12.00000 |
| 138 |
symfunction_short H 3 O H 0.07 1.0 1.0 12.00000 |
| 139 |
symfunction_short O 3 H H 0.07 -1.0 1.0 12.00000 |
| 140 |
symfunction_short H 3 O H 0.07 -1.0 1.0 12.00000 |
| 141 |
|
| 142 |
symfunction_short O 3 H H 0.03 1.0 1.0 12.00000 |
| 143 |
symfunction_short H 3 O H 0.03 1.0 1.0 12.00000 |
| 144 |
symfunction_short O 3 H H 0.03 -1.0 1.0 12.00000 |
| 145 |
symfunction_short H 3 O H 0.03 -1.0 1.0 12.00000 |
| 146 |
|
| 147 |
symfunction_short O 3 H H 0.01 1.0 4.0 12.00000 |
| 148 |
symfunction_short H 3 O H 0.01 1.0 4.0 12.00000 |
| 149 |
symfunction_short O 3 H H 0.01 -1.0 4.0 12.00000 |
| 150 |
symfunction_short H 3 O H 0.01 -1.0 4.0 12.00000 |
| 151 |
|
| 152 |
symfunction_short O 3 O H 0.03 1.0 1.0 12.00000 |
| 153 |
symfunction_short O 3 O H 0.03 -1.0 1.0 12.00000 |
| 154 |
symfunction_short O 3 O H 0.001 1.0 4.0 12.00000 |
| 155 |
symfunction_short O 3 O H 0.001 -1.0 4.0 12.00000 |
| 156 |
|
| 157 |
symfunction_short H 3 O O 0.03 1.0 1.0 12.00000 |
| 158 |
symfunction_short H 3 O O 0.03 -1.0 1.0 12.00000 |
| 159 |
symfunction_short H 3 O O 0.001 1.0 4.0 12.00000 |
| 160 |
symfunction_short H 3 O O 0.001 -1.0 4.0 12.00000 |
| 161 |
|
| 162 |
symfunction_short O 3 O O 0.03 1.0 1.0 12.00000 |
| 163 |
symfunction_short O 3 O O 0.03 -1.0 1.0 12.00000 |
| 164 |
symfunction_short O 3 O O 0.001 1.0 4.0 12.00000 |
| 165 |
symfunction_short O 3 O O 0.001 -1.0 4.0 12.00000 |