Upload TFEsmForSequenceClassification
Browse files- README.md +58 -0
- config.json +30 -0
- tf_model.h5 +3 -0
README.md
ADDED
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
base_model: facebook/esm2_t12_35M_UR50D
|
4 |
+
tags:
|
5 |
+
- generated_from_keras_callback
|
6 |
+
model-index:
|
7 |
+
- name: esm2_t12_35M_UR50D-finetuned-cytosol-membrane-classification
|
8 |
+
results: []
|
9 |
+
---
|
10 |
+
|
11 |
+
<!-- This model card has been generated automatically according to the information Keras had access to. You should
|
12 |
+
probably proofread and complete it, then remove this comment. -->
|
13 |
+
|
14 |
+
# esm2_t12_35M_UR50D-finetuned-cytosol-membrane-classification
|
15 |
+
|
16 |
+
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.
|
17 |
+
It achieves the following results on the evaluation set:
|
18 |
+
- Train Loss: 0.1091
|
19 |
+
- Train Accuracy: 0.9629
|
20 |
+
- Validation Loss: 0.1706
|
21 |
+
- Validation Accuracy: 0.9457
|
22 |
+
- Epoch: 2
|
23 |
+
|
24 |
+
## Model description
|
25 |
+
|
26 |
+
More information needed
|
27 |
+
|
28 |
+
## Intended uses & limitations
|
29 |
+
|
30 |
+
More information needed
|
31 |
+
|
32 |
+
## Training and evaluation data
|
33 |
+
|
34 |
+
More information needed
|
35 |
+
|
36 |
+
## Training procedure
|
37 |
+
|
38 |
+
### Training hyperparameters
|
39 |
+
|
40 |
+
The following hyperparameters were used during training:
|
41 |
+
- 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}
|
42 |
+
- training_precision: float32
|
43 |
+
|
44 |
+
### Training results
|
45 |
+
|
46 |
+
| Train Loss | Train Accuracy | Validation Loss | Validation Accuracy | Epoch |
|
47 |
+
|:----------:|:--------------:|:---------------:|:-------------------:|:-----:|
|
48 |
+
| 0.2430 | 0.9263 | 0.2047 | 0.9363 | 0 |
|
49 |
+
| 0.1503 | 0.9512 | 0.1754 | 0.9371 | 1 |
|
50 |
+
| 0.1091 | 0.9629 | 0.1706 | 0.9457 | 2 |
|
51 |
+
|
52 |
+
|
53 |
+
### Framework versions
|
54 |
+
|
55 |
+
- Transformers 4.40.0
|
56 |
+
- TensorFlow 2.15.0
|
57 |
+
- Datasets 2.19.0
|
58 |
+
- Tokenizers 0.19.1
|
config.json
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
"pad_token_id": 1,
|
23 |
+
"position_embedding_type": "rotary",
|
24 |
+
"token_dropout": true,
|
25 |
+
"torch_dtype": "float32",
|
26 |
+
"transformers_version": "4.40.0",
|
27 |
+
"use_cache": true,
|
28 |
+
"vocab_list": null,
|
29 |
+
"vocab_size": 33
|
30 |
+
}
|
tf_model.h5
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:aa506f2418f7d88617963eb6b1602cf168a9abd8f72a6a8e262e218ef123f793
|
3 |
+
size 136284336
|