rukundob451 commited on
Commit
7dadbb2
·
verified ·
1 Parent(s): 045274e

Model save

Browse files
Files changed (2) hide show
  1. README.md +93 -0
  2. model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,93 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: WinKawaks/vit-tiny-patch16-224
5
+ tags:
6
+ - generated_from_trainer
7
+ datasets:
8
+ - imagefolder
9
+ metrics:
10
+ - accuracy
11
+ model-index:
12
+ - name: vit-tiny-patch16-224-finetuned-papsmear
13
+ results:
14
+ - task:
15
+ name: Image Classification
16
+ type: image-classification
17
+ dataset:
18
+ name: imagefolder
19
+ type: imagefolder
20
+ config: default
21
+ split: train
22
+ args: default
23
+ metrics:
24
+ - name: Accuracy
25
+ type: accuracy
26
+ value: 0.9338235294117647
27
+ ---
28
+
29
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
30
+ should probably proofread and complete it, then remove this comment. -->
31
+
32
+ # vit-tiny-patch16-224-finetuned-papsmear
33
+
34
+ This model is a fine-tuned version of [WinKawaks/vit-tiny-patch16-224](https://huggingface.co/WinKawaks/vit-tiny-patch16-224) on the imagefolder dataset.
35
+ It achieves the following results on the evaluation set:
36
+ - Loss: 0.1882
37
+ - Accuracy: 0.9338
38
+
39
+ ## Model description
40
+
41
+ More information needed
42
+
43
+ ## Intended uses & limitations
44
+
45
+ More information needed
46
+
47
+ ## Training and evaluation data
48
+
49
+ More information needed
50
+
51
+ ## Training procedure
52
+
53
+ ### Training hyperparameters
54
+
55
+ The following hyperparameters were used during training:
56
+ - learning_rate: 5e-05
57
+ - train_batch_size: 8
58
+ - eval_batch_size: 8
59
+ - seed: 42
60
+ - gradient_accumulation_steps: 4
61
+ - total_train_batch_size: 32
62
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
63
+ - lr_scheduler_type: linear
64
+ - lr_scheduler_warmup_ratio: 0.1
65
+ - num_epochs: 15
66
+
67
+ ### Training results
68
+
69
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
70
+ |:-------------:|:-------:|:----:|:---------------:|:--------:|
71
+ | 1.4005 | 0.9935 | 38 | 1.2214 | 0.5294 |
72
+ | 0.8877 | 1.9869 | 76 | 1.0727 | 0.6691 |
73
+ | 0.603 | 2.9804 | 114 | 0.6807 | 0.7574 |
74
+ | 0.465 | 4.0 | 153 | 0.6485 | 0.7574 |
75
+ | 0.432 | 4.9935 | 191 | 0.5024 | 0.8015 |
76
+ | 0.2957 | 5.9869 | 229 | 0.4485 | 0.8162 |
77
+ | 0.2203 | 6.9804 | 267 | 0.3850 | 0.8529 |
78
+ | 0.236 | 8.0 | 306 | 0.3628 | 0.8456 |
79
+ | 0.1857 | 8.9935 | 344 | 0.2930 | 0.8824 |
80
+ | 0.1907 | 9.9869 | 382 | 0.2121 | 0.9338 |
81
+ | 0.1546 | 10.9804 | 420 | 0.2242 | 0.9265 |
82
+ | 0.1375 | 12.0 | 459 | 0.1918 | 0.9191 |
83
+ | 0.1237 | 12.9935 | 497 | 0.1809 | 0.9338 |
84
+ | 0.1637 | 13.9869 | 535 | 0.1774 | 0.9338 |
85
+ | 0.0803 | 14.9020 | 570 | 0.1882 | 0.9338 |
86
+
87
+
88
+ ### Framework versions
89
+
90
+ - Transformers 4.44.2
91
+ - Pytorch 2.4.0+cu121
92
+ - Datasets 3.0.0
93
+ - Tokenizers 0.19.1
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ee9b322e0729e59a5d00f2fc7072bcd08b8cc2b0098a1f6f19b7dfe9e088fe63
3
  size 22125008
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2c1de7f2316d9031e87e8b32aa3f0326981e1627fbf4ac6ced2a3d0fc81746d6
3
  size 22125008