Spaces:
Sleeping
Sleeping
Simon Duerr
commited on
Commit
·
d31b149
1
Parent(s):
22e3abd
add checkpints
Browse files
checkpoints/allatom_pretrained.yml
ADDED
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
train:
|
2 |
+
home_dir: ''
|
3 |
+
seed: 0
|
4 |
+
checkpoint: ['', 0]
|
5 |
+
batch_size: 32
|
6 |
+
max_epochs: 10000
|
7 |
+
eval_freq: 7200 # seconds
|
8 |
+
checkpoint_freq: 50
|
9 |
+
checkpoints: []
|
10 |
+
lr: 0.0001
|
11 |
+
warmup_steps: 1000
|
12 |
+
decay_steps: 2_000_000
|
13 |
+
clip_grad_norm: True
|
14 |
+
grad_clip_val: 1.0
|
15 |
+
weight_decay: 0.0
|
16 |
+
n_eval_samples: 8
|
17 |
+
sample_length_range: [50, 512]
|
18 |
+
sc_num_seqs: 4
|
19 |
+
eval_loss_t: [0.1, 0.3, 0.5, 0.7, 0.9]
|
20 |
+
self_cond_train_prob: 0.9
|
21 |
+
subsample_eval_set: 0.05
|
22 |
+
crop_conditional: False
|
23 |
+
|
24 |
+
data:
|
25 |
+
pdb_path: 'datasets/ingraham_cath_dataset'
|
26 |
+
fixed_size: 512
|
27 |
+
n_aatype_tokens: 21
|
28 |
+
se3_data_augment: True
|
29 |
+
sigma_data: 10.0
|
30 |
+
|
31 |
+
diffusion:
|
32 |
+
training:
|
33 |
+
function: 'lognormal'
|
34 |
+
psigma_mean: -1.0
|
35 |
+
psigma_std: 1.5
|
36 |
+
sampling:
|
37 |
+
function: 'uniform'
|
38 |
+
s_min: 0.001
|
39 |
+
s_max: 80
|
40 |
+
|
41 |
+
model:
|
42 |
+
task: 'allatom' # 'backbone', 'allatom', 'seqdes', 'codesign'
|
43 |
+
pretrained_modules: [] # 'struct_model', 'mpnn_model'
|
44 |
+
struct_model_checkpoint: ''
|
45 |
+
mpnn_model_checkpoint: ''
|
46 |
+
crop_conditional: False
|
47 |
+
dummy_fill_masked_atoms: False
|
48 |
+
struct_model:
|
49 |
+
arch: 'uvit'
|
50 |
+
n_atoms: 37
|
51 |
+
n_channel: 256
|
52 |
+
noise_cond_mult: 4
|
53 |
+
uvit:
|
54 |
+
patch_size: 1
|
55 |
+
n_layers: 6
|
56 |
+
n_heads: 8
|
57 |
+
dim_head: 32
|
58 |
+
n_filt_per_layer: []
|
59 |
+
n_blocks_per_layer: 2
|
60 |
+
cat_pwd_to_conv: False
|
61 |
+
conv_skip_connection: False
|
62 |
+
position_embedding_type: 'rotary'
|
63 |
+
mpnn_model:
|
64 |
+
use_self_conditioning: True
|
65 |
+
label_smoothing: 0.1
|
66 |
+
n_channel: 128
|
67 |
+
n_layers: 3
|
68 |
+
n_neighbors: 32
|
69 |
+
noise_cond_mult: 4
|
checkpoints/backbone_pretrained.yml
ADDED
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
train:
|
2 |
+
home_dir: ''
|
3 |
+
seed: 0
|
4 |
+
checkpoint: ['', 0]
|
5 |
+
batch_size: 32
|
6 |
+
max_epochs: 10000
|
7 |
+
eval_freq: 7200 # seconds
|
8 |
+
checkpoint_freq: 50
|
9 |
+
checkpoints: []
|
10 |
+
lr: 0.0001
|
11 |
+
warmup_steps: 1000
|
12 |
+
decay_steps: 2_000_000
|
13 |
+
clip_grad_norm: True
|
14 |
+
grad_clip_val: 1.0
|
15 |
+
weight_decay: 0.0
|
16 |
+
n_eval_samples: 8
|
17 |
+
sample_length_range: [50, 512]
|
18 |
+
sc_num_seqs: 4
|
19 |
+
eval_loss_t: [0.1, 0.3, 0.5, 0.7, 0.9]
|
20 |
+
self_cond_train_prob: 0.9
|
21 |
+
subsample_eval_set: 0.05
|
22 |
+
crop_conditional: False
|
23 |
+
|
24 |
+
data:
|
25 |
+
pdb_path: 'datasets/ingraham_cath_dataset'
|
26 |
+
fixed_size: 384
|
27 |
+
n_aatype_tokens: 21
|
28 |
+
se3_data_augment: True
|
29 |
+
sigma_data: 10.0
|
30 |
+
|
31 |
+
diffusion:
|
32 |
+
training:
|
33 |
+
function: 'lognormal'
|
34 |
+
psigma_mean: -1.2
|
35 |
+
psigma_std: 1.2
|
36 |
+
sampling:
|
37 |
+
function: 'uniform'
|
38 |
+
s_min: 0.001
|
39 |
+
s_max: 80
|
40 |
+
|
41 |
+
model:
|
42 |
+
task: 'backbone' # 'backbone', 'allatom', 'seqdes', 'codesign'
|
43 |
+
pretrained_modules: [] # 'struct_model', 'mpnn_model'
|
44 |
+
struct_model_checkpoint: ''
|
45 |
+
mpnn_model_checkpoint: ''
|
46 |
+
crop_conditional: False
|
47 |
+
dummy_fill_masked_atoms: False
|
48 |
+
struct_model:
|
49 |
+
arch: 'uvit'
|
50 |
+
n_atoms: 37 # keep same shapes, just zero out sidechains
|
51 |
+
n_channel: 256
|
52 |
+
noise_cond_mult: 4
|
53 |
+
uvit:
|
54 |
+
patch_size: 1
|
55 |
+
n_layers: 6
|
56 |
+
n_heads: 8
|
57 |
+
dim_head: 32
|
58 |
+
n_filt_per_layer: []
|
59 |
+
n_blocks_per_layer: 2
|
60 |
+
cat_pwd_to_conv: False
|
61 |
+
conv_skip_connection: False
|
62 |
+
position_embedding_type: 'absolute_residx'
|
63 |
+
mpnn_model:
|
64 |
+
use_self_conditioning: True
|
65 |
+
label_smoothing: 0.1
|
66 |
+
n_channel: 128
|
67 |
+
n_layers: 3
|
68 |
+
n_neighbors: 32
|
69 |
+
noise_cond_mult: 4
|