jaypratap commited on
Commit
f24bcb0
·
verified ·
1 Parent(s): 604d1ae

Model save

Browse files
README.md ADDED
@@ -0,0 +1,97 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: google/vit-base-patch16-224
4
+ tags:
5
+ - generated_from_trainer
6
+ datasets:
7
+ - imagefolder
8
+ metrics:
9
+ - accuracy
10
+ model-index:
11
+ - name: vit-base-patch16-224-classifier
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.7313780260707635
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
+ # vit-base-patch16-224-classifier
32
+
33
+ This model is a fine-tuned version of [google/vit-base-patch16-224](https://huggingface.co/google/vit-base-patch16-224) on the imagefolder dataset.
34
+ It achieves the following results on the evaluation set:
35
+ - Loss: 0.5720
36
+ - Accuracy: 0.7314
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-06
56
+ - train_batch_size: 4
57
+ - eval_batch_size: 4
58
+ - seed: 42
59
+ - gradient_accumulation_steps: 4
60
+ - total_train_batch_size: 16
61
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
62
+ - lr_scheduler_type: linear
63
+ - lr_scheduler_warmup_ratio: 0.2
64
+ - num_epochs: 20
65
+
66
+ ### Training results
67
+
68
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
69
+ |:-------------:|:-----:|:-----:|:---------------:|:--------:|
70
+ | 0.646 | 1.0 | 537 | 0.6400 | 0.6420 |
71
+ | 0.5941 | 2.0 | 1074 | 0.5874 | 0.6974 |
72
+ | 0.5259 | 3.0 | 1611 | 0.5849 | 0.7142 |
73
+ | 0.5459 | 4.0 | 2148 | 0.5645 | 0.7197 |
74
+ | 0.5086 | 5.0 | 2685 | 0.5554 | 0.7230 |
75
+ | 0.5397 | 6.0 | 3222 | 0.5540 | 0.7295 |
76
+ | 0.5646 | 7.0 | 3759 | 0.5491 | 0.7272 |
77
+ | 0.4564 | 8.0 | 4296 | 0.5771 | 0.7235 |
78
+ | 0.4951 | 9.0 | 4833 | 0.5518 | 0.7267 |
79
+ | 0.5074 | 10.0 | 5370 | 0.5556 | 0.7300 |
80
+ | 0.5512 | 11.0 | 5907 | 0.5739 | 0.7165 |
81
+ | 0.5003 | 12.0 | 6444 | 0.5648 | 0.7235 |
82
+ | 0.4442 | 13.0 | 6981 | 0.5581 | 0.7230 |
83
+ | 0.4787 | 14.0 | 7518 | 0.5556 | 0.7402 |
84
+ | 0.4944 | 15.0 | 8055 | 0.5589 | 0.7342 |
85
+ | 0.4678 | 16.0 | 8592 | 0.5567 | 0.7379 |
86
+ | 0.5569 | 17.0 | 9129 | 0.5601 | 0.7314 |
87
+ | 0.4164 | 18.0 | 9666 | 0.5619 | 0.7365 |
88
+ | 0.4406 | 19.0 | 10203 | 0.5711 | 0.7309 |
89
+ | 0.453 | 20.0 | 10740 | 0.5720 | 0.7314 |
90
+
91
+
92
+ ### Framework versions
93
+
94
+ - Transformers 4.39.0.dev0
95
+ - Pytorch 2.2.1+cu121
96
+ - Datasets 2.18.0
97
+ - Tokenizers 0.15.2
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a7b9a2af241c8019502bd8a1f4fcc64662444d73c88af683aee5ea3bb2a99429
3
  size 343223968
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f50412ea0962b7301217e38beaff783e73cf204bfcb2e82cef4d820179ca5a87
3
  size 343223968
runs/Mar19_21-58-57_ip-172-16-71-114.us-west-2.compute.internal/events.out.tfevents.1710885551.ip-172-16-71-114.us-west-2.compute.internal.2867.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:55facd8a96aca5e79176badce961ea6968fd9c78fcf397958230f75ed5c70b5a
3
- size 237734
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:17395e009a5e15c6b6aa03a8804523dbbfd47f464ab92c26f83ebf2a630ec2f6
3
+ size 238088