gcperk20 commited on
Commit
c4fe7d1
·
1 Parent(s): b680add

Model save

Browse files
README.md ADDED
@@ -0,0 +1,97 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: facebook/deit-base-patch16-224
4
+ tags:
5
+ - generated_from_trainer
6
+ datasets:
7
+ - imagefolder
8
+ metrics:
9
+ - accuracy
10
+ model-index:
11
+ - name: deit-base-patch16-224-finetuned-piid
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: val
21
+ args: default
22
+ metrics:
23
+ - name: Accuracy
24
+ type: accuracy
25
+ value: 0.776255707762557
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
+ # deit-base-patch16-224-finetuned-piid
32
+
33
+ This model is a fine-tuned version of [facebook/deit-base-patch16-224](https://huggingface.co/facebook/deit-base-patch16-224) on the imagefolder dataset.
34
+ It achieves the following results on the evaluation set:
35
+ - Loss: 0.5887
36
+ - Accuracy: 0.7763
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: 8
57
+ - eval_batch_size: 8
58
+ - seed: 42
59
+ - gradient_accumulation_steps: 4
60
+ - total_train_batch_size: 32
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: 20
65
+
66
+ ### Training results
67
+
68
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
69
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
70
+ | 1.1855 | 0.98 | 20 | 1.0396 | 0.5342 |
71
+ | 0.6397 | 2.0 | 41 | 0.7949 | 0.6347 |
72
+ | 0.5604 | 2.98 | 61 | 0.6523 | 0.6986 |
73
+ | 0.4119 | 4.0 | 82 | 0.5109 | 0.7580 |
74
+ | 0.3747 | 4.98 | 102 | 0.5280 | 0.7580 |
75
+ | 0.2567 | 6.0 | 123 | 0.5559 | 0.7717 |
76
+ | 0.1925 | 6.98 | 143 | 0.5567 | 0.7717 |
77
+ | 0.1934 | 8.0 | 164 | 0.5273 | 0.7763 |
78
+ | 0.2131 | 8.98 | 184 | 0.6065 | 0.7534 |
79
+ | 0.1692 | 10.0 | 205 | 0.5078 | 0.7808 |
80
+ | 0.1775 | 10.98 | 225 | 0.5250 | 0.7763 |
81
+ | 0.1345 | 12.0 | 246 | 0.5736 | 0.7900 |
82
+ | 0.1113 | 12.98 | 266 | 0.5664 | 0.7717 |
83
+ | 0.1178 | 14.0 | 287 | 0.6144 | 0.7763 |
84
+ | 0.1464 | 14.98 | 307 | 0.5706 | 0.7763 |
85
+ | 0.0787 | 16.0 | 328 | 0.5619 | 0.7763 |
86
+ | 0.0659 | 16.98 | 348 | 0.6397 | 0.7717 |
87
+ | 0.1043 | 18.0 | 369 | 0.5851 | 0.8037 |
88
+ | 0.0674 | 18.98 | 389 | 0.5880 | 0.7717 |
89
+ | 0.0782 | 19.51 | 400 | 0.5887 | 0.7763 |
90
+
91
+
92
+ ### Framework versions
93
+
94
+ - Transformers 4.35.0
95
+ - Pytorch 2.1.0+cu118
96
+ - Datasets 2.14.6
97
+ - Tokenizers 0.14.1
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b6f14b80087edeed73ce9b8af2310a863ade7d95bb7bfc9fe0d8cd5271a1008e
3
  size 343230128
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7289f6853732ae518d67a5f74c13f02813464b11d842169653d1c1422bb1bcb7
3
  size 343230128
runs/Nov02_22-14-03_a4709a859fdb/events.out.tfevents.1698963256.a4709a859fdb.1287.9 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:bb92576ff050777a3d806271b26b57df459a41b186b214fb9b7e25f1662343e1
3
- size 16497
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:29a1ab5549f00bca0efe8a199225c1d28e44fcc8a366628ba6b70c22dfe2a343
3
+ size 17331