model: added aldp model and config
Browse filesFiles changed (2)
- aldp/config.yamlAdded+73
- aldp/model.ptAdded+3
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273# Config file specifying the setup of a Boltzmann Generator
data: transform: experiments/aldp/data/position_min_energy.pt test: data/val.pt
system: # Properties of molecular system
temperature: 300 # Double, temperature of the system energy_cut: 1.e+8 # Double, energy level at which regularization shall be applied energy_max: 1.e+20 # Double, maximum level at which energies will be clamped n_threads: 18 # Int, number of threads to be used, number of cores if null transform: internal shift_dih: False env: implicit
flow: # Properties of the flow model
type: circular-coup-nsf # String, type of the flow base: # Base distribution type: gauss-uni # Type of the base dist params: null blocks: 12 # Int, number of Real NVP blocks, consisting of an ActNorm layer # if specified, a permutation, and a affine coupling layer actnorm: False # Bool, flag whether to include an ActNorm layers mixing: null # String, how features are mixed circ_shift: random # String, whether to shift circular coordinates, can be none, # constant, or random blocks_per_layer: 1 # Int, number of blocks per layer hidden_units: 256 # Int, number of hidden units of the NN in neural spline layers num_bins: 8 # Int, number of bins of the neural splines init_identity: True # Bool, flag whether to initialize layers as identity map dropout: 0. # Float, dropout probability for the NN layers
fab:
transition_type: hmc # String, type of transition operator used n_int_dist: 8 # Int, number of intermediate distributions n_inner: 4 # Int, number of steps between intermediate distributions epsilon: 0.1 adjust_step_size: True loss_type: fab_alpha_div # String, loss to be used alpha: 2.
training: # Properties of the training procedure
max_iter: 50000 # Int, maximum number of iteration warmup_iter: 1000 optimizer: adam # String, name of the optimizer batch_size: 1024 # Int, batch size used during training learning_rate: 5.e-4 # Double, learning rate used during training lr_scheduler: type: cosine # String, kind of LR scheduler, can be exponential, cosine replay_buffer: type: prioritised # String, way to sample from the buffer, can be uniform or prioritised n_updates: 8 # Int, number of updates to do after each sampling step min_length: 64 # Int, minimum number of batches in replay buffer max_length: 512 # Int, maximum number of batches in replay buffer max_adjust_w_clip: 10 # Double, fraction of weights to clip per batch max_grad_norm: 1.e3 # Double, limit for gradient clipping weight_decay: 1.e-5 # Double, regularization parameter log_iter: 5000 # Int, number of iterations after which loss is saved checkpoint_iter: 25000 # Int, number of iterations after which checkpoint is saved eval_samples: 0 # Int, number of samples to draw when evaluating the model filter_chirality: train # Bool, flag whether to filter for chirality during evaluation seed: 0 # Int, seed to be used for the random number generator save_root: out/fab_buff123version https://git-lfs.github.com/spec/v1oid sha256:7b20e41af15d1a31db8eedaacca6772aa3596d1c9023542531e7aab253f71004size 32082631aldp/config.yamlAdded+73
aldp/model.ptAdded+3