config.py 742 Bytes
Newer Older
1
2
import ml_collections as mlc

Gustaf Ahdritz's avatar
Gustaf Ahdritz committed
3
4
5
6
7
8
9
consts = mlc.ConfigDict(
    {
        "batch_size": 2,
        "n_res": 11,
        "n_seq": 13,
        "n_templ": 3,
        "n_extra": 17,
Gustaf Ahdritz's avatar
Gustaf Ahdritz committed
10
        "n_heads_extra_msa": 8,
Gustaf Ahdritz's avatar
Gustaf Ahdritz committed
11
12
13
14
15
16
17
18
19
20
        "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,
    }
)
Sachin Kadyan's avatar
Sachin Kadyan committed
21
22
23
24
25
26
27
28
29
30
31
32
33
34

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