francescopatane commited on
Commit
7d81267
·
1 Parent(s): c19f36b

Upload TFEsmForSequenceClassification

Browse files
Files changed (3) hide show
  1. README.md +55 -0
  2. config.json +31 -0
  3. tf_model.h5 +3 -0
README.md ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ tags:
4
+ - generated_from_keras_callback
5
+ model-index:
6
+ - name: esm2_t12_35M_UR50D-localization_cyt_mem_model_esm2
7
+ results: []
8
+ ---
9
+
10
+ <!-- This model card has been generated automatically according to the information Keras had access to. You should
11
+ probably proofread and complete it, then remove this comment. -->
12
+
13
+ # esm2_t12_35M_UR50D-localization_cyt_mem_model_esm2
14
+
15
+ 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.
16
+ It achieves the following results on the evaluation set:
17
+ - Train Loss: 0.2338
18
+ - Train Accuracy: 0.9216
19
+ - Validation Loss: 0.1948
20
+ - Validation Accuracy: 0.9386
21
+ - Epoch: 0
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
+ - 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}
41
+ - training_precision: float32
42
+
43
+ ### Training results
44
+
45
+ | Train Loss | Train Accuracy | Validation Loss | Validation Accuracy | Epoch |
46
+ |:----------:|:--------------:|:---------------:|:-------------------:|:-----:|
47
+ | 0.2338 | 0.9216 | 0.1948 | 0.9386 | 0 |
48
+
49
+
50
+ ### Framework versions
51
+
52
+ - Transformers 4.28.1
53
+ - TensorFlow 2.12.0
54
+ - Datasets 2.12.0
55
+ - Tokenizers 0.13.3
config.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "facebook/esm2_t12_35M_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": 480,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 1920,
15
+ "is_folding_model": false,
16
+ "layer_norm_eps": 1e-05,
17
+ "mask_token_id": 32,
18
+ "max_position_embeddings": 1026,
19
+ "model_type": "esm",
20
+ "num_attention_heads": 20,
21
+ "num_hidden_layers": 12,
22
+ "output_attentions": true,
23
+ "pad_token_id": 1,
24
+ "position_embedding_type": "rotary",
25
+ "token_dropout": true,
26
+ "torch_dtype": "float32",
27
+ "transformers_version": "4.28.1",
28
+ "use_cache": true,
29
+ "vocab_list": null,
30
+ "vocab_size": 33
31
+ }
tf_model.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6f78f7a702f72bdc3a0f8339768614d64e0108aa2b526a7989a6e3e9cc2af01c
3
+ size 134311400