keanhean commited on
Commit
c323c28
1 Parent(s): da0a10f

pfam_11k_seq

Browse files
README.md ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ base_model: facebook/esm2_t30_150M_UR50D
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ model-index:
9
+ - name: esm2_t30_150M_UR50D-11k-PANTHER-classification
10
+ results: []
11
+ ---
12
+
13
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
14
+ should probably proofread and complete it, then remove this comment. -->
15
+
16
+ # esm2_t30_150M_UR50D-11k-PANTHER-classification
17
+
18
+ This model is a fine-tuned version of [facebook/esm2_t30_150M_UR50D](https://huggingface.co/facebook/esm2_t30_150M_UR50D) on the None dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 3.3041
21
+ - Accuracy: 0.4290
22
+
23
+ ## Model description
24
+
25
+ More information needed
26
+
27
+ ## Intended uses & limitations
28
+
29
+ More information needed
30
+
31
+ ## Training and evaluation data
32
+
33
+ More information needed
34
+
35
+ ## Training procedure
36
+
37
+ ### Training hyperparameters
38
+
39
+ The following hyperparameters were used during training:
40
+ - learning_rate: 2e-05
41
+ - train_batch_size: 8
42
+ - eval_batch_size: 8
43
+ - seed: 42
44
+ - gradient_accumulation_steps: 16
45
+ - total_train_batch_size: 128
46
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
47
+ - lr_scheduler_type: linear
48
+ - num_epochs: 3
49
+
50
+ ### Training results
51
+
52
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
53
+ |:-------------:|:------:|:----:|:---------------:|:--------:|
54
+ | No log | 0.9944 | 67 | 3.6678 | 0.2561 |
55
+ | No log | 1.9889 | 134 | 3.3917 | 0.3890 |
56
+ | No log | 2.9833 | 201 | 3.3041 | 0.4290 |
57
+
58
+
59
+ ### Framework versions
60
+
61
+ - Transformers 4.40.2
62
+ - Pytorch 2.3.0+cu121
63
+ - Datasets 2.19.1
64
+ - Tokenizers 0.19.1
config.json ADDED
@@ -0,0 +1,155 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "facebook/esm2_t30_150M_UR50D",
3
+ "architectures": [
4
+ "EsmForSequenceClassification"
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": 640,
13
+ "id2label": {
14
+ "0": "LABEL_0",
15
+ "1": "LABEL_1",
16
+ "2": "LABEL_2",
17
+ "3": "LABEL_3",
18
+ "4": "LABEL_4",
19
+ "5": "LABEL_5",
20
+ "6": "LABEL_6",
21
+ "7": "LABEL_7",
22
+ "8": "LABEL_8",
23
+ "9": "LABEL_9",
24
+ "10": "LABEL_10",
25
+ "11": "LABEL_11",
26
+ "12": "LABEL_12",
27
+ "13": "LABEL_13",
28
+ "14": "LABEL_14",
29
+ "15": "LABEL_15",
30
+ "16": "LABEL_16",
31
+ "17": "LABEL_17",
32
+ "18": "LABEL_18",
33
+ "19": "LABEL_19",
34
+ "20": "LABEL_20",
35
+ "21": "LABEL_21",
36
+ "22": "LABEL_22",
37
+ "23": "LABEL_23",
38
+ "24": "LABEL_24",
39
+ "25": "LABEL_25",
40
+ "26": "LABEL_26",
41
+ "27": "LABEL_27",
42
+ "28": "LABEL_28",
43
+ "29": "LABEL_29",
44
+ "30": "LABEL_30",
45
+ "31": "LABEL_31",
46
+ "32": "LABEL_32",
47
+ "33": "LABEL_33",
48
+ "34": "LABEL_34",
49
+ "35": "LABEL_35",
50
+ "36": "LABEL_36",
51
+ "37": "LABEL_37",
52
+ "38": "LABEL_38",
53
+ "39": "LABEL_39",
54
+ "40": "LABEL_40",
55
+ "41": "LABEL_41",
56
+ "42": "LABEL_42",
57
+ "43": "LABEL_43",
58
+ "44": "LABEL_44",
59
+ "45": "LABEL_45",
60
+ "46": "LABEL_46",
61
+ "47": "LABEL_47",
62
+ "48": "LABEL_48",
63
+ "49": "LABEL_49",
64
+ "50": "LABEL_50",
65
+ "51": "LABEL_51",
66
+ "52": "LABEL_52",
67
+ "53": "LABEL_53",
68
+ "54": "LABEL_54",
69
+ "55": "LABEL_55",
70
+ "56": "LABEL_56",
71
+ "57": "LABEL_57",
72
+ "58": "LABEL_58",
73
+ "59": "LABEL_59"
74
+ },
75
+ "initializer_range": 0.02,
76
+ "intermediate_size": 2560,
77
+ "is_folding_model": false,
78
+ "label2id": {
79
+ "LABEL_0": 0,
80
+ "LABEL_1": 1,
81
+ "LABEL_10": 10,
82
+ "LABEL_11": 11,
83
+ "LABEL_12": 12,
84
+ "LABEL_13": 13,
85
+ "LABEL_14": 14,
86
+ "LABEL_15": 15,
87
+ "LABEL_16": 16,
88
+ "LABEL_17": 17,
89
+ "LABEL_18": 18,
90
+ "LABEL_19": 19,
91
+ "LABEL_2": 2,
92
+ "LABEL_20": 20,
93
+ "LABEL_21": 21,
94
+ "LABEL_22": 22,
95
+ "LABEL_23": 23,
96
+ "LABEL_24": 24,
97
+ "LABEL_25": 25,
98
+ "LABEL_26": 26,
99
+ "LABEL_27": 27,
100
+ "LABEL_28": 28,
101
+ "LABEL_29": 29,
102
+ "LABEL_3": 3,
103
+ "LABEL_30": 30,
104
+ "LABEL_31": 31,
105
+ "LABEL_32": 32,
106
+ "LABEL_33": 33,
107
+ "LABEL_34": 34,
108
+ "LABEL_35": 35,
109
+ "LABEL_36": 36,
110
+ "LABEL_37": 37,
111
+ "LABEL_38": 38,
112
+ "LABEL_39": 39,
113
+ "LABEL_4": 4,
114
+ "LABEL_40": 40,
115
+ "LABEL_41": 41,
116
+ "LABEL_42": 42,
117
+ "LABEL_43": 43,
118
+ "LABEL_44": 44,
119
+ "LABEL_45": 45,
120
+ "LABEL_46": 46,
121
+ "LABEL_47": 47,
122
+ "LABEL_48": 48,
123
+ "LABEL_49": 49,
124
+ "LABEL_5": 5,
125
+ "LABEL_50": 50,
126
+ "LABEL_51": 51,
127
+ "LABEL_52": 52,
128
+ "LABEL_53": 53,
129
+ "LABEL_54": 54,
130
+ "LABEL_55": 55,
131
+ "LABEL_56": 56,
132
+ "LABEL_57": 57,
133
+ "LABEL_58": 58,
134
+ "LABEL_59": 59,
135
+ "LABEL_6": 6,
136
+ "LABEL_7": 7,
137
+ "LABEL_8": 8,
138
+ "LABEL_9": 9
139
+ },
140
+ "layer_norm_eps": 1e-05,
141
+ "mask_token_id": 32,
142
+ "max_position_embeddings": 1026,
143
+ "model_type": "esm",
144
+ "num_attention_heads": 20,
145
+ "num_hidden_layers": 30,
146
+ "pad_token_id": 1,
147
+ "position_embedding_type": "rotary",
148
+ "problem_type": "single_label_classification",
149
+ "token_dropout": true,
150
+ "torch_dtype": "float32",
151
+ "transformers_version": "4.40.2",
152
+ "use_cache": true,
153
+ "vocab_list": null,
154
+ "vocab_size": 33
155
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0cea91aa8841e419c5a87df28baf554f5db924f2cc427832ad609f26d5691689
3
+ size 595397916
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
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0c7749359dc06534d212367518fe62acb4a131b0d56ce61772600fac550c895d
3
+ size 5048
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>