matthieulel
commited on
Model save
Browse files- README.md +39 -41
- model.safetensors +1 -1
README.md
CHANGED
@@ -2,8 +2,6 @@
|
|
2 |
license: apache-2.0
|
3 |
base_model: google/vit-base-patch32-224-in21k
|
4 |
tags:
|
5 |
-
- image-classification
|
6 |
-
- vision
|
7 |
- generated_from_trainer
|
8 |
metrics:
|
9 |
- accuracy
|
@@ -20,13 +18,13 @@ should probably proofread and complete it, then remove this comment. -->
|
|
20 |
|
21 |
# vit-base-patch32-224-in21k-finetuned-galaxy10-decals
|
22 |
|
23 |
-
This model is a fine-tuned version of [google/vit-base-patch32-224-in21k](https://huggingface.co/google/vit-base-patch32-224-in21k) on
|
24 |
It achieves the following results on the evaluation set:
|
25 |
-
- Loss: 0.
|
26 |
-
- Accuracy: 0.
|
27 |
-
- Precision: 0.
|
28 |
-
- Recall: 0.
|
29 |
-
- F1: 0.
|
30 |
|
31 |
## Model description
|
32 |
|
@@ -46,11 +44,11 @@ More information needed
|
|
46 |
|
47 |
The following hyperparameters were used during training:
|
48 |
- learning_rate: 0.0001
|
49 |
-
- train_batch_size:
|
50 |
-
- eval_batch_size:
|
51 |
- seed: 42
|
52 |
- gradient_accumulation_steps: 4
|
53 |
-
- total_train_batch_size:
|
54 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
55 |
- lr_scheduler_type: linear
|
56 |
- lr_scheduler_warmup_ratio: 0.1
|
@@ -60,36 +58,36 @@ The following hyperparameters were used during training:
|
|
60 |
|
61 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
|
62 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|:------:|
|
63 |
-
|
|
64 |
-
|
|
65 |
-
|
|
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 |
-
| 0.
|
80 |
-
| 0.
|
81 |
-
| 0.
|
82 |
-
| 0.
|
83 |
-
| 0.
|
84 |
-
| 0.
|
85 |
-
| 0.
|
86 |
-
| 0.
|
87 |
-
| 0.
|
88 |
-
| 0.
|
89 |
-
| 0.
|
90 |
-
| 0.
|
91 |
-
| 0.
|
92 |
-
| 0.
|
93 |
|
94 |
|
95 |
### Framework versions
|
|
|
2 |
license: apache-2.0
|
3 |
base_model: google/vit-base-patch32-224-in21k
|
4 |
tags:
|
|
|
|
|
5 |
- generated_from_trainer
|
6 |
metrics:
|
7 |
- accuracy
|
|
|
18 |
|
19 |
# vit-base-patch32-224-in21k-finetuned-galaxy10-decals
|
20 |
|
21 |
+
This model is a fine-tuned version of [google/vit-base-patch32-224-in21k](https://huggingface.co/google/vit-base-patch32-224-in21k) on an unknown dataset.
|
22 |
It achieves the following results on the evaluation set:
|
23 |
+
- Loss: 0.5087
|
24 |
+
- Accuracy: 0.8388
|
25 |
+
- Precision: 0.8389
|
26 |
+
- Recall: 0.8388
|
27 |
+
- F1: 0.8378
|
28 |
|
29 |
## Model description
|
30 |
|
|
|
44 |
|
45 |
The following hyperparameters were used during training:
|
46 |
- learning_rate: 0.0001
|
47 |
+
- train_batch_size: 128
|
48 |
+
- eval_batch_size: 128
|
49 |
- seed: 42
|
50 |
- gradient_accumulation_steps: 4
|
51 |
+
- total_train_batch_size: 512
|
52 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
53 |
- lr_scheduler_type: linear
|
54 |
- lr_scheduler_warmup_ratio: 0.1
|
|
|
58 |
|
59 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
|
60 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|:------:|
|
61 |
+
| 2.0954 | 0.99 | 31 | 1.9514 | 0.3737 | 0.3322 | 0.3737 | 0.2452 |
|
62 |
+
| 1.4835 | 1.98 | 62 | 1.3284 | 0.6184 | 0.6016 | 0.6184 | 0.5878 |
|
63 |
+
| 1.1252 | 2.98 | 93 | 0.9771 | 0.7300 | 0.7400 | 0.7300 | 0.7004 |
|
64 |
+
| 0.9605 | 4.0 | 125 | 0.8374 | 0.7570 | 0.7754 | 0.7570 | 0.7368 |
|
65 |
+
| 0.8383 | 4.99 | 156 | 0.7286 | 0.7762 | 0.7728 | 0.7762 | 0.7650 |
|
66 |
+
| 0.7665 | 5.98 | 187 | 0.7256 | 0.7689 | 0.7683 | 0.7689 | 0.7586 |
|
67 |
+
| 0.7305 | 6.98 | 218 | 0.6640 | 0.7948 | 0.8031 | 0.7948 | 0.7966 |
|
68 |
+
| 0.6689 | 8.0 | 250 | 0.6792 | 0.7807 | 0.7859 | 0.7807 | 0.7708 |
|
69 |
+
| 0.6783 | 8.99 | 281 | 0.5985 | 0.8117 | 0.8076 | 0.8117 | 0.8071 |
|
70 |
+
| 0.6225 | 9.98 | 312 | 0.6118 | 0.8050 | 0.8036 | 0.8050 | 0.8025 |
|
71 |
+
| 0.6081 | 10.98 | 343 | 0.5966 | 0.8112 | 0.8108 | 0.8112 | 0.8080 |
|
72 |
+
| 0.6028 | 12.0 | 375 | 0.5708 | 0.8202 | 0.8239 | 0.8202 | 0.8199 |
|
73 |
+
| 0.6052 | 12.99 | 406 | 0.6035 | 0.8010 | 0.8116 | 0.8010 | 0.7982 |
|
74 |
+
| 0.5553 | 13.98 | 437 | 0.5542 | 0.8196 | 0.8199 | 0.8196 | 0.8143 |
|
75 |
+
| 0.5526 | 14.98 | 468 | 0.5385 | 0.8326 | 0.8346 | 0.8326 | 0.8317 |
|
76 |
+
| 0.5199 | 16.0 | 500 | 0.5298 | 0.8219 | 0.8192 | 0.8219 | 0.8172 |
|
77 |
+
| 0.4974 | 16.99 | 531 | 0.5291 | 0.8298 | 0.8306 | 0.8298 | 0.8260 |
|
78 |
+
| 0.5015 | 17.98 | 562 | 0.5244 | 0.8275 | 0.8280 | 0.8275 | 0.8267 |
|
79 |
+
| 0.4763 | 18.98 | 593 | 0.5190 | 0.8354 | 0.8357 | 0.8354 | 0.8316 |
|
80 |
+
| 0.4763 | 20.0 | 625 | 0.5241 | 0.8264 | 0.8286 | 0.8264 | 0.8249 |
|
81 |
+
| 0.4592 | 20.99 | 656 | 0.5061 | 0.8410 | 0.8439 | 0.8410 | 0.8406 |
|
82 |
+
| 0.4414 | 21.98 | 687 | 0.5207 | 0.8269 | 0.8265 | 0.8269 | 0.8260 |
|
83 |
+
| 0.4372 | 22.98 | 718 | 0.5342 | 0.8253 | 0.8283 | 0.8253 | 0.8254 |
|
84 |
+
| 0.4118 | 24.0 | 750 | 0.5256 | 0.8275 | 0.8291 | 0.8275 | 0.8274 |
|
85 |
+
| 0.4319 | 24.99 | 781 | 0.5055 | 0.8422 | 0.8413 | 0.8422 | 0.8406 |
|
86 |
+
| 0.3807 | 25.98 | 812 | 0.5187 | 0.8377 | 0.8375 | 0.8377 | 0.8361 |
|
87 |
+
| 0.4066 | 26.98 | 843 | 0.5203 | 0.8348 | 0.8333 | 0.8348 | 0.8326 |
|
88 |
+
| 0.376 | 28.0 | 875 | 0.5128 | 0.8365 | 0.8361 | 0.8365 | 0.8348 |
|
89 |
+
| 0.3992 | 28.99 | 906 | 0.5108 | 0.8377 | 0.8375 | 0.8377 | 0.8364 |
|
90 |
+
| 0.3743 | 29.76 | 930 | 0.5087 | 0.8388 | 0.8389 | 0.8388 | 0.8378 |
|
91 |
|
92 |
|
93 |
### Framework versions
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 349874904
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4e2f083d982a4efc440ca1df6881e4422e728b36700e8a12f7d3879b378bf445
|
3 |
size 349874904
|