Upload config.yaml with huggingface_hub
Browse files- config.yaml +22 -18
config.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
data:
|
2 |
name: PerturbationDataModule
|
3 |
kwargs:
|
4 |
-
toml_config_path: /large_storage/ctc/userspace/aadduri/datasets/
|
5 |
embed_key: X_hvg
|
6 |
output_space: gene
|
7 |
pert_rep: onehot
|
@@ -11,7 +11,7 @@ data:
|
|
11 |
n_basal_samples: 1
|
12 |
basal_mapping_strategy: random
|
13 |
should_yield_control_cells: true
|
14 |
-
batch_col:
|
15 |
pert_col: drugname_drugconc
|
16 |
cell_type_key: cell_name
|
17 |
control_pert: DMSO_TF
|
@@ -19,6 +19,7 @@ data:
|
|
19 |
perturbation_features_file: null
|
20 |
store_raw_basal: false
|
21 |
int_counts: false
|
|
|
22 |
output_dir: null
|
23 |
debug: true
|
24 |
model:
|
@@ -28,7 +29,7 @@ model:
|
|
28 |
kwargs:
|
29 |
cell_set_len: 256
|
30 |
blur: 0.05
|
31 |
-
hidden_dim:
|
32 |
loss: energy
|
33 |
confidence_head: false
|
34 |
n_encoder_layers: 4
|
@@ -40,21 +41,22 @@ model:
|
|
40 |
finetune_vci_decoder: false
|
41 |
residual_decoder: false
|
42 |
decoder_loss_weight: 1.0
|
43 |
-
batch_encoder:
|
44 |
nb_decoder: false
|
45 |
mask_attn: false
|
46 |
use_effect_gating_token: false
|
|
|
47 |
distributional_loss: energy
|
48 |
-
init_from:
|
49 |
transformer_backbone_key: llama
|
50 |
transformer_backbone_kwargs:
|
51 |
max_position_embeddings: 256
|
52 |
-
hidden_size:
|
53 |
-
intermediate_size:
|
54 |
-
num_hidden_layers:
|
55 |
num_attention_heads: 12
|
56 |
num_key_value_heads: 12
|
57 |
-
head_dim:
|
58 |
use_cache: false
|
59 |
attention_dropout: 0.0
|
60 |
hidden_dropout: 0.0
|
@@ -70,20 +72,22 @@ training:
|
|
70 |
weight_decay: 0.0005
|
71 |
batch_size: 64
|
72 |
lr: 0.0001
|
73 |
-
max_steps:
|
74 |
train_seed: 42
|
75 |
-
val_freq:
|
76 |
-
ckpt_every_n_steps:
|
77 |
gradient_clip_val: 10
|
78 |
loss_fn: mse
|
|
|
|
|
79 |
wandb:
|
80 |
-
entity:
|
81 |
-
project:
|
82 |
-
local_wandb_dir:
|
83 |
tags:
|
84 |
-
-
|
85 |
-
name:
|
86 |
-
output_dir: /large_storage/ctc/userspace/aadduri/preprint/
|
87 |
use_wandb: true
|
88 |
overwrite: false
|
89 |
return_adatas: false
|
|
|
1 |
data:
|
2 |
name: PerturbationDataModule
|
3 |
kwargs:
|
4 |
+
toml_config_path: /large_storage/ctc/userspace/aadduri/datasets/basak_tahoe/generalization.toml
|
5 |
embed_key: X_hvg
|
6 |
output_space: gene
|
7 |
pert_rep: onehot
|
|
|
11 |
n_basal_samples: 1
|
12 |
basal_mapping_strategy: random
|
13 |
should_yield_control_cells: true
|
14 |
+
batch_col: plate
|
15 |
pert_col: drugname_drugconc
|
16 |
cell_type_key: cell_name
|
17 |
control_pert: DMSO_TF
|
|
|
19 |
perturbation_features_file: null
|
20 |
store_raw_basal: false
|
21 |
int_counts: false
|
22 |
+
barcode: true
|
23 |
output_dir: null
|
24 |
debug: true
|
25 |
model:
|
|
|
29 |
kwargs:
|
30 |
cell_set_len: 256
|
31 |
blur: 0.05
|
32 |
+
hidden_dim: 1440
|
33 |
loss: energy
|
34 |
confidence_head: false
|
35 |
n_encoder_layers: 4
|
|
|
41 |
finetune_vci_decoder: false
|
42 |
residual_decoder: false
|
43 |
decoder_loss_weight: 1.0
|
44 |
+
batch_encoder: true
|
45 |
nb_decoder: false
|
46 |
mask_attn: false
|
47 |
use_effect_gating_token: false
|
48 |
+
use_basal_projection: false
|
49 |
distributional_loss: energy
|
50 |
+
init_from: null
|
51 |
transformer_backbone_key: llama
|
52 |
transformer_backbone_kwargs:
|
53 |
max_position_embeddings: 256
|
54 |
+
hidden_size: 1440
|
55 |
+
intermediate_size: 4416
|
56 |
+
num_hidden_layers: 4
|
57 |
num_attention_heads: 12
|
58 |
num_key_value_heads: 12
|
59 |
+
head_dim: 120
|
60 |
use_cache: false
|
61 |
attention_dropout: 0.0
|
62 |
hidden_dropout: 0.0
|
|
|
72 |
weight_decay: 0.0005
|
73 |
batch_size: 64
|
74 |
lr: 0.0001
|
75 |
+
max_steps: 400000
|
76 |
train_seed: 42
|
77 |
+
val_freq: 4000
|
78 |
+
ckpt_every_n_steps: 4000
|
79 |
gradient_clip_val: 10
|
80 |
loss_fn: mse
|
81 |
+
devices: 1
|
82 |
+
strategy: auto
|
83 |
wandb:
|
84 |
+
entity: your_entity_name
|
85 |
+
project: state
|
86 |
+
local_wandb_dir: ./wandb_logs
|
87 |
tags:
|
88 |
+
- basak_tahoe
|
89 |
+
name: cs256_batch_encoder
|
90 |
+
output_dir: /large_storage/ctc/userspace/aadduri/preprint/basak_tahoe
|
91 |
use_wandb: true
|
92 |
overwrite: false
|
93 |
return_adatas: false
|