matthieulel
commited on
Commit
•
d66e686
1
Parent(s):
d41f70b
Model save
Browse files- README.md +98 -0
- model.safetensors +1 -1
README.md
ADDED
@@ -0,0 +1,98 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: microsoft/swinv2-small-patch4-window8-256
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- accuracy
|
8 |
+
- precision
|
9 |
+
- recall
|
10 |
+
- f1
|
11 |
+
model-index:
|
12 |
+
- name: swinv2-small-patch4-window8-256-finetuned-galaxy10-decals
|
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 |
+
# swinv2-small-patch4-window8-256-finetuned-galaxy10-decals
|
20 |
+
|
21 |
+
This model is a fine-tuned version of [microsoft/swinv2-small-patch4-window8-256](https://huggingface.co/microsoft/swinv2-small-patch4-window8-256) on an unknown dataset.
|
22 |
+
It achieves the following results on the evaluation set:
|
23 |
+
- Loss: 0.4389
|
24 |
+
- Accuracy: 0.8630
|
25 |
+
- Precision: 0.8624
|
26 |
+
- Recall: 0.8630
|
27 |
+
- F1: 0.8612
|
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: 5e-05
|
47 |
+
- train_batch_size: 64
|
48 |
+
- eval_batch_size: 64
|
49 |
+
- seed: 42
|
50 |
+
- gradient_accumulation_steps: 4
|
51 |
+
- total_train_batch_size: 256
|
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
|
55 |
+
- num_epochs: 30
|
56 |
+
|
57 |
+
### Training results
|
58 |
+
|
59 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
|
60 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|:------:|
|
61 |
+
| 1.6991 | 0.99 | 62 | 1.4106 | 0.5011 | 0.4620 | 0.5011 | 0.4641 |
|
62 |
+
| 0.9843 | 2.0 | 125 | 0.8254 | 0.7148 | 0.7390 | 0.7148 | 0.7097 |
|
63 |
+
| 0.8115 | 2.99 | 187 | 0.6271 | 0.7773 | 0.7700 | 0.7773 | 0.7671 |
|
64 |
+
| 0.6956 | 4.0 | 250 | 0.5679 | 0.8061 | 0.8029 | 0.8061 | 0.7967 |
|
65 |
+
| 0.6167 | 4.99 | 312 | 0.5484 | 0.8281 | 0.8271 | 0.8281 | 0.8247 |
|
66 |
+
| 0.6291 | 6.0 | 375 | 0.5184 | 0.8191 | 0.8241 | 0.8191 | 0.8123 |
|
67 |
+
| 0.6113 | 6.99 | 437 | 0.5175 | 0.8134 | 0.8149 | 0.8134 | 0.8097 |
|
68 |
+
| 0.5468 | 8.0 | 500 | 0.4897 | 0.8309 | 0.8363 | 0.8309 | 0.8283 |
|
69 |
+
| 0.567 | 8.99 | 562 | 0.4459 | 0.8568 | 0.8594 | 0.8568 | 0.8529 |
|
70 |
+
| 0.5449 | 10.0 | 625 | 0.4544 | 0.8393 | 0.8390 | 0.8393 | 0.8353 |
|
71 |
+
| 0.5437 | 10.99 | 687 | 0.4528 | 0.8388 | 0.8410 | 0.8388 | 0.8375 |
|
72 |
+
| 0.4754 | 12.0 | 750 | 0.4524 | 0.8422 | 0.8421 | 0.8422 | 0.8396 |
|
73 |
+
| 0.5121 | 12.99 | 812 | 0.4840 | 0.8382 | 0.8415 | 0.8382 | 0.8349 |
|
74 |
+
| 0.5074 | 14.0 | 875 | 0.4138 | 0.8647 | 0.8650 | 0.8647 | 0.8612 |
|
75 |
+
| 0.4567 | 14.99 | 937 | 0.4339 | 0.8484 | 0.8479 | 0.8484 | 0.8473 |
|
76 |
+
| 0.4686 | 16.0 | 1000 | 0.4391 | 0.8540 | 0.8521 | 0.8540 | 0.8504 |
|
77 |
+
| 0.414 | 16.99 | 1062 | 0.4626 | 0.8422 | 0.8443 | 0.8422 | 0.8388 |
|
78 |
+
| 0.4382 | 18.0 | 1125 | 0.4116 | 0.8568 | 0.8558 | 0.8568 | 0.8541 |
|
79 |
+
| 0.4322 | 18.99 | 1187 | 0.4506 | 0.8512 | 0.8529 | 0.8512 | 0.8496 |
|
80 |
+
| 0.4424 | 20.0 | 1250 | 0.4300 | 0.8568 | 0.8542 | 0.8568 | 0.8538 |
|
81 |
+
| 0.4062 | 20.99 | 1312 | 0.4609 | 0.8608 | 0.8597 | 0.8608 | 0.8578 |
|
82 |
+
| 0.4459 | 22.0 | 1375 | 0.4517 | 0.8568 | 0.8580 | 0.8568 | 0.8551 |
|
83 |
+
| 0.4109 | 22.99 | 1437 | 0.4490 | 0.8534 | 0.8534 | 0.8534 | 0.8513 |
|
84 |
+
| 0.3984 | 24.0 | 1500 | 0.4434 | 0.8619 | 0.8606 | 0.8619 | 0.8601 |
|
85 |
+
| 0.4034 | 24.99 | 1562 | 0.4613 | 0.8596 | 0.8577 | 0.8596 | 0.8571 |
|
86 |
+
| 0.3682 | 26.0 | 1625 | 0.4493 | 0.8596 | 0.8591 | 0.8596 | 0.8573 |
|
87 |
+
| 0.3779 | 26.99 | 1687 | 0.4366 | 0.8591 | 0.8581 | 0.8591 | 0.8575 |
|
88 |
+
| 0.3965 | 28.0 | 1750 | 0.4370 | 0.8636 | 0.8616 | 0.8636 | 0.8609 |
|
89 |
+
| 0.3712 | 28.99 | 1812 | 0.4380 | 0.8591 | 0.8576 | 0.8591 | 0.8568 |
|
90 |
+
| 0.3776 | 29.76 | 1860 | 0.4389 | 0.8630 | 0.8624 | 0.8630 | 0.8612 |
|
91 |
+
|
92 |
+
|
93 |
+
### Framework versions
|
94 |
+
|
95 |
+
- Transformers 4.37.2
|
96 |
+
- Pytorch 2.3.0
|
97 |
+
- Datasets 2.19.1
|
98 |
+
- Tokenizers 0.15.1
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 195930072
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9cb055fa218074ae16459da9309ef243d53bf1ccc9db10bd1ca03cf2daea02d0
|
3 |
size 195930072
|