Model save
Browse files- README.md +94 -0
- model.safetensors +1 -1
README.md
ADDED
@@ -0,0 +1,94 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: google/vit-base-patch16-224
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- accuracy
|
8 |
+
- precision
|
9 |
+
- recall
|
10 |
+
- f1
|
11 |
+
model-index:
|
12 |
+
- name: vit-weight-decay-1e-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-weight-decay-1e-2
|
20 |
+
|
21 |
+
This model is a fine-tuned version of [google/vit-base-patch16-224](https://huggingface.co/google/vit-base-patch16-224) on an unknown dataset.
|
22 |
+
It achieves the following results on the evaluation set:
|
23 |
+
- Loss: 0.5839
|
24 |
+
- Accuracy: 0.8786
|
25 |
+
- Precision: 0.8753
|
26 |
+
- Recall: 0.8786
|
27 |
+
- F1: 0.8761
|
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.0001
|
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: cosine
|
52 |
+
- lr_scheduler_warmup_steps: 1219
|
53 |
+
- num_epochs: 100
|
54 |
+
- mixed_precision_training: Native AMP
|
55 |
+
|
56 |
+
### Training results
|
57 |
+
|
58 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
|
59 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|:------:|
|
60 |
+
| 1.7124 | 1.0 | 321 | 0.8697 | 0.6924 | 0.6656 | 0.6924 | 0.6030 |
|
61 |
+
| 1.1476 | 2.0 | 642 | 0.7271 | 0.6990 | 0.7684 | 0.6990 | 0.7149 |
|
62 |
+
| 1.0734 | 3.0 | 963 | 0.6441 | 0.7687 | 0.7568 | 0.7687 | 0.7417 |
|
63 |
+
| 1.0271 | 4.0 | 1284 | 0.5855 | 0.7774 | 0.7883 | 0.7774 | 0.7814 |
|
64 |
+
| 0.9158 | 5.0 | 1605 | 0.7002 | 0.7635 | 0.7930 | 0.7635 | 0.7662 |
|
65 |
+
| 0.9167 | 6.0 | 1926 | 0.5867 | 0.7812 | 0.8065 | 0.7812 | 0.7900 |
|
66 |
+
| 0.786 | 7.0 | 2247 | 0.6517 | 0.7340 | 0.8047 | 0.7340 | 0.7515 |
|
67 |
+
| 0.7406 | 8.0 | 2568 | 0.6647 | 0.7067 | 0.8134 | 0.7067 | 0.7330 |
|
68 |
+
| 0.682 | 9.0 | 2889 | 0.5106 | 0.8228 | 0.8231 | 0.8228 | 0.8207 |
|
69 |
+
| 0.6427 | 10.0 | 3210 | 0.5032 | 0.8166 | 0.8354 | 0.8166 | 0.8222 |
|
70 |
+
| 0.5663 | 11.0 | 3531 | 0.5358 | 0.8152 | 0.8326 | 0.8152 | 0.8216 |
|
71 |
+
| 0.5395 | 12.0 | 3852 | 0.5488 | 0.8249 | 0.8392 | 0.8249 | 0.8299 |
|
72 |
+
| 0.4468 | 13.0 | 4173 | 0.5790 | 0.8232 | 0.8397 | 0.8232 | 0.8260 |
|
73 |
+
| 0.4247 | 14.0 | 4494 | 0.5438 | 0.8415 | 0.8570 | 0.8415 | 0.8449 |
|
74 |
+
| 0.3495 | 15.0 | 4815 | 0.5135 | 0.8454 | 0.8519 | 0.8454 | 0.8467 |
|
75 |
+
| 0.3039 | 16.0 | 5136 | 0.5631 | 0.8408 | 0.8520 | 0.8408 | 0.8448 |
|
76 |
+
| 0.2602 | 17.0 | 5457 | 0.4994 | 0.8603 | 0.8618 | 0.8603 | 0.8600 |
|
77 |
+
| 0.2616 | 18.0 | 5778 | 0.5406 | 0.8564 | 0.8622 | 0.8564 | 0.8585 |
|
78 |
+
| 0.1876 | 19.0 | 6099 | 0.5612 | 0.8481 | 0.8629 | 0.8481 | 0.8525 |
|
79 |
+
| 0.2052 | 20.0 | 6420 | 0.6803 | 0.8429 | 0.8502 | 0.8429 | 0.8428 |
|
80 |
+
| 0.1533 | 21.0 | 6741 | 0.5464 | 0.8734 | 0.8698 | 0.8734 | 0.8709 |
|
81 |
+
| 0.1175 | 22.0 | 7062 | 0.5573 | 0.8686 | 0.8667 | 0.8686 | 0.8673 |
|
82 |
+
| 0.1218 | 23.0 | 7383 | 0.6043 | 0.8703 | 0.8681 | 0.8703 | 0.8669 |
|
83 |
+
| 0.114 | 24.0 | 7704 | 0.5945 | 0.8710 | 0.8706 | 0.8710 | 0.8693 |
|
84 |
+
| 0.104 | 25.0 | 8025 | 0.5850 | 0.8766 | 0.8753 | 0.8766 | 0.8752 |
|
85 |
+
| 0.0752 | 26.0 | 8346 | 0.5868 | 0.8783 | 0.8747 | 0.8783 | 0.8757 |
|
86 |
+
| 0.1309 | 27.0 | 8667 | 0.5839 | 0.8786 | 0.8753 | 0.8786 | 0.8761 |
|
87 |
+
|
88 |
+
|
89 |
+
### Framework versions
|
90 |
+
|
91 |
+
- Transformers 4.40.0.dev0
|
92 |
+
- Pytorch 2.2.1+cu121
|
93 |
+
- Datasets 2.18.0
|
94 |
+
- 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 343239356
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bec058a6199be5a345f2e91fcbc6d7308cf28ff01e08ff85d9312ca5415d5fb4
|
3 |
size 343239356
|