AmelieSchreiber
commited on
Commit
•
9192893
1
Parent(s):
7c4d351
Upload 11 files
Browse files- adapter_config.json +27 -0
- adapter_model.bin +3 -0
- added_tokens.json +7 -0
- optimizer.pt +3 -0
- rng_state.pth +3 -0
- scheduler.pt +3 -0
- special_tokens_map.json +7 -0
- tokenizer_config.json +54 -0
- trainer_state.json +111 -0
- training_args.bin +3 -0
- vocab.txt +33 -0
adapter_config.json
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "facebook/esm2_t12_35M_UR50D",
|
5 |
+
"bias": "none",
|
6 |
+
"fan_in_fan_out": false,
|
7 |
+
"inference_mode": true,
|
8 |
+
"init_lora_weights": true,
|
9 |
+
"layers_pattern": null,
|
10 |
+
"layers_to_transform": null,
|
11 |
+
"lora_alpha": 1,
|
12 |
+
"lora_dropout": 0.5,
|
13 |
+
"modules_to_save": [
|
14 |
+
"classifier"
|
15 |
+
],
|
16 |
+
"peft_type": "LORA",
|
17 |
+
"r": 2,
|
18 |
+
"rank_pattern": {},
|
19 |
+
"revision": null,
|
20 |
+
"target_modules": [
|
21 |
+
"query",
|
22 |
+
"key",
|
23 |
+
"value",
|
24 |
+
"dense"
|
25 |
+
],
|
26 |
+
"task_type": "TOKEN_CLS"
|
27 |
+
}
|
adapter_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3443004d210eb51405bbe33e28d76e0f0cd4dbfb0570bfc8bb7b9d3d1accd650
|
3 |
+
size 886485
|
added_tokens.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"<cls>": 0,
|
3 |
+
"<eos>": 2,
|
4 |
+
"<mask>": 32,
|
5 |
+
"<pad>": 1,
|
6 |
+
"<unk>": 3
|
7 |
+
}
|
optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3191a14643f4c1f20c2733051bf8c079da618229cbee2bd036589a1cc9f15d8c
|
3 |
+
size 1752581
|
rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0969982f3227a89fceb325f701999a3a3f41dc79bf2fd2fabd29f3f343934f8a
|
3 |
+
size 14575
|
scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:37af20c4f63fb14548a3b1d1c99a67784ec43e8ece3c39ac068144a8a77a1705
|
3 |
+
size 627
|
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,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
"additional_special_tokens": [],
|
45 |
+
"clean_up_tokenization_spaces": true,
|
46 |
+
"cls_token": "<cls>",
|
47 |
+
"eos_token": "<eos>",
|
48 |
+
"mask_token": "<mask>",
|
49 |
+
"model_max_length": 1024,
|
50 |
+
"pad_token": "<pad>",
|
51 |
+
"tokenizer_class": "EsmTokenizer",
|
52 |
+
"tokenizer_file": null,
|
53 |
+
"unk_token": "<unk>"
|
54 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,111 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.3881937785695449,
|
3 |
+
"best_model_checkpoint": "esm2_t12_35M_qlora_binding_sites_2023-09-28_20-31-07/checkpoint-2620",
|
4 |
+
"epoch": 1.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 2620,
|
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.08,
|
13 |
+
"learning_rate": 0.0003700089891924202,
|
14 |
+
"loss": 0.3796,
|
15 |
+
"step": 200
|
16 |
+
},
|
17 |
+
{
|
18 |
+
"epoch": 0.15,
|
19 |
+
"learning_rate": 0.0003695657761444924,
|
20 |
+
"loss": 0.1708,
|
21 |
+
"step": 400
|
22 |
+
},
|
23 |
+
{
|
24 |
+
"epoch": 0.23,
|
25 |
+
"learning_rate": 0.00036882787439658813,
|
26 |
+
"loss": 0.1281,
|
27 |
+
"step": 600
|
28 |
+
},
|
29 |
+
{
|
30 |
+
"epoch": 0.31,
|
31 |
+
"learning_rate": 0.0003677964626272417,
|
32 |
+
"loss": 0.1085,
|
33 |
+
"step": 800
|
34 |
+
},
|
35 |
+
{
|
36 |
+
"epoch": 0.38,
|
37 |
+
"learning_rate": 0.00036647318834971053,
|
38 |
+
"loss": 0.0953,
|
39 |
+
"step": 1000
|
40 |
+
},
|
41 |
+
{
|
42 |
+
"epoch": 0.46,
|
43 |
+
"learning_rate": 0.00036486016528034,
|
44 |
+
"loss": 0.0868,
|
45 |
+
"step": 1200
|
46 |
+
},
|
47 |
+
{
|
48 |
+
"epoch": 0.53,
|
49 |
+
"learning_rate": 0.0003629599699622435,
|
50 |
+
"loss": 0.0815,
|
51 |
+
"step": 1400
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"epoch": 0.61,
|
55 |
+
"learning_rate": 0.00036077563764969246,
|
56 |
+
"loss": 0.0768,
|
57 |
+
"step": 1600
|
58 |
+
},
|
59 |
+
{
|
60 |
+
"epoch": 0.69,
|
61 |
+
"learning_rate": 0.0003583106574597891,
|
62 |
+
"loss": 0.0727,
|
63 |
+
"step": 1800
|
64 |
+
},
|
65 |
+
{
|
66 |
+
"epoch": 0.76,
|
67 |
+
"learning_rate": 0.0003555689667991667,
|
68 |
+
"loss": 0.0695,
|
69 |
+
"step": 2000
|
70 |
+
},
|
71 |
+
{
|
72 |
+
"epoch": 0.84,
|
73 |
+
"learning_rate": 0.00035255494507462076,
|
74 |
+
"loss": 0.0652,
|
75 |
+
"step": 2200
|
76 |
+
},
|
77 |
+
{
|
78 |
+
"epoch": 0.92,
|
79 |
+
"learning_rate": 0.0003492734066977151,
|
80 |
+
"loss": 0.0643,
|
81 |
+
"step": 2400
|
82 |
+
},
|
83 |
+
{
|
84 |
+
"epoch": 0.99,
|
85 |
+
"learning_rate": 0.00034572959339454007,
|
86 |
+
"loss": 0.0629,
|
87 |
+
"step": 2600
|
88 |
+
},
|
89 |
+
{
|
90 |
+
"epoch": 1.0,
|
91 |
+
"eval_accuracy": 0.9514288298771856,
|
92 |
+
"eval_auc": 0.8487674697088246,
|
93 |
+
"eval_f1": 0.3881937785695449,
|
94 |
+
"eval_loss": 0.47870784997940063,
|
95 |
+
"eval_mcc": 0.423561780831004,
|
96 |
+
"eval_precision": 0.26289979651663037,
|
97 |
+
"eval_recall": 0.7416551821788429,
|
98 |
+
"eval_runtime": 1915.3281,
|
99 |
+
"eval_samples_per_second": 115.187,
|
100 |
+
"eval_steps_per_second": 0.678,
|
101 |
+
"step": 2620
|
102 |
+
}
|
103 |
+
],
|
104 |
+
"logging_steps": 200,
|
105 |
+
"max_steps": 15720,
|
106 |
+
"num_train_epochs": 6,
|
107 |
+
"save_steps": 500,
|
108 |
+
"total_flos": 1.7917776880933446e+17,
|
109 |
+
"trial_name": null,
|
110 |
+
"trial_params": null
|
111 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:be290f0dae0a33ecb96528adfff1b49acd4fb2a9cf5617aa9dd2af990e4bb9d0
|
3 |
+
size 4155
|
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>
|