Model save
Browse files
README.md
ADDED
@@ -0,0 +1,109 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: google/vit-base-patch16-224-in21k
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- accuracy
|
8 |
+
- precision
|
9 |
+
- recall
|
10 |
+
- f1
|
11 |
+
model-index:
|
12 |
+
- name: ViT_Flower102_2
|
13 |
+
results: []
|
14 |
+
---
|
15 |
+
|
16 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
17 |
+
should probably proofread and complete it, then remove this comment. -->
|
18 |
+
|
19 |
+
# ViT_Flower102_2
|
20 |
+
|
21 |
+
This model is a fine-tuned version of [google/vit-base-patch16-224-in21k](https://huggingface.co/google/vit-base-patch16-224-in21k) on an unknown dataset.
|
22 |
+
It achieves the following results on the evaluation set:
|
23 |
+
- Loss: 0.1533
|
24 |
+
- Accuracy: 0.9716
|
25 |
+
- Precision: 0.9716
|
26 |
+
- Recall: 0.9716
|
27 |
+
- F1: 0.9716
|
28 |
+
|
29 |
+
## Model description
|
30 |
+
|
31 |
+
More information needed
|
32 |
+
|
33 |
+
## Intended uses & limitations
|
34 |
+
|
35 |
+
More information needed
|
36 |
+
|
37 |
+
## Training and evaluation data
|
38 |
+
|
39 |
+
More information needed
|
40 |
+
|
41 |
+
## Training procedure
|
42 |
+
|
43 |
+
### Training hyperparameters
|
44 |
+
|
45 |
+
The following hyperparameters were used during training:
|
46 |
+
- learning_rate: 0.0002
|
47 |
+
- train_batch_size: 16
|
48 |
+
- eval_batch_size: 8
|
49 |
+
- seed: 42
|
50 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
51 |
+
- lr_scheduler_type: linear
|
52 |
+
- num_epochs: 10
|
53 |
+
|
54 |
+
### Training results
|
55 |
+
|
56 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
|
57 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|:------:|
|
58 |
+
| 0.053 | 0.22 | 100 | 0.3198 | 0.9235 | 0.9235 | 0.9235 | 0.9235 |
|
59 |
+
| 0.1225 | 0.45 | 200 | 0.4087 | 0.9167 | 0.9167 | 0.9167 | 0.9167 |
|
60 |
+
| 0.1985 | 0.67 | 300 | 0.2068 | 0.9569 | 0.9569 | 0.9569 | 0.9569 |
|
61 |
+
| 0.0804 | 0.89 | 400 | 0.3181 | 0.9333 | 0.9333 | 0.9333 | 0.9333 |
|
62 |
+
| 0.1672 | 1.11 | 500 | 0.3582 | 0.9275 | 0.9275 | 0.9275 | 0.9275 |
|
63 |
+
| 0.1287 | 1.34 | 600 | 0.2700 | 0.9451 | 0.9451 | 0.9451 | 0.9451 |
|
64 |
+
| 0.0147 | 1.56 | 700 | 0.3691 | 0.9206 | 0.9206 | 0.9206 | 0.9206 |
|
65 |
+
| 0.0416 | 1.78 | 800 | 0.2535 | 0.9471 | 0.9471 | 0.9471 | 0.9471 |
|
66 |
+
| 0.0211 | 2.0 | 900 | 0.2575 | 0.9471 | 0.9471 | 0.9471 | 0.9471 |
|
67 |
+
| 0.088 | 2.23 | 1000 | 0.1908 | 0.9529 | 0.9529 | 0.9529 | 0.9529 |
|
68 |
+
| 0.1849 | 2.45 | 1100 | 0.2201 | 0.9529 | 0.9529 | 0.9529 | 0.9529 |
|
69 |
+
| 0.0009 | 2.67 | 1200 | 0.2229 | 0.9549 | 0.9549 | 0.9549 | 0.9549 |
|
70 |
+
| 0.0599 | 2.9 | 1300 | 0.1781 | 0.9608 | 0.9608 | 0.9608 | 0.9608 |
|
71 |
+
| 0.0004 | 3.12 | 1400 | 0.1751 | 0.9667 | 0.9667 | 0.9667 | 0.9667 |
|
72 |
+
| 0.0004 | 3.34 | 1500 | 0.1684 | 0.9686 | 0.9686 | 0.9686 | 0.9686 |
|
73 |
+
| 0.0352 | 3.56 | 1600 | 0.1502 | 0.9755 | 0.9755 | 0.9755 | 0.9755 |
|
74 |
+
| 0.0003 | 3.79 | 1700 | 0.1597 | 0.9745 | 0.9745 | 0.9745 | 0.9745 |
|
75 |
+
| 0.0003 | 4.01 | 1800 | 0.2573 | 0.9559 | 0.9559 | 0.9559 | 0.9559 |
|
76 |
+
| 0.0005 | 4.23 | 1900 | 0.1907 | 0.9667 | 0.9667 | 0.9667 | 0.9667 |
|
77 |
+
| 0.0741 | 4.45 | 2000 | 0.2038 | 0.9637 | 0.9637 | 0.9637 | 0.9637 |
|
78 |
+
| 0.0025 | 4.68 | 2100 | 0.1929 | 0.9647 | 0.9647 | 0.9647 | 0.9647 |
|
79 |
+
| 0.0293 | 4.9 | 2200 | 0.1740 | 0.9608 | 0.9608 | 0.9608 | 0.9608 |
|
80 |
+
| 0.0003 | 5.12 | 2300 | 0.2598 | 0.9569 | 0.9569 | 0.9569 | 0.9569 |
|
81 |
+
| 0.0037 | 5.35 | 2400 | 0.1772 | 0.9618 | 0.9618 | 0.9618 | 0.9618 |
|
82 |
+
| 0.0213 | 5.57 | 2500 | 0.2911 | 0.9520 | 0.9520 | 0.9520 | 0.9520 |
|
83 |
+
| 0.027 | 5.79 | 2600 | 0.2540 | 0.9520 | 0.9520 | 0.9520 | 0.9520 |
|
84 |
+
| 0.0155 | 6.01 | 2700 | 0.2252 | 0.9549 | 0.9549 | 0.9549 | 0.9549 |
|
85 |
+
| 0.0002 | 6.24 | 2800 | 0.3040 | 0.9431 | 0.9431 | 0.9431 | 0.9431 |
|
86 |
+
| 0.011 | 6.46 | 2900 | 0.1923 | 0.9598 | 0.9598 | 0.9598 | 0.9598 |
|
87 |
+
| 0.0006 | 6.68 | 3000 | 0.2089 | 0.9637 | 0.9637 | 0.9637 | 0.9637 |
|
88 |
+
| 0.0002 | 6.9 | 3100 | 0.2206 | 0.9578 | 0.9578 | 0.9578 | 0.9578 |
|
89 |
+
| 0.0006 | 7.13 | 3200 | 0.2267 | 0.9627 | 0.9627 | 0.9627 | 0.9627 |
|
90 |
+
| 0.0001 | 7.35 | 3300 | 0.1735 | 0.9637 | 0.9637 | 0.9637 | 0.9637 |
|
91 |
+
| 0.0001 | 7.57 | 3400 | 0.1611 | 0.9686 | 0.9686 | 0.9686 | 0.9686 |
|
92 |
+
| 0.0003 | 7.8 | 3500 | 0.1584 | 0.9676 | 0.9676 | 0.9676 | 0.9676 |
|
93 |
+
| 0.0001 | 8.02 | 3600 | 0.1591 | 0.9716 | 0.9716 | 0.9716 | 0.9716 |
|
94 |
+
| 0.0005 | 8.24 | 3700 | 0.1596 | 0.9706 | 0.9706 | 0.9706 | 0.9706 |
|
95 |
+
| 0.0002 | 8.46 | 3800 | 0.1563 | 0.9716 | 0.9716 | 0.9716 | 0.9716 |
|
96 |
+
| 0.0002 | 8.69 | 3900 | 0.1550 | 0.9716 | 0.9716 | 0.9716 | 0.9716 |
|
97 |
+
| 0.0001 | 8.91 | 4000 | 0.1542 | 0.9706 | 0.9706 | 0.9706 | 0.9706 |
|
98 |
+
| 0.0001 | 9.13 | 4100 | 0.1538 | 0.9716 | 0.9716 | 0.9716 | 0.9716 |
|
99 |
+
| 0.0001 | 9.35 | 4200 | 0.1536 | 0.9716 | 0.9716 | 0.9716 | 0.9716 |
|
100 |
+
| 0.0001 | 9.58 | 4300 | 0.1534 | 0.9716 | 0.9716 | 0.9716 | 0.9716 |
|
101 |
+
| 0.0001 | 9.8 | 4400 | 0.1533 | 0.9716 | 0.9716 | 0.9716 | 0.9716 |
|
102 |
+
|
103 |
+
|
104 |
+
### Framework versions
|
105 |
+
|
106 |
+
- Transformers 4.39.3
|
107 |
+
- Pytorch 2.2.1+cu121
|
108 |
+
- Datasets 2.18.0
|
109 |
+
- Tokenizers 0.15.2
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 343679232
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c03d2f94a292380b6648273d841a4d318d915f5424bbc4c20a13620b72e6be8a
|
3 |
size 343679232
|
runs/Apr03_09-11-38_66437d7433cf/events.out.tfevents.1712135532.66437d7433cf.8793.3
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b2fd93a2a04250dc423b035e23e06d290a9b7a5607afcbe8a2ba4a41338bf848
|
3 |
+
size 123641
|