forked from PharMolix/OpenBioMed
-
Notifications
You must be signed in to change notification settings - Fork 0
/
momu-molt5.json
51 lines (51 loc) · 1.61 KB
/
momu-molt5.json
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
{
"model": "MoMu-T5",
"data": {
"mol": {
"modality": ["structure", "text"],
"featurizer": {
"structure": {
"name": "MultiScale",
"scales": ["SMILES", "graph"],
"SMILES": {
"name": "transformer",
"transformer_type": "t5",
"model_name_or_path": "./ckpts/text_ckpts/MolT5-base-smiles2caption",
"max_length": 512
},
"graph": {
"name": "ogb"
}
},
"text": {
"name": "TransformerTokenizer",
"transformer_type": "t5",
"max_length": 512,
"model_name_or_path": "./ckpts/text_ckpts/MolT5-base-smiles2caption"
}
}
}
},
"network": {
"graph": {
"name": "momu",
"gin_hidden_dim": 300,
"gin_num_layers": 5,
"drop_ratio": 0.0,
"graph_pooling": "sum",
"graph_self": false,
"max_n_nodes": -1,
"bert_dropout": 0.0,
"bert_hidden_dim": 768,
"output_dim": 300,
"projection_dim": 256,
"init_checkpoint": "./ckpts/fusion_ckpts/momu/MoMu-S.ckpt",
"param_key": "state_dict",
"stop_grad": false
},
"text": {
"model_name_or_path": "./ckpts/text_ckpts/MolT5-base-smiles2caption",
"stop_grad": true
}
}
}