pfam_10k_seq
Browse files- README.md +70 -0
- config.json +121 -0
- model.safetensors +3 -0
- special_tokens_map.json +7 -0
- tokenizer_config.json +52 -0
- training_args.bin +3 -0
- vocab.txt +33 -0
README.md
ADDED
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
base_model: facebook/esm2_t33_650M_UR50D
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- accuracy
|
8 |
+
model-index:
|
9 |
+
- name: esm2_t33_650M_UR50D-10k-uniprot-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_t33_650M_UR50D-10k-uniprot-classification
|
17 |
+
|
18 |
+
This model is a fine-tuned version of [facebook/esm2_t33_650M_UR50D](https://huggingface.co/facebook/esm2_t33_650M_UR50D) on the None dataset.
|
19 |
+
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 0.7889
|
21 |
+
- Accuracy: 0.8340
|
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: 9
|
49 |
+
|
50 |
+
### Training results
|
51 |
+
|
52 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
53 |
+
|:-------------:|:------:|:----:|:---------------:|:--------:|
|
54 |
+
| No log | 0.9948 | 60 | 2.4675 | 0.4405 |
|
55 |
+
| No log | 1.9896 | 120 | 1.7231 | 0.6466 |
|
56 |
+
| No log | 2.9845 | 180 | 1.3287 | 0.7403 |
|
57 |
+
| No log | 3.9959 | 241 | 1.0992 | 0.7842 |
|
58 |
+
| No log | 4.9907 | 301 | 0.9519 | 0.8169 |
|
59 |
+
| No log | 5.9855 | 361 | 0.8688 | 0.8200 |
|
60 |
+
| No log | 6.9969 | 422 | 0.8178 | 0.8309 |
|
61 |
+
| No log | 7.9917 | 482 | 0.7947 | 0.8332 |
|
62 |
+
| 1.1149 | 8.9534 | 540 | 0.7889 | 0.8340 |
|
63 |
+
|
64 |
+
|
65 |
+
### Framework versions
|
66 |
+
|
67 |
+
- Transformers 4.40.2
|
68 |
+
- Pytorch 2.3.0+cu121
|
69 |
+
- Datasets 2.19.1
|
70 |
+
- Tokenizers 0.19.1
|
config.json
ADDED
@@ -0,0 +1,121 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "facebook/esm2_t33_650M_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": 1280,
|
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 |
+
},
|
58 |
+
"initializer_range": 0.02,
|
59 |
+
"intermediate_size": 5120,
|
60 |
+
"is_folding_model": false,
|
61 |
+
"label2id": {
|
62 |
+
"LABEL_0": 0,
|
63 |
+
"LABEL_1": 1,
|
64 |
+
"LABEL_10": 10,
|
65 |
+
"LABEL_11": 11,
|
66 |
+
"LABEL_12": 12,
|
67 |
+
"LABEL_13": 13,
|
68 |
+
"LABEL_14": 14,
|
69 |
+
"LABEL_15": 15,
|
70 |
+
"LABEL_16": 16,
|
71 |
+
"LABEL_17": 17,
|
72 |
+
"LABEL_18": 18,
|
73 |
+
"LABEL_19": 19,
|
74 |
+
"LABEL_2": 2,
|
75 |
+
"LABEL_20": 20,
|
76 |
+
"LABEL_21": 21,
|
77 |
+
"LABEL_22": 22,
|
78 |
+
"LABEL_23": 23,
|
79 |
+
"LABEL_24": 24,
|
80 |
+
"LABEL_25": 25,
|
81 |
+
"LABEL_26": 26,
|
82 |
+
"LABEL_27": 27,
|
83 |
+
"LABEL_28": 28,
|
84 |
+
"LABEL_29": 29,
|
85 |
+
"LABEL_3": 3,
|
86 |
+
"LABEL_30": 30,
|
87 |
+
"LABEL_31": 31,
|
88 |
+
"LABEL_32": 32,
|
89 |
+
"LABEL_33": 33,
|
90 |
+
"LABEL_34": 34,
|
91 |
+
"LABEL_35": 35,
|
92 |
+
"LABEL_36": 36,
|
93 |
+
"LABEL_37": 37,
|
94 |
+
"LABEL_38": 38,
|
95 |
+
"LABEL_39": 39,
|
96 |
+
"LABEL_4": 4,
|
97 |
+
"LABEL_40": 40,
|
98 |
+
"LABEL_41": 41,
|
99 |
+
"LABEL_42": 42,
|
100 |
+
"LABEL_5": 5,
|
101 |
+
"LABEL_6": 6,
|
102 |
+
"LABEL_7": 7,
|
103 |
+
"LABEL_8": 8,
|
104 |
+
"LABEL_9": 9
|
105 |
+
},
|
106 |
+
"layer_norm_eps": 1e-05,
|
107 |
+
"mask_token_id": 32,
|
108 |
+
"max_position_embeddings": 1026,
|
109 |
+
"model_type": "esm",
|
110 |
+
"num_attention_heads": 20,
|
111 |
+
"num_hidden_layers": 33,
|
112 |
+
"pad_token_id": 1,
|
113 |
+
"position_embedding_type": "rotary",
|
114 |
+
"problem_type": "single_label_classification",
|
115 |
+
"token_dropout": true,
|
116 |
+
"torch_dtype": "float32",
|
117 |
+
"transformers_version": "4.40.2",
|
118 |
+
"use_cache": true,
|
119 |
+
"vocab_list": null,
|
120 |
+
"vocab_size": 33
|
121 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b2a85a3560e4e5bd4c749dd029d0adf8ab019b47c66652dcee4152ebee85b010
|
3 |
+
size 2609707984
|
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:a76daa5ae56f5fa95707c1d662a3ba6bb66b5b97acea4cb796ec55c52a1fc9ee
|
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>
|