Devon12 commited on
Commit
bfc6ddd
1 Parent(s): 9b06b26

End of training

Browse files
README.md ADDED
@@ -0,0 +1,93 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ datasets:
8
+ - imagefolder
9
+ metrics:
10
+ - accuracy
11
+ model-index:
12
+ - name: image_classification
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.46875
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
+ # image_classification
33
+
34
+ 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.
35
+ It achieves the following results on the evaluation set:
36
+ - Loss: 1.4301
37
+ - Accuracy: 0.4688
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: 16
58
+ - eval_batch_size: 16
59
+ - seed: 42
60
+ - gradient_accumulation_steps: 4
61
+ - total_train_batch_size: 64
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
+ | 2.0867 | 1.0 | 10 | 2.0602 | 0.1938 |
72
+ | 2.0294 | 2.0 | 20 | 1.9887 | 0.2562 |
73
+ | 1.9159 | 3.0 | 30 | 1.8738 | 0.3438 |
74
+ | 1.763 | 4.0 | 40 | 1.7523 | 0.375 |
75
+ | 1.6138 | 5.0 | 50 | 1.6505 | 0.4 |
76
+ | 1.5141 | 6.0 | 60 | 1.5861 | 0.4125 |
77
+ | 1.4328 | 7.0 | 70 | 1.5303 | 0.45 |
78
+ | 1.3357 | 8.0 | 80 | 1.4986 | 0.475 |
79
+ | 1.2833 | 9.0 | 90 | 1.4628 | 0.4688 |
80
+ | 1.2248 | 10.0 | 100 | 1.4501 | 0.5 |
81
+ | 1.1796 | 11.0 | 110 | 1.3972 | 0.4875 |
82
+ | 1.1526 | 12.0 | 120 | 1.4359 | 0.4813 |
83
+ | 1.1177 | 13.0 | 130 | 1.4077 | 0.4813 |
84
+ | 1.1006 | 14.0 | 140 | 1.3942 | 0.5 |
85
+ | 1.0679 | 15.0 | 150 | 1.3934 | 0.4875 |
86
+
87
+
88
+ ### Framework versions
89
+
90
+ - Transformers 4.44.2
91
+ - Pytorch 2.4.0+cu121
92
+ - Datasets 2.21.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:f0bb817f0aa756a56613335fe38a726777e203177299f28cce7279b75da4ec0b
3
  size 343242432
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5656bcb790f20bf0e5fbe9c47f0a0df92eefcf3ca6cafa29656a4fb6be64ff2e
3
  size 343242432
runs/Sep06_09-57-41_e509ee2f7ff8/events.out.tfevents.1725616719.e509ee2f7ff8.1205.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6c248959623d014b937109f453f441c86c13e5a18166a46c65b9a147188ac6f9
3
- size 13049
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cac1ef4f055fc712d8ce04f57ca4e5d88b3a6a43f4a4626fa0a6a20032e17237
3
+ size 13403
runs/Sep06_09-57-41_e509ee2f7ff8/events.out.tfevents.1725617262.e509ee2f7ff8.1205.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fbb1f9b692f1f7e3d1b53764cb21ad860be4732f18ee5656275e5978d986ace0
3
+ size 411