Model save
Browse files- README.md +86 -0
- model.safetensors +1 -1
README.md
ADDED
@@ -0,0 +1,86 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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-dropout-0.4
|
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-dropout-0.4
|
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.5599
|
24 |
+
- Accuracy: 0.8752
|
25 |
+
- Precision: 0.8758
|
26 |
+
- Recall: 0.8752
|
27 |
+
- F1: 0.8746
|
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: 353
|
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.5638 | 1.0 | 321 | 0.9171 | 0.6259 | 0.7843 | 0.6259 | 0.6635 |
|
61 |
+
| 1.1092 | 2.0 | 642 | 0.7739 | 0.7008 | 0.7903 | 0.7008 | 0.7193 |
|
62 |
+
| 0.9892 | 3.0 | 963 | 0.6146 | 0.7781 | 0.7904 | 0.7781 | 0.7784 |
|
63 |
+
| 0.8735 | 4.0 | 1284 | 0.6262 | 0.7455 | 0.8075 | 0.7455 | 0.7616 |
|
64 |
+
| 0.8118 | 5.0 | 1605 | 0.7256 | 0.7164 | 0.8185 | 0.7164 | 0.7311 |
|
65 |
+
| 0.7794 | 6.0 | 1926 | 0.6088 | 0.7819 | 0.8201 | 0.7819 | 0.7925 |
|
66 |
+
| 0.6835 | 7.0 | 2247 | 0.5835 | 0.7625 | 0.8170 | 0.7625 | 0.7783 |
|
67 |
+
| 0.5997 | 8.0 | 2568 | 0.6476 | 0.7653 | 0.8264 | 0.7653 | 0.7821 |
|
68 |
+
| 0.5814 | 9.0 | 2889 | 0.4953 | 0.8402 | 0.8424 | 0.8402 | 0.8404 |
|
69 |
+
| 0.5134 | 10.0 | 3210 | 0.5335 | 0.8103 | 0.8534 | 0.8103 | 0.8220 |
|
70 |
+
| 0.5109 | 11.0 | 3531 | 0.5497 | 0.8124 | 0.8415 | 0.8124 | 0.8192 |
|
71 |
+
| 0.4073 | 12.0 | 3852 | 0.5754 | 0.8311 | 0.8348 | 0.8311 | 0.8316 |
|
72 |
+
| 0.3255 | 13.0 | 4173 | 0.5594 | 0.8575 | 0.8621 | 0.8575 | 0.8526 |
|
73 |
+
| 0.3288 | 14.0 | 4494 | 0.6330 | 0.8332 | 0.8607 | 0.8332 | 0.8402 |
|
74 |
+
| 0.2434 | 15.0 | 4815 | 0.5199 | 0.8606 | 0.8646 | 0.8606 | 0.8619 |
|
75 |
+
| 0.2185 | 16.0 | 5136 | 0.5325 | 0.8589 | 0.8647 | 0.8589 | 0.8605 |
|
76 |
+
| 0.1707 | 17.0 | 5457 | 0.5524 | 0.8641 | 0.8639 | 0.8641 | 0.8598 |
|
77 |
+
| 0.1702 | 18.0 | 5778 | 0.5472 | 0.8523 | 0.8612 | 0.8523 | 0.8552 |
|
78 |
+
| 0.128 | 19.0 | 6099 | 0.5599 | 0.8752 | 0.8758 | 0.8752 | 0.8746 |
|
79 |
+
|
80 |
+
|
81 |
+
### Framework versions
|
82 |
+
|
83 |
+
- Transformers 4.40.0.dev0
|
84 |
+
- Pytorch 2.2.1+cu121
|
85 |
+
- Datasets 2.18.0
|
86 |
+
- 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:e3c82375dad990f3640bccd92d6a161ad1c9a403165cd814a8ea0f987a1ffb52
|
3 |
size 343239356
|