AmelieSchreiber commited on
Commit
cd23291
1 Parent(s): 2771929

Upload 10 files

Browse files
config (4).json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "facebook/esm2_t6_8M_UR50D",
3
+ "architectures": [
4
+ "EsmForTokenClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.0,
7
+ "classifier_dropout": null,
8
+ "emb_layer_norm_before": false,
9
+ "esmfold_config": null,
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.0,
12
+ "hidden_size": 320,
13
+ "id2label": {
14
+ "0": "No binding site",
15
+ "1": "Binding site"
16
+ },
17
+ "initializer_range": 0.02,
18
+ "intermediate_size": 1280,
19
+ "is_folding_model": false,
20
+ "label2id": {
21
+ "Binding site": 1,
22
+ "No binding site": 0
23
+ },
24
+ "layer_norm_eps": 1e-05,
25
+ "mask_token_id": 32,
26
+ "max_position_embeddings": 1026,
27
+ "model_type": "esm",
28
+ "num_attention_heads": 20,
29
+ "num_hidden_layers": 6,
30
+ "pad_token_id": 1,
31
+ "position_embedding_type": "rotary",
32
+ "token_dropout": true,
33
+ "torch_dtype": "float32",
34
+ "transformers_version": "4.32.1",
35
+ "use_cache": true,
36
+ "vocab_list": null,
37
+ "vocab_size": 33
38
+ }
optimizer (1).pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3b34d5c14b8b9e0c44a70543648cef9c2279dc4d85eb827f432d35cc23fb8e39
3
+ size 59361093
pytorch_model (4).bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b7944bc33345415563a31f35e178995dc8b163666fcded55a40bc9ff6d700207
3
+ size 30989061
rng_state (1).pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6dd3a816ab8628e6038ecf426e93a907752049203fbc39b63fcde557182a866f
3
+ size 14575
scheduler (1).pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4c56a676b3310ec3b78a9c35fcaafcfc3d048b83ea63ec181a1884bce185f9ce
3
+ size 627
special_tokens_map (4).json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": "<cls>",
3
+ "eos_token": "<eos>",
4
+ "mask_token": "<mask>",
5
+ "pad_token": "<pad>",
6
+ "unk_token": "<unk>"
7
+ }
tokenizer_config (4).json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "clean_up_tokenization_spaces": true,
3
+ "model_max_length": 1024,
4
+ "tokenizer_class": "EsmTokenizer"
5
+ }
trainer_state (1).json ADDED
@@ -0,0 +1,217 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.8017432615481261,
3
+ "best_model_checkpoint": "esm2_t6_8M_general_binding_sites_2023-09-06_06-37-44/checkpoint-5598",
4
+ "epoch": 3.0,
5
+ "eval_steps": 500,
6
+ "global_step": 5598,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 0.11,
13
+ "learning_rate": 0.0004961698532325722,
14
+ "loss": 0.4517,
15
+ "step": 200
16
+ },
17
+ {
18
+ "epoch": 0.21,
19
+ "learning_rate": 0.0004915229079544901,
20
+ "loss": 0.3739,
21
+ "step": 400
22
+ },
23
+ {
24
+ "epoch": 0.32,
25
+ "learning_rate": 0.000483822060129619,
26
+ "loss": 0.2989,
27
+ "step": 600
28
+ },
29
+ {
30
+ "epoch": 0.43,
31
+ "learning_rate": 0.000473164221525201,
32
+ "loss": 0.2545,
33
+ "step": 800
34
+ },
35
+ {
36
+ "epoch": 0.54,
37
+ "learning_rate": 0.00045968351633088675,
38
+ "loss": 0.2303,
39
+ "step": 1000
40
+ },
41
+ {
42
+ "epoch": 0.64,
43
+ "learning_rate": 0.000443549593265072,
44
+ "loss": 0.1825,
45
+ "step": 1200
46
+ },
47
+ {
48
+ "epoch": 0.75,
49
+ "learning_rate": 0.00042496549062073606,
50
+ "loss": 0.19,
51
+ "step": 1400
52
+ },
53
+ {
54
+ "epoch": 0.86,
55
+ "learning_rate": 0.0004041650811182374,
56
+ "loss": 0.1797,
57
+ "step": 1600
58
+ },
59
+ {
60
+ "epoch": 0.96,
61
+ "learning_rate": 0.00038141012872046516,
62
+ "loss": 0.155,
63
+ "step": 1800
64
+ },
65
+ {
66
+ "epoch": 1.0,
67
+ "eval_auc": 0.9497250592971407,
68
+ "eval_f1": 0.6353034457695992,
69
+ "eval_loss": 0.15242049098014832,
70
+ "eval_precision": 0.48784819118169365,
71
+ "eval_recall": 0.9105113636363636,
72
+ "eval_runtime": 96.7551,
73
+ "eval_samples_per_second": 27.223,
74
+ "eval_steps_per_second": 3.411,
75
+ "step": 1866
76
+ },
77
+ {
78
+ "epoch": 1.07,
79
+ "learning_rate": 0.0003569869944490272,
80
+ "loss": 0.1261,
81
+ "step": 2000
82
+ },
83
+ {
84
+ "epoch": 1.18,
85
+ "learning_rate": 0.000331203032657322,
86
+ "loss": 0.0908,
87
+ "step": 2200
88
+ },
89
+ {
90
+ "epoch": 1.29,
91
+ "learning_rate": 0.00030438272311180667,
92
+ "loss": 0.0957,
93
+ "step": 2400
94
+ },
95
+ {
96
+ "epoch": 1.39,
97
+ "learning_rate": 0.0002770023512698231,
98
+ "loss": 0.1168,
99
+ "step": 2600
100
+ },
101
+ {
102
+ "epoch": 1.5,
103
+ "learning_rate": 0.0002491315977879658,
104
+ "loss": 0.0938,
105
+ "step": 2800
106
+ },
107
+ {
108
+ "epoch": 1.61,
109
+ "learning_rate": 0.00022125732929671252,
110
+ "loss": 0.0966,
111
+ "step": 3000
112
+ },
113
+ {
114
+ "epoch": 1.71,
115
+ "learning_rate": 0.00019373033114872802,
116
+ "loss": 0.0759,
117
+ "step": 3200
118
+ },
119
+ {
120
+ "epoch": 1.82,
121
+ "learning_rate": 0.00016689701845284922,
122
+ "loss": 0.0714,
123
+ "step": 3400
124
+ },
125
+ {
126
+ "epoch": 1.93,
127
+ "learning_rate": 0.00014109507659300455,
128
+ "loss": 0.0729,
129
+ "step": 3600
130
+ },
131
+ {
132
+ "epoch": 2.0,
133
+ "eval_auc": 0.976594527628606,
134
+ "eval_f1": 0.6780304923769057,
135
+ "eval_loss": 0.07192622125148773,
136
+ "eval_precision": 0.5231006556112611,
137
+ "eval_recall": 0.9633522727272728,
138
+ "eval_runtime": 96.8327,
139
+ "eval_samples_per_second": 27.202,
140
+ "eval_steps_per_second": 3.408,
141
+ "step": 3732
142
+ },
143
+ {
144
+ "epoch": 2.04,
145
+ "learning_rate": 0.0001166492116068638,
146
+ "loss": 0.0787,
147
+ "step": 3800
148
+ },
149
+ {
150
+ "epoch": 2.14,
151
+ "learning_rate": 9.38670639038266e-05,
152
+ "loss": 0.0334,
153
+ "step": 4000
154
+ },
155
+ {
156
+ "epoch": 2.25,
157
+ "learning_rate": 7.303533674640114e-05,
158
+ "loss": 0.0534,
159
+ "step": 4200
160
+ },
161
+ {
162
+ "epoch": 2.36,
163
+ "learning_rate": 5.4416188216326214e-05,
164
+ "loss": 0.0393,
165
+ "step": 4400
166
+ },
167
+ {
168
+ "epoch": 2.47,
169
+ "learning_rate": 3.824393207094711e-05,
170
+ "loss": 0.0268,
171
+ "step": 4600
172
+ },
173
+ {
174
+ "epoch": 2.57,
175
+ "learning_rate": 2.472208900811192e-05,
176
+ "loss": 0.0359,
177
+ "step": 4800
178
+ },
179
+ {
180
+ "epoch": 2.68,
181
+ "learning_rate": 1.4020825448114917e-05,
182
+ "loss": 0.0257,
183
+ "step": 5000
184
+ },
185
+ {
186
+ "epoch": 2.79,
187
+ "learning_rate": 6.306013894033772e-06,
188
+ "loss": 0.0418,
189
+ "step": 5200
190
+ },
191
+ {
192
+ "epoch": 2.89,
193
+ "learning_rate": 1.5972878679293278e-06,
194
+ "loss": 0.0311,
195
+ "step": 5400
196
+ },
197
+ {
198
+ "epoch": 3.0,
199
+ "eval_auc": 0.9808531184209585,
200
+ "eval_f1": 0.8017432615481261,
201
+ "eval_loss": 0.07471965998411179,
202
+ "eval_precision": 0.6847982829739427,
203
+ "eval_recall": 0.9668560606060606,
204
+ "eval_runtime": 96.7245,
205
+ "eval_samples_per_second": 27.232,
206
+ "eval_steps_per_second": 3.412,
207
+ "step": 5598
208
+ }
209
+ ],
210
+ "logging_steps": 200,
211
+ "max_steps": 5598,
212
+ "num_train_epochs": 3,
213
+ "save_steps": 500,
214
+ "total_flos": 1987518770082000.0,
215
+ "trial_name": null,
216
+ "trial_params": null
217
+ }
training_args (1).bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f758c188f407bc9976cd7126c5273ffac990cc61c17b8732e977a78ed6aa975b
3
+ size 4091
vocab (4).txt ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <cls>
2
+ <pad>
3
+ <eos>
4
+ <unk>
5
+ L
6
+ A
7
+ G
8
+ V
9
+ S
10
+ E
11
+ R
12
+ T
13
+ I
14
+ D
15
+ P
16
+ K
17
+ Q
18
+ N
19
+ F
20
+ Y
21
+ M
22
+ H
23
+ W
24
+ C
25
+ X
26
+ B
27
+ U
28
+ Z
29
+ O
30
+ .
31
+ -
32
+ <null_1>
33
+ <mask>