Rocketknight1 HF staff commited on
Commit
90eb574
1 Parent(s): 0250e19

Upload TFEsmForTokenClassification

Browse files
Files changed (3) hide show
  1. README.md +56 -0
  2. config.json +40 -0
  3. tf_model.h5 +3 -0
README.md ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - generated_from_keras_callback
4
+ model-index:
5
+ - name: esm2_t12_35M_UR50D-finetuned-secondary-structure-classification
6
+ results: []
7
+ ---
8
+
9
+ <!-- This model card has been generated automatically according to the information Keras had access to. You should
10
+ probably proofread and complete it, then remove this comment. -->
11
+
12
+ # esm2_t12_35M_UR50D-finetuned-secondary-structure-classification
13
+
14
+ This model is a fine-tuned version of [facebook/esm2_t12_35M_UR50D](https://huggingface.co/facebook/esm2_t12_35M_UR50D) on an unknown dataset.
15
+ It achieves the following results on the evaluation set:
16
+ - Train Loss: 0.4108
17
+ - Train Masked Accuracy: 0.8325
18
+ - Validation Loss: 0.4586
19
+ - Validation Masked Accuracy: 0.8119
20
+ - Epoch: 2
21
+
22
+ ## Model description
23
+
24
+ More information needed
25
+
26
+ ## Intended uses & limitations
27
+
28
+ More information needed
29
+
30
+ ## Training and evaluation data
31
+
32
+ More information needed
33
+
34
+ ## Training procedure
35
+
36
+ ### Training hyperparameters
37
+
38
+ The following hyperparameters were used during training:
39
+ - optimizer: {'name': 'AdamWeightDecay', 'learning_rate': 2e-05, 'decay': 0.0, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-07, 'amsgrad': False, 'weight_decay_rate': 0.0}
40
+ - training_precision: float32
41
+
42
+ ### Training results
43
+
44
+ | Train Loss | Train Masked Accuracy | Validation Loss | Validation Masked Accuracy | Epoch |
45
+ |:----------:|:---------------------:|:---------------:|:--------------------------:|:-----:|
46
+ | 0.5809 | 0.7502 | 0.4764 | 0.8023 | 0 |
47
+ | 0.4534 | 0.8132 | 0.4564 | 0.8115 | 1 |
48
+ | 0.4108 | 0.8325 | 0.4586 | 0.8119 | 2 |
49
+
50
+
51
+ ### Framework versions
52
+
53
+ - Transformers 4.25.0.dev0
54
+ - TensorFlow 2.10.0
55
+ - Datasets 2.6.1
56
+ - Tokenizers 0.11.0
config.json ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "facebook/esm2_t12_35M_UR50D",
3
+ "architectures": [
4
+ "EsmForTokenClassification"
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": 480,
13
+ "id2label": {
14
+ "0": "LABEL_0",
15
+ "1": "LABEL_1",
16
+ "2": "LABEL_2"
17
+ },
18
+ "initializer_range": 0.02,
19
+ "intermediate_size": 1920,
20
+ "is_folding_model": false,
21
+ "label2id": {
22
+ "LABEL_0": 0,
23
+ "LABEL_1": 1,
24
+ "LABEL_2": 2
25
+ },
26
+ "layer_norm_eps": 1e-05,
27
+ "mask_token_id": 32,
28
+ "max_position_embeddings": 1026,
29
+ "model_type": "esm",
30
+ "num_attention_heads": 20,
31
+ "num_hidden_layers": 12,
32
+ "pad_token_id": 1,
33
+ "position_embedding_type": "rotary",
34
+ "token_dropout": true,
35
+ "torch_dtype": "float32",
36
+ "transformers_version": "4.25.0.dev0",
37
+ "use_cache": true,
38
+ "vocab_list": null,
39
+ "vocab_size": 33
40
+ }
tf_model.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:420d6e763e1cc2fd45ae0ae400f4a771d8f29e696cd8fa114e25a62359a0247c
3
+ size 133383712