qunfengd commited on
Commit
5b02aeb
1 Parent(s): 6d1a751

Upload TFEsmForSequenceClassification

Browse files
Files changed (3) hide show
  1. README.md +7 -8
  2. config.json +8 -0
  3. tf_model.h5 +1 -1
README.md CHANGED
@@ -1,8 +1,8 @@
1
  ---
2
  license: mit
 
3
  tags:
4
  - generated_from_keras_callback
5
- base_model: facebook/esm2_t12_35M_UR50D
6
  model-index:
7
  - name: esm2_t12_35M_UR50D-finetuned-AMP_Antibacteria-classification
8
  results: []
@@ -15,11 +15,11 @@ probably proofread and complete it, then remove this comment. -->
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.2932
19
- - Train Accuracy: 0.9052
20
- - Validation Loss: 0.2976
21
- - Validation Accuracy: 0.9034
22
- - Epoch: 1
23
 
24
  ## Model description
25
 
@@ -45,8 +45,7 @@ The following hyperparameters were used during training:
45
 
46
  | Train Loss | Train Accuracy | Validation Loss | Validation Accuracy | Epoch |
47
  |:----------:|:--------------:|:---------------:|:-------------------:|:-----:|
48
- | 0.2991 | 0.9052 | 0.2984 | 0.9034 | 0 |
49
- | 0.2932 | 0.9052 | 0.2976 | 0.9034 | 1 |
50
 
51
 
52
  ### Framework versions
 
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-AMP_Antibacteria-classification
8
  results: []
 
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.1176
19
+ - Train Accuracy: 0.9553
20
+ - Validation Loss: 0.5906
21
+ - Validation Accuracy: 0.8286
22
+ - Epoch: 0
23
 
24
  ## Model description
25
 
 
45
 
46
  | Train Loss | Train Accuracy | Validation Loss | Validation Accuracy | Epoch |
47
  |:----------:|:--------------:|:---------------:|:-------------------:|:-----:|
48
+ | 0.1176 | 0.9553 | 0.5906 | 0.8286 | 0 |
 
49
 
50
 
51
  ### Framework versions
config.json CHANGED
@@ -10,9 +10,17 @@
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,
 
10
  "hidden_act": "gelu",
11
  "hidden_dropout_prob": 0.0,
12
  "hidden_size": 480,
13
+ "id2label": {
14
+ "0": "negative",
15
+ "1": "positive"
16
+ },
17
  "initializer_range": 0.02,
18
  "intermediate_size": 1920,
19
  "is_folding_model": false,
20
+ "label2id": {
21
+ "negative": 0,
22
+ "positive": 1
23
+ },
24
  "layer_norm_eps": 1e-05,
25
  "mask_token_id": 32,
26
  "max_position_embeddings": 1026,
tf_model.h5 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ce9aa35ec49feebbba0d2ea64b5292c317b1f9764eebf8481ff7d07fbd01d4c4
3
  size 136284336
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b8c30e54c9e78ad6ff72712c23b3f0c1d1a34e52894b8c877e5ad36f207e8730
3
  size 136284336