End of training
Browse files- README.md +12 -12
- config.json +7 -7
- 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:
|
19 |
-
- Validation Loss:
|
20 |
-
- Train Accuracy: 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':
|
41 |
- training_precision: float32
|
42 |
|
43 |
### Training results
|
44 |
|
45 |
| Train Loss | Validation Loss | Train Accuracy | Epoch |
|
46 |
|:----------:|:---------------:|:--------------:|:-----:|
|
47 |
-
|
|
48 |
-
| 0.
|
49 |
-
|
|
50 |
-
| 0.
|
51 |
-
|
|
52 |
|
53 |
|
54 |
### Framework versions
|
55 |
|
56 |
-
- Transformers 4.
|
57 |
- TensorFlow 2.15.0
|
58 |
-
- Datasets 2.
|
59 |
-
- Tokenizers 0.15.
|
|
|
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": "
|
13 |
-
"1": "
|
14 |
-
"2": "
|
15 |
},
|
16 |
"image_size": 224,
|
17 |
"initializer_range": 0.02,
|
18 |
"intermediate_size": 3072,
|
19 |
"label2id": {
|
20 |
-
"BCC": "
|
21 |
-
"IEC": "
|
22 |
-
"SCC": "
|
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.
|
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:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6fb763d4caabc43a62c98b7dc744e17aff9247666dcd905a4b7db02fcff096b0
|
3 |
+
size 343472824
|