AmelieSchreiber commited on
Commit
a17264a
1 Parent(s): d993853

Upload 11 files

Browse files
adapter_config.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": null,
14
+ "peft_type": "LORA",
15
+ "r": 2,
16
+ "rank_pattern": {},
17
+ "revision": null,
18
+ "target_modules": [
19
+ "query",
20
+ "key",
21
+ "value",
22
+ "EsmSelfOutput.dense",
23
+ "EsmIntermediate.dense",
24
+ "EsmOutput.dense",
25
+ "EsmContactPredictionHead.regression",
26
+ "classifier"
27
+ ],
28
+ "task_type": "TOKEN_CLS"
29
+ }
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c235fb9346636f37d8c19e324fa2b529176d36a6ff5174502c88a1561c5e6a9f
3
+ size 316315
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:b5aa2b398a4be37ced786504c18d8ec0cb59c0850bc911280cae3e090285f617
3
+ size 613061
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ce67784528ac7e58347bb8d23629b116d0ff23bac8b115f91f320db7044b5c80
3
+ size 14575
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0534d89b08eda6576e070ba72c3e1990acc80be84cb1aa614732f3f9d7c75b70
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.2905413020689372,
3
+ "best_model_checkpoint": "esm2_t12_35M_qlora_binding_sites_2023-09-29_21-23-10/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.00036486016528034,
14
+ "loss": 0.438,
15
+ "step": 200
16
+ },
17
+ {
18
+ "epoch": 0.15,
19
+ "learning_rate": 0.0003492734066977151,
20
+ "loss": 0.2546,
21
+ "step": 400
22
+ },
23
+ {
24
+ "epoch": 0.23,
25
+ "learning_rate": 0.00032428866475798075,
26
+ "loss": 0.2093,
27
+ "step": 600
28
+ },
29
+ {
30
+ "epoch": 0.31,
31
+ "learning_rate": 0.00029133598412353574,
32
+ "loss": 0.1859,
33
+ "step": 800
34
+ },
35
+ {
36
+ "epoch": 0.38,
37
+ "learning_rate": 0.0002523014681276343,
38
+ "loss": 0.1708,
39
+ "step": 1000
40
+ },
41
+ {
42
+ "epoch": 0.46,
43
+ "learning_rate": 0.00020941932440723778,
44
+ "loss": 0.163,
45
+ "step": 1200
46
+ },
47
+ {
48
+ "epoch": 0.53,
49
+ "learning_rate": 0.0001651439861875321,
50
+ "loss": 0.1569,
51
+ "step": 1400
52
+ },
53
+ {
54
+ "epoch": 0.61,
55
+ "learning_rate": 0.00012200962857625793,
56
+ "loss": 0.1523,
57
+ "step": 1600
58
+ },
59
+ {
60
+ "epoch": 0.69,
61
+ "learning_rate": 8.248512069428916e-05,
62
+ "loss": 0.1496,
63
+ "step": 1800
64
+ },
65
+ {
66
+ "epoch": 0.76,
67
+ "learning_rate": 4.883271570665299e-05,
68
+ "loss": 0.1472,
69
+ "step": 2000
70
+ },
71
+ {
72
+ "epoch": 0.84,
73
+ "learning_rate": 2.2978566873028572e-05,
74
+ "loss": 0.1447,
75
+ "step": 2200
76
+ },
77
+ {
78
+ "epoch": 0.92,
79
+ "learning_rate": 6.402480854199967e-06,
80
+ "loss": 0.1448,
81
+ "step": 2400
82
+ },
83
+ {
84
+ "epoch": 0.99,
85
+ "learning_rate": 5.321843352333027e-08,
86
+ "loss": 0.1456,
87
+ "step": 2600
88
+ },
89
+ {
90
+ "epoch": 1.0,
91
+ "eval_accuracy": 0.9158318765632355,
92
+ "eval_auc": 0.8735825732790565,
93
+ "eval_f1": 0.2905413020689372,
94
+ "eval_loss": 0.3306124210357666,
95
+ "eval_mcc": 0.3586807785767391,
96
+ "eval_precision": 0.17611340104588588,
97
+ "eval_recall": 0.829501533305547,
98
+ "eval_runtime": 1771.8069,
99
+ "eval_samples_per_second": 124.517,
100
+ "eval_steps_per_second": 0.733,
101
+ "step": 2620
102
+ }
103
+ ],
104
+ "logging_steps": 200,
105
+ "max_steps": 2620,
106
+ "num_train_epochs": 1,
107
+ "save_steps": 500,
108
+ "total_flos": 1.7844788489074154e+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:70916536159e8f49c14bfc361f276beb2fe22b94043a7c3dd180844e4002c97c
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>