wcosmas commited on
Commit
856c667
1 Parent(s): d09d74f

Model save

Browse files
README.md ADDED
@@ -0,0 +1,113 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: google/vit-base-patch16-224-in21k
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - accuracy
9
+ model-index:
10
+ - name: vit-base-patch16-224-in21k-finetuned-biopsy
11
+ results: []
12
+ ---
13
+
14
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
15
+ should probably proofread and complete it, then remove this comment. -->
16
+
17
+ # vit-base-patch16-224-in21k-finetuned-biopsy
18
+
19
+ 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.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 0.1224
22
+ - Accuracy: 0.9665
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
+ - learning_rate: 5e-05
42
+ - train_batch_size: 32
43
+ - eval_batch_size: 32
44
+ - seed: 42
45
+ - gradient_accumulation_steps: 4
46
+ - total_train_batch_size: 128
47
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
48
+ - lr_scheduler_type: linear
49
+ - lr_scheduler_warmup_ratio: 0.1
50
+ - num_epochs: 50
51
+
52
+ ### Training results
53
+
54
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
55
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
56
+ | 1.1332 | 1.0 | 42 | 1.0712 | 0.5494 |
57
+ | 0.6556 | 2.0 | 84 | 0.5742 | 0.8492 |
58
+ | 0.3987 | 3.0 | 126 | 0.3950 | 0.8894 |
59
+ | 0.2825 | 4.0 | 168 | 0.3924 | 0.8777 |
60
+ | 0.3662 | 5.0 | 210 | 0.3622 | 0.8861 |
61
+ | 0.2218 | 6.0 | 252 | 0.2706 | 0.9246 |
62
+ | 0.2236 | 7.0 | 294 | 0.2283 | 0.9347 |
63
+ | 0.2224 | 8.0 | 336 | 0.2367 | 0.9313 |
64
+ | 0.1754 | 9.0 | 378 | 0.2139 | 0.9296 |
65
+ | 0.1707 | 10.0 | 420 | 0.1829 | 0.9497 |
66
+ | 0.1619 | 11.0 | 462 | 0.2172 | 0.9464 |
67
+ | 0.1547 | 12.0 | 504 | 0.1960 | 0.9380 |
68
+ | 0.1213 | 13.0 | 546 | 0.1484 | 0.9581 |
69
+ | 0.1388 | 14.0 | 588 | 0.1689 | 0.9581 |
70
+ | 0.1009 | 15.0 | 630 | 0.1494 | 0.9581 |
71
+ | 0.124 | 16.0 | 672 | 0.1564 | 0.9581 |
72
+ | 0.1078 | 17.0 | 714 | 0.1728 | 0.9514 |
73
+ | 0.102 | 18.0 | 756 | 0.1669 | 0.9447 |
74
+ | 0.1006 | 19.0 | 798 | 0.1405 | 0.9581 |
75
+ | 0.0791 | 20.0 | 840 | 0.1179 | 0.9665 |
76
+ | 0.0694 | 21.0 | 882 | 0.1424 | 0.9631 |
77
+ | 0.0627 | 22.0 | 924 | 0.1224 | 0.9665 |
78
+ | 0.0883 | 23.0 | 966 | 0.1602 | 0.9447 |
79
+ | 0.074 | 24.0 | 1008 | 0.1315 | 0.9615 |
80
+ | 0.0708 | 25.0 | 1050 | 0.1331 | 0.9631 |
81
+ | 0.06 | 26.0 | 1092 | 0.1191 | 0.9665 |
82
+ | 0.083 | 27.0 | 1134 | 0.1583 | 0.9531 |
83
+ | 0.0584 | 28.0 | 1176 | 0.1348 | 0.9564 |
84
+ | 0.0627 | 29.0 | 1218 | 0.1270 | 0.9564 |
85
+ | 0.0627 | 30.0 | 1260 | 0.1411 | 0.9564 |
86
+ | 0.038 | 31.0 | 1302 | 0.1208 | 0.9665 |
87
+ | 0.0569 | 32.0 | 1344 | 0.1587 | 0.9514 |
88
+ | 0.0502 | 33.0 | 1386 | 0.1501 | 0.9497 |
89
+ | 0.0464 | 34.0 | 1428 | 0.1508 | 0.9615 |
90
+ | 0.0317 | 35.0 | 1470 | 0.1309 | 0.9631 |
91
+ | 0.0552 | 36.0 | 1512 | 0.1372 | 0.9598 |
92
+ | 0.031 | 37.0 | 1554 | 0.1258 | 0.9598 |
93
+ | 0.0383 | 38.0 | 1596 | 0.1249 | 0.9682 |
94
+ | 0.036 | 39.0 | 1638 | 0.1312 | 0.9665 |
95
+ | 0.0405 | 40.0 | 1680 | 0.1207 | 0.9665 |
96
+ | 0.0343 | 41.0 | 1722 | 0.1233 | 0.9648 |
97
+ | 0.0325 | 42.0 | 1764 | 0.1286 | 0.9631 |
98
+ | 0.0293 | 43.0 | 1806 | 0.1135 | 0.9682 |
99
+ | 0.0306 | 44.0 | 1848 | 0.1258 | 0.9615 |
100
+ | 0.0267 | 45.0 | 1890 | 0.1261 | 0.9648 |
101
+ | 0.0338 | 46.0 | 1932 | 0.1209 | 0.9665 |
102
+ | 0.0213 | 47.0 | 1974 | 0.1157 | 0.9665 |
103
+ | 0.0285 | 48.0 | 2016 | 0.1203 | 0.9631 |
104
+ | 0.0287 | 49.0 | 2058 | 0.1240 | 0.9648 |
105
+ | 0.0183 | 50.0 | 2100 | 0.1224 | 0.9665 |
106
+
107
+
108
+ ### Framework versions
109
+
110
+ - Transformers 4.44.2
111
+ - Pytorch 2.4.1+cu121
112
+ - Datasets 3.0.1
113
+ - Tokenizers 0.19.1
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:282692f250227815f4c90c25cbc5ca16b76956eda1eb8d47f7daa30fe134ad92
3
  size 343230128
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2a08d91310de33d6270c7936cdddba28be0cfc837ac4180c4793e82a4e6e9659
3
  size 343230128
runs/Oct16_13-41-41_5015a13a2e4f/events.out.tfevents.1729086107.5015a13a2e4f.341.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d1750141ed9988410bd20784404db332e478f4dc5c2087dd3c948be6d78766cf
3
- size 65468
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:57afdd69e66b51c97d8b01284784ee939f5ec9f1109439a6cf326773610a1814
3
+ size 65822