Model save
Browse files- README.md +25 -26
- model.safetensors +1 -1
README.md
CHANGED
@@ -2,7 +2,6 @@
|
|
2 |
license: apache-2.0
|
3 |
base_model: google/vit-base-patch16-224
|
4 |
tags:
|
5 |
-
- image-classification
|
6 |
- generated_from_trainer
|
7 |
metrics:
|
8 |
- accuracy
|
@@ -19,13 +18,13 @@ should probably proofread and complete it, then remove this comment. -->
|
|
19 |
|
20 |
# vit-lr-cosine-restarts
|
21 |
|
22 |
-
This model is a fine-tuned version of [google/vit-base-patch16-224](https://huggingface.co/google/vit-base-patch16-224) on
|
23 |
It achieves the following results on the evaluation set:
|
24 |
-
- Loss: 0.
|
25 |
-
- Accuracy: 0.
|
26 |
-
- Precision: 0.
|
27 |
-
- Recall: 0.
|
28 |
-
- F1: 0.
|
29 |
|
30 |
## Model description
|
31 |
|
@@ -50,7 +49,7 @@ The following hyperparameters were used during training:
|
|
50 |
- seed: 42
|
51 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
52 |
- lr_scheduler_type: cosine_with_restarts
|
53 |
-
- lr_scheduler_warmup_steps:
|
54 |
- num_epochs: 100
|
55 |
- mixed_precision_training: Native AMP
|
56 |
|
@@ -58,24 +57,24 @@ The following hyperparameters were used during training:
|
|
58 |
|
59 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
|
60 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|:------:|
|
61 |
-
| 0.
|
62 |
-
| 0.
|
63 |
-
| 0.
|
64 |
-
| 0.
|
65 |
-
| 0.
|
66 |
-
| 0.
|
67 |
-
| 0.
|
68 |
-
| 0.
|
69 |
-
| 0.
|
70 |
-
| 0.
|
71 |
-
| 0.
|
72 |
-
| 0.
|
73 |
-
| 0.
|
74 |
-
| 0.
|
75 |
-
| 0.
|
76 |
-
| 0.
|
77 |
-
| 0.
|
78 |
-
| 0.
|
79 |
|
80 |
|
81 |
### Framework versions
|
|
|
2 |
license: apache-2.0
|
3 |
base_model: google/vit-base-patch16-224
|
4 |
tags:
|
|
|
5 |
- generated_from_trainer
|
6 |
metrics:
|
7 |
- accuracy
|
|
|
18 |
|
19 |
# vit-lr-cosine-restarts
|
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.7405
|
24 |
+
- Accuracy: 0.8533
|
25 |
+
- Precision: 0.8523
|
26 |
+
- Recall: 0.8533
|
27 |
+
- F1: 0.8511
|
28 |
|
29 |
## Model description
|
30 |
|
|
|
49 |
- seed: 42
|
50 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
51 |
- lr_scheduler_type: cosine_with_restarts
|
52 |
+
- lr_scheduler_warmup_steps: 80
|
53 |
- num_epochs: 100
|
54 |
- mixed_precision_training: Native AMP
|
55 |
|
|
|
57 |
|
58 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
|
59 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|:------:|
|
60 |
+
| 0.686 | 0.31 | 100 | 0.6707 | 0.7517 | 0.7624 | 0.7517 | 0.7445 |
|
61 |
+
| 0.4852 | 0.62 | 200 | 0.7022 | 0.7705 | 0.7858 | 0.7705 | 0.7231 |
|
62 |
+
| 0.7098 | 0.93 | 300 | 0.5637 | 0.7996 | 0.8181 | 0.7996 | 0.7973 |
|
63 |
+
| 0.4226 | 1.25 | 400 | 0.6494 | 0.7621 | 0.8137 | 0.7621 | 0.7735 |
|
64 |
+
| 0.3599 | 1.56 | 500 | 0.5214 | 0.8235 | 0.8207 | 0.8235 | 0.8109 |
|
65 |
+
| 0.3533 | 1.87 | 600 | 0.5347 | 0.8273 | 0.8392 | 0.8273 | 0.8193 |
|
66 |
+
| 0.1178 | 2.18 | 700 | 0.5425 | 0.8284 | 0.8381 | 0.8284 | 0.8277 |
|
67 |
+
| 0.2719 | 2.49 | 800 | 0.4453 | 0.8464 | 0.8464 | 0.8464 | 0.8438 |
|
68 |
+
| 0.1559 | 2.8 | 900 | 0.6127 | 0.8325 | 0.8567 | 0.8325 | 0.8284 |
|
69 |
+
| 0.1328 | 3.12 | 1000 | 0.5303 | 0.8509 | 0.8456 | 0.8509 | 0.8451 |
|
70 |
+
| 0.1756 | 3.43 | 1100 | 0.7960 | 0.8322 | 0.8366 | 0.8322 | 0.8151 |
|
71 |
+
| 0.3582 | 3.74 | 1200 | 0.6676 | 0.8343 | 0.8284 | 0.8343 | 0.8249 |
|
72 |
+
| 0.025 | 4.05 | 1300 | 0.5981 | 0.8474 | 0.8599 | 0.8474 | 0.8477 |
|
73 |
+
| 0.042 | 4.36 | 1400 | 0.8096 | 0.8162 | 0.8477 | 0.8162 | 0.8241 |
|
74 |
+
| 0.05 | 4.67 | 1500 | 0.7948 | 0.8419 | 0.8474 | 0.8419 | 0.8341 |
|
75 |
+
| 0.028 | 4.98 | 1600 | 0.6742 | 0.8457 | 0.8558 | 0.8457 | 0.8476 |
|
76 |
+
| 0.0048 | 5.3 | 1700 | 0.7833 | 0.8485 | 0.8577 | 0.8485 | 0.8500 |
|
77 |
+
| 0.0324 | 5.61 | 1800 | 0.7405 | 0.8533 | 0.8523 | 0.8533 | 0.8511 |
|
78 |
|
79 |
|
80 |
### Framework versions
|
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:d46ee26556ebc3162f0cc0a986c8df85ac9ef6bd790b99ab2e838c25e42b9e2b
|
3 |
size 343239356
|