This repository has been archived by the owner on Sep 17, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.yaml
194 lines (194 loc) · 4.59 KB
/
config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
# lightning.pytorch==2.0.9.post0
seed_everything: 42
trainer:
accelerator: auto
strategy: auto
devices: auto
num_nodes: 1
precision: 16
logger: false
callbacks:
- class_path: scprint.trainer.TrainingMode
init_args:
do_denoise: true
noise:
- 0.3
do_cce: true
cce_sim: 0.5
do_ecs: true
ecs_threshold: 0.3
ecs_scale: 1.0
do_mvc: false
do_adv_cls: false
do_next_tp: false
class_scale: 1.0
mask_ratio:
- 0.15
- 0.3
log_grad: false
- class_path: lightning.pytorch.callbacks.StochasticWeightAveraging
init_args:
swa_lrs: 0.01
swa_epoch_start: 0.8
annealing_epochs: 10
annealing_strategy: cos
avg_fn: null
device: cpu
- class_path: lightning.pytorch.callbacks.ModelCheckpoint
init_args:
dirpath: null
filename: null
monitor: val_loss
verbose: false
save_last: null
save_top_k: -1
save_weights_only: false
mode: min
auto_insert_metric_name: true
every_n_train_steps: null
train_time_interval: null
every_n_epochs: null
save_on_train_epoch_end: null
- class_path: lightning.pytorch.callbacks.EarlyStopping
init_args:
monitor: val_loss
min_delta: 0.0
patience: 10
verbose: false
mode: min
strict: true
check_finite: true
stopping_threshold: null
divergence_threshold: null
check_on_train_epoch_end: null
log_rank_zero_only: false
- class_path: lightning.pytorch.callbacks.LearningRateMonitor
init_args:
logging_interval: step
log_momentum: false
fast_dev_run: false
max_epochs: null
min_epochs: null
max_steps: -1
min_steps: null
max_time: '{''hours'': 12}'
limit_train_batches: null
limit_val_batches: null
limit_test_batches: null
limit_predict_batches: null
overfit_batches: 0.0
val_check_interval: null
check_val_every_n_epoch: 1
num_sanity_val_steps: null
log_every_n_steps: null
enable_checkpointing: null
enable_progress_bar: null
enable_model_summary: null
accumulate_grad_batches: 1
gradient_clip_val: 10
gradient_clip_algorithm: null
deterministic: null
benchmark: null
inference_mode: true
use_distributed_sampler: true
profiler: simple
detect_anomaly: false
barebones: false
plugins: null
sync_batchnorm: false
reload_dataloaders_every_n_epochs: 0
default_root_dir: null
model:
d_model: 128
nhead: 4
d_hid: 128
edge_dim: 12
nlayers: 4
layers_cls: []
dropout: 0.2
transformer: flash
expr_emb_style: continuous
domain_spec_batchnorm: None
n_input_bins: 0
mvc_decoder: inner product
pred_embedding:
- cell_type_ontology_term_id
- disease_ontology_term_id
- self_reported_ethnicity_ontology_term_id
- sex_ontology_term_id
cell_emb_style: cls
lr: 0.001
residual_in_fp32: true
num_heads_kv: null
checkpointing: false
fused_dropout_add_ln: false
return_residual: false
prenorm: true
mlp_ratio: 4.0
fused_mlp: false
fused_bias_fc: false
sequence_parallel: false
drop_path_rate: 0.02
weight_init: ''
data:
mdataset: null
collection_name: preprocessed dataset
organisms:
- NCBITaxon:9606
weight_scaler: 30
label_to_weight:
- cell_type_ontology_term_id
- disease_ontology_term_id
- assay_ontology_term_id
- self_reported_ethnicity_ontology_term_id
- sex_ontology_term_id
- organism_ontology_term_id
label_to_pred:
- cell_type_ontology_term_id
- disease_ontology_term_id
- assay_ontology_term_id
- self_reported_ethnicity_ontology_term_id
- sex_ontology_term_id
- organism_ontology_term_id
validation_split: 0.2
test_split: 0.0
use_default_col: true
all_clss:
- cell_type_ontology_term_id
- disease_ontology_term_id
- assay_ontology_term_id
- self_reported_ethnicity_ontology_term_id
- sex_ontology_term_id
- organism_ontology_term_id
- heat_diff
- total_counts
- nnz
- dpt_group
hierarchical_labels:
- cell_type_ontology_term_id
- disease_ontology_term_id
- assay_ontology_term_id
- self_reported_ethnicity_ontology_term_id
how: most expr
organism_name: organism_ontology_term_id
max_len: 1000
add_zero_genes: 100
do_gene_pos: true
gene_embeddings: ./data/temp/embeddings.parquet
gene_position_tolerance: 10000
batch_size: 64
shuffle: null
batch_sampler: null
num_workers: 8
pin_memory: false
drop_last: false
timeout: 0.0
worker_init_fn: null
multiprocessing_context: null
generator: null
prefetch_factor: null
persistent_workers: false
pin_memory_device: ''
set_float32_matmul_precision: true
project: scprint_test
ckpt_path: null