ahishamm commited on
Commit
8b1b74f
1 Parent(s): 433a439

Model save

Browse files
README.md ADDED
@@ -0,0 +1,100 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: google/vit-base-patch16-224-in21k
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ - recall
9
+ - f1
10
+ - precision
11
+ model-index:
12
+ - name: vit-base-16-thesis-demo-HAM10000
13
+ results: []
14
+ ---
15
+
16
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
17
+ should probably proofread and complete it, then remove this comment. -->
18
+
19
+ # vit-base-16-thesis-demo-HAM10000
20
+
21
+ This model is a fine-tuned version of [google/vit-base-patch16-224-in21k](https://huggingface.co/google/vit-base-patch16-224-in21k) on an unknown dataset.
22
+ It achieves the following results on the evaluation set:
23
+ - Loss: 0.5608
24
+ - Accuracy: 0.8438
25
+ - Recall: 0.8438
26
+ - F1: 0.8438
27
+ - Precision: 0.8438
28
+
29
+ ## Model description
30
+
31
+ More information needed
32
+
33
+ ## Intended uses & limitations
34
+
35
+ More information needed
36
+
37
+ ## Training and evaluation data
38
+
39
+ More information needed
40
+
41
+ ## Training procedure
42
+
43
+ ### Training hyperparameters
44
+
45
+ The following hyperparameters were used during training:
46
+ - learning_rate: 0.0002
47
+ - train_batch_size: 16
48
+ - eval_batch_size: 8
49
+ - seed: 42
50
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
51
+ - lr_scheduler_type: linear
52
+ - num_epochs: 4
53
+ - mixed_precision_training: Native AMP
54
+
55
+ ### Training results
56
+
57
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | Recall | F1 | Precision |
58
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|:------:|:---------:|
59
+ | 1.4855 | 0.12 | 50 | 1.3519 | 0.5093 | 0.5093 | 0.5093 | 0.5093 |
60
+ | 1.044 | 0.23 | 100 | 1.0515 | 0.6268 | 0.6268 | 0.6268 | 0.6268 |
61
+ | 1.0774 | 0.35 | 150 | 1.2104 | 0.5681 | 0.5681 | 0.5681 | 0.5681 |
62
+ | 0.9508 | 0.46 | 200 | 1.0624 | 0.6061 | 0.6061 | 0.6061 | 0.6061 |
63
+ | 0.9522 | 0.58 | 250 | 0.9338 | 0.6449 | 0.6449 | 0.6449 | 0.6449 |
64
+ | 0.774 | 0.69 | 300 | 0.8939 | 0.6676 | 0.6676 | 0.6676 | 0.6676 |
65
+ | 0.7675 | 0.81 | 350 | 0.7742 | 0.7183 | 0.7183 | 0.7183 | 0.7183 |
66
+ | 0.7167 | 0.92 | 400 | 0.7695 | 0.7216 | 0.7216 | 0.7216 | 0.7216 |
67
+ | 0.5204 | 1.04 | 450 | 0.8005 | 0.7303 | 0.7303 | 0.7303 | 0.7303 |
68
+ | 0.456 | 1.15 | 500 | 0.8523 | 0.6903 | 0.6903 | 0.6903 | 0.6903 |
69
+ | 0.5421 | 1.27 | 550 | 0.6753 | 0.7543 | 0.7543 | 0.7543 | 0.7543 |
70
+ | 0.4446 | 1.38 | 600 | 0.6042 | 0.7810 | 0.7810 | 0.7810 | 0.7810 |
71
+ | 0.455 | 1.5 | 650 | 0.6913 | 0.7410 | 0.7410 | 0.7410 | 0.7410 |
72
+ | 0.4175 | 1.61 | 700 | 0.6142 | 0.7810 | 0.7810 | 0.7810 | 0.7810 |
73
+ | 0.3626 | 1.73 | 750 | 0.5831 | 0.8004 | 0.8004 | 0.8004 | 0.8004 |
74
+ | 0.4816 | 1.84 | 800 | 0.5586 | 0.7891 | 0.7891 | 0.7891 | 0.7891 |
75
+ | 0.3257 | 1.96 | 850 | 0.5759 | 0.7991 | 0.7991 | 0.7991 | 0.7991 |
76
+ | 0.3111 | 2.07 | 900 | 0.6100 | 0.7931 | 0.7931 | 0.7931 | 0.7931 |
77
+ | 0.2052 | 2.19 | 950 | 0.5674 | 0.8111 | 0.8111 | 0.8111 | 0.8111 |
78
+ | 0.2273 | 2.3 | 1000 | 0.5975 | 0.8017 | 0.8017 | 0.8017 | 0.8017 |
79
+ | 0.3007 | 2.42 | 1050 | 0.5714 | 0.8204 | 0.8204 | 0.8204 | 0.8204 |
80
+ | 0.2812 | 2.53 | 1100 | 0.6081 | 0.8004 | 0.8004 | 0.8004 | 0.8004 |
81
+ | 0.2661 | 2.65 | 1150 | 0.5653 | 0.8224 | 0.8224 | 0.8224 | 0.8224 |
82
+ | 0.1796 | 2.76 | 1200 | 0.5447 | 0.8338 | 0.8338 | 0.8338 | 0.8338 |
83
+ | 0.1882 | 2.88 | 1250 | 0.5357 | 0.8284 | 0.8284 | 0.8284 | 0.8284 |
84
+ | 0.1596 | 3.0 | 1300 | 0.5296 | 0.8344 | 0.8344 | 0.8344 | 0.8344 |
85
+ | 0.075 | 3.11 | 1350 | 0.5876 | 0.8198 | 0.8198 | 0.8198 | 0.8198 |
86
+ | 0.1128 | 3.23 | 1400 | 0.5612 | 0.8338 | 0.8338 | 0.8338 | 0.8338 |
87
+ | 0.0677 | 3.34 | 1450 | 0.5911 | 0.8331 | 0.8331 | 0.8331 | 0.8331 |
88
+ | 0.0794 | 3.46 | 1500 | 0.5971 | 0.8304 | 0.8304 | 0.8304 | 0.8304 |
89
+ | 0.0367 | 3.57 | 1550 | 0.5634 | 0.8378 | 0.8378 | 0.8378 | 0.8378 |
90
+ | 0.0279 | 3.69 | 1600 | 0.5674 | 0.8391 | 0.8391 | 0.8391 | 0.8391 |
91
+ | 0.0216 | 3.8 | 1650 | 0.5777 | 0.8358 | 0.8358 | 0.8358 | 0.8358 |
92
+ | 0.0161 | 3.92 | 1700 | 0.5608 | 0.8438 | 0.8438 | 0.8438 | 0.8438 |
93
+
94
+
95
+ ### Framework versions
96
+
97
+ - Transformers 4.35.2
98
+ - Pytorch 2.1.0+cu118
99
+ - Datasets 2.15.0
100
+ - Tokenizers 0.15.0
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b83688774eaf6a68553ebd34e9aaca8df70b3bd3a4303ee6058df91ac8fd62f3
3
  size 343239356
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:825b541045094b570f6e2ed996e507f978e91394619899b518f7c63443df4dfd
3
  size 343239356
runs/Dec05_17-55-29_c16f2c6ab729/events.out.tfevents.1701798935.c16f2c6ab729.278.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:81eb6afa9cbe0147aa9121b22e34316eac7c89d0e5d6503fdef79fdf4d6fe27d
3
- size 47086
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:278c7f83206e45caa192be4628e87783965cf43c23f8afa94929a072cf11ddcc
3
+ size 47911