Upload config.ini with huggingface_hub
Browse files- config.ini +60 -0
config.ini
ADDED
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
output_dir = /home/ljw/sdc1/CRISPR_results
|
2 |
+
seed = 63036
|
3 |
+
# device = cpu # cpu, cuda, if not specified, use cuda if available
|
4 |
+
log = WARNING
|
5 |
+
|
6 |
+
[dataset]
|
7 |
+
owner = ljw20180420
|
8 |
+
data_name = SX_spcas9 # SX_spcas9, SX_spymac, SX_ispymac
|
9 |
+
test_ratio = 0.05
|
10 |
+
validation_ratio = 0.05
|
11 |
+
|
12 |
+
[data loader]
|
13 |
+
batch_size = 100
|
14 |
+
|
15 |
+
[optimizer]
|
16 |
+
optimizer = adamw_torch # adamw_hf, adamw_torch, adamw_torch_fused, adamw_apex_fused, adamw_anyprecision, adafactor
|
17 |
+
learning_rate = 0.001
|
18 |
+
|
19 |
+
[scheduler]
|
20 |
+
scheduler = linear # linear, cosine, cosine_with_restarts, polynomial, constant, constant_with_warmup, inverse_sqrt, reduce_lr_on_plateau, cosine_with_min_lr, warmup_stable_decay
|
21 |
+
num_epochs = 30.0
|
22 |
+
warmup_ratio = 0.05
|
23 |
+
|
24 |
+
[CRISPR transformer]
|
25 |
+
hidden_size = 256 # model embedding dimension
|
26 |
+
num_hidden_layers = 3 # number of EncoderLayer
|
27 |
+
num_attention_heads = 4 # number of attention heads
|
28 |
+
intermediate_size = 1024 # FeedForward intermediate dimension size
|
29 |
+
hidden_dropout_prob = 0.1 # The dropout probability for all fully connected layers in the embeddings, encoder, and pooler
|
30 |
+
attention_probs_dropout_prob = 0.1 # The dropout ratio for the attention probabilities
|
31 |
+
|
32 |
+
[CRISPR diffuser]
|
33 |
+
max_micro_homology = 7
|
34 |
+
MCMC_corrector_factor = [0., 0., 1.]
|
35 |
+
unet_channels = [32, 64, 96, 64, 32]
|
36 |
+
noise_scheduler = exp # linear, cosine, exp, uniform
|
37 |
+
noise_timesteps = 20
|
38 |
+
cosine_factor = 0.008
|
39 |
+
exp_scale = 5.0
|
40 |
+
exp_base = 5.0
|
41 |
+
uniform_scale = 1.0
|
42 |
+
display_scale_factor = 0.1
|
43 |
+
|
44 |
+
[inDelphi]
|
45 |
+
DELLEN_LIMIT = 60
|
46 |
+
|
47 |
+
[Lindel]
|
48 |
+
Lindel_dlen = 30
|
49 |
+
Lindel_mh_len = 4
|
50 |
+
Lindel_reg_const = 0.01
|
51 |
+
Lindel_reg_mode = l2
|
52 |
+
|
53 |
+
[FOREcasT]
|
54 |
+
FOREcasT_MAX_DEL_SIZE = 30
|
55 |
+
FOREcasT_reg_const = 0.01
|
56 |
+
FOREcasT_i1_reg_const =0.01
|
57 |
+
|
58 |
+
[inference]
|
59 |
+
ref1len = 127
|
60 |
+
ref2len = 127
|