Rashed-Mamdi commited on
Commit
a6f78ea
1 Parent(s): 978ca1a

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
+ datasets:
7
+ - imagefolder
8
+ metrics:
9
+ - accuracy
10
+ model-index:
11
+ - name: Rashed-vit-model
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
21
+ args: default
22
+ metrics:
23
+ - name: Accuracy
24
+ type: accuracy
25
+ value: 0.9888888888888889
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
+ # Rashed-vit-model
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.1128
36
+ - Accuracy: 0.9889
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: 0.0002
56
+ - train_batch_size: 4
57
+ - eval_batch_size: 8
58
+ - seed: 42
59
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
60
+ - lr_scheduler_type: linear
61
+ - num_epochs: 50
62
+
63
+ ### Training results
64
+
65
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
66
+ |:-------------:|:-------:|:----:|:---------------:|:--------:|
67
+ | 0.2279 | 1.9048 | 200 | 0.4485 | 0.9111 |
68
+ | 0.1335 | 3.8095 | 400 | 0.0680 | 0.9889 |
69
+ | 0.0061 | 5.7143 | 600 | 0.0047 | 1.0 |
70
+ | 0.0025 | 7.6190 | 800 | 0.0606 | 0.9778 |
71
+ | 0.0624 | 9.5238 | 1000 | 0.2500 | 0.9556 |
72
+ | 0.0013 | 11.4286 | 1200 | 0.0868 | 0.9889 |
73
+ | 0.001 | 13.3333 | 1400 | 0.0908 | 0.9889 |
74
+ | 0.0008 | 15.2381 | 1600 | 0.0935 | 0.9889 |
75
+ | 0.0006 | 17.1429 | 1800 | 0.0960 | 0.9889 |
76
+ | 0.0005 | 19.0476 | 2000 | 0.0979 | 0.9889 |
77
+ | 0.0004 | 20.9524 | 2200 | 0.0996 | 0.9889 |
78
+ | 0.0004 | 22.8571 | 2400 | 0.1013 | 0.9889 |
79
+ | 0.0003 | 24.7619 | 2600 | 0.1027 | 0.9889 |
80
+ | 0.0003 | 26.6667 | 2800 | 0.1040 | 0.9889 |
81
+ | 0.0003 | 28.5714 | 3000 | 0.1054 | 0.9889 |
82
+ | 0.0002 | 30.4762 | 3200 | 0.1065 | 0.9889 |
83
+ | 0.0002 | 32.3810 | 3400 | 0.1076 | 0.9889 |
84
+ | 0.0002 | 34.2857 | 3600 | 0.1085 | 0.9889 |
85
+ | 0.0002 | 36.1905 | 3800 | 0.1094 | 0.9889 |
86
+ | 0.0002 | 38.0952 | 4000 | 0.1102 | 0.9889 |
87
+ | 0.0002 | 40.0 | 4200 | 0.1109 | 0.9889 |
88
+ | 0.0001 | 41.9048 | 4400 | 0.1115 | 0.9889 |
89
+ | 0.0001 | 43.8095 | 4600 | 0.1120 | 0.9889 |
90
+ | 0.0001 | 45.7143 | 4800 | 0.1124 | 0.9889 |
91
+ | 0.0001 | 47.6190 | 5000 | 0.1126 | 0.9889 |
92
+ | 0.0001 | 49.5238 | 5200 | 0.1128 | 0.9889 |
93
+
94
+
95
+ ### Framework versions
96
+
97
+ - Transformers 4.43.3
98
+ - Pytorch 2.4.0+cu121
99
+ - Datasets 2.20.0
100
+ - Tokenizers 0.19.1
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:1ae3a7ab55584783872bc1966ca664bc806e02b2d856dfd94f3fbbd995857eea
3
  size 343236280
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8473e103e9146a3c3035070c7b7873caf298dbe2fd62f9b8dcaf2831d0c6e422
3
  size 343236280
runs/Jul31_05-30-27_ip-10-192-12-184/events.out.tfevents.1722403836.ip-10-192-12-184.2220.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:1eefdc40f199afd46f0633e2a448a6b27c77b8ea669e00393f46ba0cdf41b5e5
3
- size 124290
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:25eee39a1ba262f0a68106a84f50a6c50597524a70d3d2c3c61476db08bda530
3
+ size 124644