vuongnhathien commited on
Commit
c7fe548
1 Parent(s): 63d2a2d

Model save

Browse files
README.md ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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-1e-4-15ep
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.8867063492063492
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-1e-4-15ep
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.3897
36
+ - Accuracy: 0.8867
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: 0.0001
56
+ - train_batch_size: 64
57
+ - eval_batch_size: 16
58
+ - seed: 42
59
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
60
+ - lr_scheduler_type: cosine
61
+ - num_epochs: 15
62
+
63
+ ### Training results
64
+
65
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
66
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
67
+ | 0.5399 | 1.0 | 275 | 0.4756 | 0.8676 |
68
+ | 0.2126 | 2.0 | 550 | 0.4134 | 0.8875 |
69
+ | 0.0726 | 3.0 | 825 | 0.4687 | 0.8775 |
70
+ | 0.0345 | 4.0 | 1100 | 0.4552 | 0.8883 |
71
+ | 0.0123 | 5.0 | 1375 | 0.5129 | 0.8851 |
72
+ | 0.0068 | 6.0 | 1650 | 0.4877 | 0.8954 |
73
+ | 0.0063 | 7.0 | 1925 | 0.4667 | 0.9018 |
74
+ | 0.0055 | 8.0 | 2200 | 0.4697 | 0.9030 |
75
+ | 0.0021 | 9.0 | 2475 | 0.4620 | 0.9054 |
76
+ | 0.0039 | 10.0 | 2750 | 0.4652 | 0.9058 |
77
+ | 0.0027 | 11.0 | 3025 | 0.4658 | 0.9058 |
78
+ | 0.0024 | 12.0 | 3300 | 0.4668 | 0.9078 |
79
+ | 0.0021 | 13.0 | 3575 | 0.4671 | 0.9078 |
80
+ | 0.0019 | 14.0 | 3850 | 0.4681 | 0.9062 |
81
+ | 0.002 | 15.0 | 4125 | 0.4682 | 0.9062 |
82
+
83
+
84
+ ### Framework versions
85
+
86
+ - Transformers 4.39.3
87
+ - Pytorch 2.1.2
88
+ - Datasets 2.18.0
89
+ - Tokenizers 0.15.2
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ddd9d737aaa6ee11d90e8d5a4ad0bbf1f5f994fe7d61c2f1d4ddefea6bd0277c
3
  size 343310104
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3fc33ec9751a10a84db9942f27293d8d5f4001b9742623d57737aac872832b18
3
  size 343310104
runs/May22_17-51-57_b07288781ee0/events.out.tfevents.1716412078.b07288781ee0.25.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:990f76511f2a745aaa80ebb2492d8f754bd8f949390651456d398dbb0e41e6c3
3
+ size 411