config.py 1.03 KB
Newer Older
1
2
import ml_collections as mlc

Gustaf Ahdritz's avatar
Gustaf Ahdritz committed
3
4
consts = mlc.ConfigDict(
    {
Christina Floristean's avatar
Christina Floristean committed
5
        "model": "model_1_multimer_v3",  # monomer:model_1_ptm, multimer: model_1_multimer_v3
6
7
        "is_multimer": True,  # monomer: False, multimer: True
        "chunk_size": 4,
Gustaf Ahdritz's avatar
Gustaf Ahdritz committed
8
        "batch_size": 2,
9
        "n_res": 22,
Gustaf Ahdritz's avatar
Gustaf Ahdritz committed
10
11
12
        "n_seq": 13,
        "n_templ": 3,
        "n_extra": 17,
Gustaf Ahdritz's avatar
Gustaf Ahdritz committed
13
        "n_heads_extra_msa": 8,
Gustaf Ahdritz's avatar
Gustaf Ahdritz committed
14
15
16
17
18
19
20
21
        "eps": 5e-4,
        # For compatibility with DeepMind's pretrained weights, it's easiest for
        # everyone if these take their real values.
        "c_m": 256,
        "c_z": 128,
        "c_s": 384,
        "c_t": 64,
        "c_e": 64,
22
23
        "msa_logits": 22,  # monomer: 23, multimer: 22
        "template_mmcif_dir": None  # Set for test_multimer_datamodule
Gustaf Ahdritz's avatar
Gustaf Ahdritz committed
24
25
    }
)
Sachin Kadyan's avatar
Sachin Kadyan committed
26
27
28
29
30
31
32
33
34
35
36
37
38
39

config = mlc.ConfigDict(
    {
        "data": {
            "common": {
                "masked_msa": {
                    "profile_prob": 0.1,
                    "same_prob": 0.1,
                    "uniform_prob": 0.1,
                },
            }
        }
    }
)