jjoecclark
commited on
Commit
•
8a1c5bd
1
Parent(s):
93b395b
Upload 9 files
Browse files- config.json +30 -0
- optimizer.pt +3 -0
- rng_state.pth +3 -0
- scheduler.pt +3 -0
- special_tokens_map.json +7 -0
- tokenizer_config.json +52 -0
- trainer_state.json +177 -0
- training_args.bin +3 -0
- vocab.txt +33 -0
config.json
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "facebook/esm2_t33_650M_UR50D",
|
3 |
+
"architectures": [
|
4 |
+
"EsmForMaskedLM"
|
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": 1280,
|
13 |
+
"initializer_range": 0.02,
|
14 |
+
"intermediate_size": 5120,
|
15 |
+
"is_folding_model": false,
|
16 |
+
"layer_norm_eps": 1e-05,
|
17 |
+
"mask_token_id": 32,
|
18 |
+
"max_position_embeddings": 1026,
|
19 |
+
"model_type": "esm",
|
20 |
+
"num_attention_heads": 20,
|
21 |
+
"num_hidden_layers": 33,
|
22 |
+
"pad_token_id": 1,
|
23 |
+
"position_embedding_type": "rotary",
|
24 |
+
"token_dropout": true,
|
25 |
+
"torch_dtype": "float32",
|
26 |
+
"transformers_version": "4.39.0",
|
27 |
+
"use_cache": true,
|
28 |
+
"vocab_list": null,
|
29 |
+
"vocab_size": 33
|
30 |
+
}
|
optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6fd1d2ef217fa82a07e3db97bdce0ce1a0b784577999aa801a25065811895e18
|
3 |
+
size 1834934664
|
rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:19d0d0eb3112415d1f55c136c4aaf005aa16bfd5e94eb04d630e1c62f385e514
|
3 |
+
size 14244
|
scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8e184f157e22f6479048877ea17fa5926e29485b4563f09d22b3ff1eb3053588
|
3 |
+
size 1064
|
special_tokens_map.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.json
ADDED
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"0": {
|
4 |
+
"content": "<cls>",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false,
|
9 |
+
"special": true
|
10 |
+
},
|
11 |
+
"1": {
|
12 |
+
"content": "<pad>",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
},
|
19 |
+
"2": {
|
20 |
+
"content": "<eos>",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
},
|
27 |
+
"3": {
|
28 |
+
"content": "<unk>",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": false,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false,
|
33 |
+
"special": true
|
34 |
+
},
|
35 |
+
"32": {
|
36 |
+
"content": "<mask>",
|
37 |
+
"lstrip": false,
|
38 |
+
"normalized": false,
|
39 |
+
"rstrip": false,
|
40 |
+
"single_word": false,
|
41 |
+
"special": true
|
42 |
+
}
|
43 |
+
},
|
44 |
+
"clean_up_tokenization_spaces": true,
|
45 |
+
"cls_token": "<cls>",
|
46 |
+
"eos_token": "<eos>",
|
47 |
+
"mask_token": "<mask>",
|
48 |
+
"model_max_length": 1000000000000000019884624838656,
|
49 |
+
"pad_token": "<pad>",
|
50 |
+
"tokenizer_class": "EsmTokenizer",
|
51 |
+
"unk_token": "<unk>"
|
52 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,177 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 2.4635186195373535,
|
3 |
+
"best_model_checkpoint": "./drive/MyDrive/peptide_esm/checkpoint-10488",
|
4 |
+
"epoch": 2.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 10488,
|
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.1,
|
13 |
+
"grad_norm": 0.7004187107086182,
|
14 |
+
"learning_rate": 7.5e-07,
|
15 |
+
"loss": 2.5303,
|
16 |
+
"step": 500
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 0.19,
|
20 |
+
"grad_norm": 0.7539237141609192,
|
21 |
+
"learning_rate": 1.5e-06,
|
22 |
+
"loss": 2.5119,
|
23 |
+
"step": 1000
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"epoch": 0.29,
|
27 |
+
"grad_norm": 0.9745526313781738,
|
28 |
+
"learning_rate": 2.25e-06,
|
29 |
+
"loss": 2.4899,
|
30 |
+
"step": 1500
|
31 |
+
},
|
32 |
+
{
|
33 |
+
"epoch": 0.38,
|
34 |
+
"grad_norm": 0.6661661863327026,
|
35 |
+
"learning_rate": 3e-06,
|
36 |
+
"loss": 2.4903,
|
37 |
+
"step": 2000
|
38 |
+
},
|
39 |
+
{
|
40 |
+
"epoch": 0.48,
|
41 |
+
"grad_norm": 0.7792529463768005,
|
42 |
+
"learning_rate": 2.9380677126341868e-06,
|
43 |
+
"loss": 2.4831,
|
44 |
+
"step": 2500
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"epoch": 0.57,
|
48 |
+
"grad_norm": 2.211763381958008,
|
49 |
+
"learning_rate": 2.8762592898431047e-06,
|
50 |
+
"loss": 2.4785,
|
51 |
+
"step": 3000
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"epoch": 0.67,
|
55 |
+
"grad_norm": 0.7369110584259033,
|
56 |
+
"learning_rate": 2.814450867052023e-06,
|
57 |
+
"loss": 2.4763,
|
58 |
+
"step": 3500
|
59 |
+
},
|
60 |
+
{
|
61 |
+
"epoch": 0.76,
|
62 |
+
"grad_norm": 0.8026860952377319,
|
63 |
+
"learning_rate": 2.75251857968621e-06,
|
64 |
+
"loss": 2.4702,
|
65 |
+
"step": 4000
|
66 |
+
},
|
67 |
+
{
|
68 |
+
"epoch": 0.86,
|
69 |
+
"grad_norm": 0.5967105627059937,
|
70 |
+
"learning_rate": 2.6905862923203965e-06,
|
71 |
+
"loss": 2.4703,
|
72 |
+
"step": 4500
|
73 |
+
},
|
74 |
+
{
|
75 |
+
"epoch": 0.95,
|
76 |
+
"grad_norm": 0.68107670545578,
|
77 |
+
"learning_rate": 2.6286540049545828e-06,
|
78 |
+
"loss": 2.4699,
|
79 |
+
"step": 5000
|
80 |
+
},
|
81 |
+
{
|
82 |
+
"epoch": 1.0,
|
83 |
+
"eval_loss": 2.46760630607605,
|
84 |
+
"eval_runtime": 181.2222,
|
85 |
+
"eval_samples_per_second": 823.095,
|
86 |
+
"eval_steps_per_second": 6.434,
|
87 |
+
"step": 5244
|
88 |
+
},
|
89 |
+
{
|
90 |
+
"epoch": 1.05,
|
91 |
+
"grad_norm": 1.064468502998352,
|
92 |
+
"learning_rate": 2.56672171758877e-06,
|
93 |
+
"loss": 2.4671,
|
94 |
+
"step": 5500
|
95 |
+
},
|
96 |
+
{
|
97 |
+
"epoch": 1.14,
|
98 |
+
"grad_norm": 1.5440330505371094,
|
99 |
+
"learning_rate": 2.5047894302229566e-06,
|
100 |
+
"loss": 2.4663,
|
101 |
+
"step": 6000
|
102 |
+
},
|
103 |
+
{
|
104 |
+
"epoch": 1.24,
|
105 |
+
"grad_norm": 0.913020133972168,
|
106 |
+
"learning_rate": 2.442857142857143e-06,
|
107 |
+
"loss": 2.4654,
|
108 |
+
"step": 6500
|
109 |
+
},
|
110 |
+
{
|
111 |
+
"epoch": 1.33,
|
112 |
+
"grad_norm": 0.8316154479980469,
|
113 |
+
"learning_rate": 2.3810487200660612e-06,
|
114 |
+
"loss": 2.4694,
|
115 |
+
"step": 7000
|
116 |
+
},
|
117 |
+
{
|
118 |
+
"epoch": 1.43,
|
119 |
+
"grad_norm": 0.6185809969902039,
|
120 |
+
"learning_rate": 2.3191164327002475e-06,
|
121 |
+
"loss": 2.4668,
|
122 |
+
"step": 7500
|
123 |
+
},
|
124 |
+
{
|
125 |
+
"epoch": 1.53,
|
126 |
+
"grad_norm": 1.1215540170669556,
|
127 |
+
"learning_rate": 2.2571841453344346e-06,
|
128 |
+
"loss": 2.4668,
|
129 |
+
"step": 8000
|
130 |
+
},
|
131 |
+
{
|
132 |
+
"epoch": 1.62,
|
133 |
+
"grad_norm": 0.6679463982582092,
|
134 |
+
"learning_rate": 2.195251857968621e-06,
|
135 |
+
"loss": 2.4681,
|
136 |
+
"step": 8500
|
137 |
+
},
|
138 |
+
{
|
139 |
+
"epoch": 1.72,
|
140 |
+
"grad_norm": 1.1260002851486206,
|
141 |
+
"learning_rate": 2.1333195706028075e-06,
|
142 |
+
"loss": 2.4639,
|
143 |
+
"step": 9000
|
144 |
+
},
|
145 |
+
{
|
146 |
+
"epoch": 1.81,
|
147 |
+
"grad_norm": 0.6827268004417419,
|
148 |
+
"learning_rate": 2.0713872832369942e-06,
|
149 |
+
"loss": 2.4631,
|
150 |
+
"step": 9500
|
151 |
+
},
|
152 |
+
{
|
153 |
+
"epoch": 1.91,
|
154 |
+
"grad_norm": 0.7196531891822815,
|
155 |
+
"learning_rate": 2.0095788604459126e-06,
|
156 |
+
"loss": 2.4644,
|
157 |
+
"step": 10000
|
158 |
+
},
|
159 |
+
{
|
160 |
+
"epoch": 2.0,
|
161 |
+
"eval_loss": 2.4635186195373535,
|
162 |
+
"eval_runtime": 180.8599,
|
163 |
+
"eval_samples_per_second": 824.744,
|
164 |
+
"eval_steps_per_second": 6.447,
|
165 |
+
"step": 10488
|
166 |
+
}
|
167 |
+
],
|
168 |
+
"logging_steps": 500,
|
169 |
+
"max_steps": 26220,
|
170 |
+
"num_input_tokens_seen": 0,
|
171 |
+
"num_train_epochs": 5,
|
172 |
+
"save_steps": 500,
|
173 |
+
"total_flos": 4.1949317916310464e+17,
|
174 |
+
"train_batch_size": 256,
|
175 |
+
"trial_name": null,
|
176 |
+
"trial_params": null
|
177 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dc1c0536500fd9d153f555faa6cb9dbd16540479fd88186629ba28b03478d181
|
3 |
+
size 4984
|
vocab.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>
|