prakhardixit24 commited on
Commit
850330f
1 Parent(s): 29fa3af

End of training

Browse files
Files changed (2) hide show
  1. README.md +107 -0
  2. model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,107 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: google/vit-base-patch16-224-in21k
4
+ tags:
5
+ - generated_from_trainer
6
+ datasets:
7
+ - imagefolder
8
+ metrics:
9
+ - accuracy
10
+ model-index:
11
+ - name: urinary_carcinoma_classifier_g002
12
+ results:
13
+ - task:
14
+ name: Image Classification
15
+ type: image-classification
16
+ dataset:
17
+ name: imagefolder
18
+ type: imagefolder
19
+ config: default
20
+ split: train[:63]
21
+ args: default
22
+ metrics:
23
+ - name: Accuracy
24
+ type: accuracy
25
+ value: 0.9230769230769231
26
+ ---
27
+
28
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
29
+ should probably proofread and complete it, then remove this comment. -->
30
+
31
+ # urinary_carcinoma_classifier_g002
32
+
33
+ This model is a fine-tuned version of [google/vit-base-patch16-224-in21k](https://huggingface.co/google/vit-base-patch16-224-in21k) on the imagefolder dataset.
34
+ It achieves the following results on the evaluation set:
35
+ - Loss: 0.3544
36
+ - Accuracy: 0.9231
37
+
38
+ ## Model description
39
+
40
+ More information needed
41
+
42
+ ## Intended uses & limitations
43
+
44
+ More information needed
45
+
46
+ ## Training and evaluation data
47
+
48
+ More information needed
49
+
50
+ ## Training procedure
51
+
52
+ ### Training hyperparameters
53
+
54
+ The following hyperparameters were used during training:
55
+ - learning_rate: 5e-05
56
+ - train_batch_size: 16
57
+ - eval_batch_size: 16
58
+ - seed: 42
59
+ - gradient_accumulation_steps: 4
60
+ - total_train_batch_size: 64
61
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
62
+ - lr_scheduler_type: linear
63
+ - lr_scheduler_warmup_ratio: 0.1
64
+ - num_epochs: 30
65
+
66
+ ### Training results
67
+
68
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
69
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
70
+ | No log | 1.0 | 1 | 0.6814 | 0.5385 |
71
+ | No log | 2.0 | 2 | 0.6743 | 0.6923 |
72
+ | No log | 3.0 | 3 | 0.6449 | 0.7692 |
73
+ | No log | 4.0 | 4 | 0.6149 | 0.7692 |
74
+ | No log | 5.0 | 5 | 0.5980 | 0.7692 |
75
+ | No log | 6.0 | 6 | 0.5855 | 0.7692 |
76
+ | No log | 7.0 | 7 | 0.5663 | 0.7692 |
77
+ | No log | 8.0 | 8 | 0.5675 | 0.7692 |
78
+ | No log | 9.0 | 9 | 0.5530 | 0.7692 |
79
+ | 0.637 | 10.0 | 10 | 0.5246 | 0.8462 |
80
+ | 0.637 | 11.0 | 11 | 0.5135 | 0.7692 |
81
+ | 0.637 | 12.0 | 12 | 0.5296 | 0.8462 |
82
+ | 0.637 | 13.0 | 13 | 0.5340 | 0.8462 |
83
+ | 0.637 | 14.0 | 14 | 0.4781 | 0.9231 |
84
+ | 0.637 | 15.0 | 15 | 0.4870 | 0.8462 |
85
+ | 0.637 | 16.0 | 16 | 0.4701 | 0.8462 |
86
+ | 0.637 | 17.0 | 17 | 0.4521 | 1.0 |
87
+ | 0.637 | 18.0 | 18 | 0.4266 | 0.9231 |
88
+ | 0.637 | 19.0 | 19 | 0.4220 | 0.9231 |
89
+ | 0.4474 | 20.0 | 20 | 0.3837 | 0.9231 |
90
+ | 0.4474 | 21.0 | 21 | 0.4257 | 0.8462 |
91
+ | 0.4474 | 22.0 | 22 | 0.4093 | 0.9231 |
92
+ | 0.4474 | 23.0 | 23 | 0.4019 | 1.0 |
93
+ | 0.4474 | 24.0 | 24 | 0.4578 | 0.8462 |
94
+ | 0.4474 | 25.0 | 25 | 0.3932 | 1.0 |
95
+ | 0.4474 | 26.0 | 26 | 0.3838 | 1.0 |
96
+ | 0.4474 | 27.0 | 27 | 0.3627 | 1.0 |
97
+ | 0.4474 | 28.0 | 28 | 0.3862 | 0.9231 |
98
+ | 0.4474 | 29.0 | 29 | 0.3624 | 0.9231 |
99
+ | 0.3102 | 30.0 | 30 | 0.3544 | 0.9231 |
100
+
101
+
102
+ ### Framework versions
103
+
104
+ - Transformers 4.42.4
105
+ - Pytorch 2.3.1
106
+ - Datasets 2.20.0
107
+ - Tokenizers 0.19.1
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c033b918b9b5d52c9d897a2471ee36d4eb90980eca967c7e0ae6df97616673e5
3
  size 343223968
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:df7d8488362ed651e178c4ec5b5e1a22298d924290113dfbb28860b46ea42756
3
  size 343223968