barten commited on
Commit
4779dbd
·
1 Parent(s): ecb1665

Model save

Browse files
Files changed (2) hide show
  1. README.md +92 -0
  2. model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,92 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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-brand
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: validation
21
+ args: default
22
+ metrics:
23
+ - name: Accuracy
24
+ type: accuracy
25
+ value: 0.8411297440423654
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-brand
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.5083
36
+ - Accuracy: 0.8411
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: 16
57
+ - eval_batch_size: 16
58
+ - seed: 42
59
+ - gradient_accumulation_steps: 4
60
+ - total_train_batch_size: 64
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: 15
65
+
66
+ ### Training results
67
+
68
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
69
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
70
+ | 1.2977 | 0.99 | 106 | 1.0930 | 0.6580 |
71
+ | 0.9557 | 2.0 | 213 | 0.8573 | 0.7273 |
72
+ | 0.7349 | 3.0 | 320 | 0.7455 | 0.7617 |
73
+ | 0.5729 | 4.0 | 427 | 0.6196 | 0.8063 |
74
+ | 0.4818 | 4.99 | 533 | 0.5769 | 0.8147 |
75
+ | 0.395 | 6.0 | 640 | 0.5788 | 0.8182 |
76
+ | 0.3222 | 7.0 | 747 | 0.5594 | 0.8310 |
77
+ | 0.3729 | 8.0 | 854 | 0.5453 | 0.8252 |
78
+ | 0.265 | 8.99 | 960 | 0.5289 | 0.8389 |
79
+ | 0.2409 | 10.0 | 1067 | 0.5249 | 0.8345 |
80
+ | 0.1557 | 11.0 | 1174 | 0.5125 | 0.8433 |
81
+ | 0.1811 | 12.0 | 1281 | 0.5123 | 0.8486 |
82
+ | 0.1616 | 12.99 | 1387 | 0.5142 | 0.8491 |
83
+ | 0.1481 | 14.0 | 1494 | 0.5107 | 0.8420 |
84
+ | 0.1526 | 14.89 | 1590 | 0.5083 | 0.8411 |
85
+
86
+
87
+ ### Framework versions
88
+
89
+ - Transformers 4.35.1
90
+ - Pytorch 2.1.0+cu118
91
+ - Datasets 2.14.6
92
+ - Tokenizers 0.14.1
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:98a593577de7b02bd8924206e2d9b3944946b4bcac8dcf3851e61e2a2235192b
3
  size 343248584
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:283abd0dc02d9430703b8488ae482ea7edc41ccd2bde0b856b7e6508d01c0407
3
  size 343248584