pthpth commited on
Commit
fe3f66e
·
1 Parent(s): ceb6e7d

update model card README.md

Browse files
Files changed (1) hide show
  1. README.md +89 -0
README.md ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ tags:
4
+ - generated_from_trainer
5
+ datasets:
6
+ - imagefolder
7
+ metrics:
8
+ - accuracy
9
+ model-index:
10
+ - name: ViTFineTuned
11
+ results:
12
+ - task:
13
+ name: Image Classification
14
+ type: image-classification
15
+ dataset:
16
+ name: imagefolder
17
+ type: imagefolder
18
+ args: default
19
+ metrics:
20
+ - name: Accuracy
21
+ type: accuracy
22
+ value: 0.9976019184652278
23
+ ---
24
+
25
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
26
+ should probably proofread and complete it, then remove this comment. -->
27
+
28
+ # ViTFineTuned
29
+
30
+ 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.
31
+ It achieves the following results on the evaluation set:
32
+ - Loss: 0.0060
33
+ - Accuracy: 0.9976
34
+
35
+ ## Model description
36
+
37
+ More information needed
38
+
39
+ ## Intended uses & limitations
40
+
41
+ More information needed
42
+
43
+ ## Training and evaluation data
44
+
45
+ More information needed
46
+
47
+ ## Training procedure
48
+
49
+ ### Training hyperparameters
50
+
51
+ The following hyperparameters were used during training:
52
+ - learning_rate: 0.0005
53
+ - train_batch_size: 16
54
+ - eval_batch_size: 16
55
+ - seed: 42
56
+ - gradient_accumulation_steps: 4
57
+ - total_train_batch_size: 64
58
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
59
+ - lr_scheduler_type: linear
60
+ - lr_scheduler_warmup_ratio: 0.1
61
+ - num_epochs: 15
62
+
63
+ ### Training results
64
+
65
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
66
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
67
+ | 0.2859 | 0.99 | 67 | 0.2180 | 0.9784 |
68
+ | 0.293 | 1.99 | 134 | 0.3308 | 0.9185 |
69
+ | 0.1444 | 2.99 | 201 | 0.1532 | 0.9568 |
70
+ | 0.0833 | 3.99 | 268 | 0.0515 | 0.9856 |
71
+ | 0.1007 | 4.99 | 335 | 0.0295 | 0.9904 |
72
+ | 0.0372 | 5.99 | 402 | 0.0574 | 0.9808 |
73
+ | 0.0919 | 6.99 | 469 | 0.0537 | 0.9880 |
74
+ | 0.0135 | 7.99 | 536 | 0.0117 | 0.9952 |
75
+ | 0.0472 | 8.99 | 603 | 0.0075 | 1.0 |
76
+ | 0.0151 | 9.99 | 670 | 0.0048 | 1.0 |
77
+ | 0.0052 | 10.99 | 737 | 0.0073 | 0.9976 |
78
+ | 0.0109 | 11.99 | 804 | 0.0198 | 0.9952 |
79
+ | 0.0033 | 12.99 | 871 | 0.0066 | 0.9976 |
80
+ | 0.011 | 13.99 | 938 | 0.0067 | 0.9976 |
81
+ | 0.0032 | 14.99 | 1005 | 0.0060 | 0.9976 |
82
+
83
+
84
+ ### Framework versions
85
+
86
+ - Transformers 4.20.1
87
+ - Pytorch 1.12.0+cu113
88
+ - Datasets 2.3.2
89
+ - Tokenizers 0.12.1