anum231 commited on
Commit
7630ab3
·
1 Parent(s): 1548598

End of training

Browse files
Files changed (3) hide show
  1. README.md +12 -12
  2. config.json +7 -7
  3. tf_model.h5 +2 -2
README.md CHANGED
@@ -15,9 +15,9 @@ probably proofread and complete it, then remove this comment. -->
15
 
16
  This model is a fine-tuned version of [anum231/cancer_classifier_100](https://huggingface.co/anum231/cancer_classifier_100) on an unknown dataset.
17
  It achieves the following results on the evaluation set:
18
- - Train Loss: 1.3380
19
- - Validation Loss: 3.3659
20
- - Train Accuracy: 0.0
21
  - Epoch: 4
22
 
23
  ## Model description
@@ -37,23 +37,23 @@ More information needed
37
  ### Training hyperparameters
38
 
39
  The following hyperparameters were used during training:
40
- - optimizer: {'name': 'AdamWeightDecay', 'learning_rate': {'module': 'keras.optimizers.schedules', 'class_name': 'PolynomialDecay', 'config': {'initial_learning_rate': 3e-05, 'decay_steps': 10, 'end_learning_rate': 0.0, 'power': 1.0, 'cycle': False, 'name': None}, 'registered_name': None}, 'decay': 0.0, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-08, 'amsgrad': False, 'weight_decay_rate': 0.01}
41
  - training_precision: float32
42
 
43
  ### Training results
44
 
45
  | Train Loss | Validation Loss | Train Accuracy | Epoch |
46
  |:----------:|:---------------:|:--------------:|:-----:|
47
- | 1.4008 | 3.2711 | 0.0 | 0 |
48
- | 0.9698 | 3.3070 | 0.0 | 1 |
49
- | 1.2236 | 3.3253 | 0.0 | 2 |
50
- | 0.7776 | 3.3429 | 0.0 | 3 |
51
- | 1.3380 | 3.3659 | 0.0 | 4 |
52
 
53
 
54
  ### Framework versions
55
 
56
- - Transformers 4.35.2
57
  - TensorFlow 2.15.0
58
- - Datasets 2.16.1
59
- - Tokenizers 0.15.1
 
15
 
16
  This model is a fine-tuned version of [anum231/cancer_classifier_100](https://huggingface.co/anum231/cancer_classifier_100) on an unknown dataset.
17
  It achieves the following results on the evaluation set:
18
+ - Train Loss: 0.5815
19
+ - Validation Loss: 0.4561
20
+ - Train Accuracy: 0.8276
21
  - Epoch: 4
22
 
23
  ## Model description
 
37
  ### Training hyperparameters
38
 
39
  The following hyperparameters were used during training:
40
+ - optimizer: {'name': 'AdamWeightDecay', 'learning_rate': {'module': 'keras.optimizers.schedules', 'class_name': 'PolynomialDecay', 'config': {'initial_learning_rate': 3e-05, 'decay_steps': 1160, 'end_learning_rate': 0.0, 'power': 1.0, 'cycle': False, 'name': None}, 'registered_name': None}, 'decay': 0.0, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-08, 'amsgrad': False, 'weight_decay_rate': 0.01}
41
  - training_precision: float32
42
 
43
  ### Training results
44
 
45
  | Train Loss | Validation Loss | Train Accuracy | Epoch |
46
  |:----------:|:---------------:|:--------------:|:-----:|
47
+ | 0.6210 | 0.4706 | 0.8276 | 0 |
48
+ | 0.6095 | 0.4583 | 0.8103 | 1 |
49
+ | 0.6289 | 0.4566 | 0.8103 | 2 |
50
+ | 0.6230 | 0.5850 | 0.7241 | 3 |
51
+ | 0.5815 | 0.4561 | 0.8276 | 4 |
52
 
53
 
54
  ### Framework versions
55
 
56
+ - Transformers 4.38.1
57
  - TensorFlow 2.15.0
58
+ - Datasets 2.18.0
59
+ - Tokenizers 0.15.2
config.json CHANGED
@@ -9,17 +9,17 @@
9
  "hidden_dropout_prob": 0.0,
10
  "hidden_size": 768,
11
  "id2label": {
12
- "0": "SCC",
13
- "1": "IEC",
14
- "2": "BCC"
15
  },
16
  "image_size": 224,
17
  "initializer_range": 0.02,
18
  "intermediate_size": 3072,
19
  "label2id": {
20
- "BCC": "2",
21
- "IEC": "1",
22
- "SCC": "0"
23
  },
24
  "layer_norm_eps": 1e-12,
25
  "model_type": "vit",
@@ -28,5 +28,5 @@
28
  "num_hidden_layers": 12,
29
  "patch_size": 16,
30
  "qkv_bias": true,
31
- "transformers_version": "4.35.2"
32
  }
 
9
  "hidden_dropout_prob": 0.0,
10
  "hidden_size": 768,
11
  "id2label": {
12
+ "0": "BCC",
13
+ "1": "SCC",
14
+ "2": "IEC"
15
  },
16
  "image_size": 224,
17
  "initializer_range": 0.02,
18
  "intermediate_size": 3072,
19
  "label2id": {
20
+ "BCC": "0",
21
+ "IEC": "2",
22
+ "SCC": "1"
23
  },
24
  "layer_norm_eps": 1e-12,
25
  "model_type": "vit",
 
28
  "num_hidden_layers": 12,
29
  "patch_size": 16,
30
  "qkv_bias": true,
31
+ "transformers_version": "4.38.1"
32
  }
tf_model.h5 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c8758fe64cda9a897dd0f15af0331a65db622640718da6d14cbe00fa42ef5bfc
3
- size 343489208
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6fb763d4caabc43a62c98b7dc744e17aff9247666dcd905a4b7db02fcff096b0
3
+ size 343472824