Model save
Browse files- README.md +70 -0
- model.safetensors +1 -1
README.md
ADDED
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: microsoft/swin-base-patch4-window7-224-in22k
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
datasets:
|
7 |
+
- imagefolder
|
8 |
+
model-index:
|
9 |
+
- name: swin-base-patch4-window7-224-in22k-Kontur-competition-1.4K
|
10 |
+
results: []
|
11 |
+
---
|
12 |
+
|
13 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
14 |
+
should probably proofread and complete it, then remove this comment. -->
|
15 |
+
|
16 |
+
# swin-base-patch4-window7-224-in22k-Kontur-competition-1.4K
|
17 |
+
|
18 |
+
This model is a fine-tuned version of [microsoft/swin-base-patch4-window7-224-in22k](https://huggingface.co/microsoft/swin-base-patch4-window7-224-in22k) on the imagefolder dataset.
|
19 |
+
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 0.1231
|
21 |
+
|
22 |
+
## Model description
|
23 |
+
|
24 |
+
More information needed
|
25 |
+
|
26 |
+
## Intended uses & limitations
|
27 |
+
|
28 |
+
More information needed
|
29 |
+
|
30 |
+
## Training and evaluation data
|
31 |
+
|
32 |
+
More information needed
|
33 |
+
|
34 |
+
## Training procedure
|
35 |
+
|
36 |
+
### Training hyperparameters
|
37 |
+
|
38 |
+
The following hyperparameters were used during training:
|
39 |
+
- learning_rate: 5e-05
|
40 |
+
- train_batch_size: 64
|
41 |
+
- eval_batch_size: 64
|
42 |
+
- seed: 42
|
43 |
+
- gradient_accumulation_steps: 4
|
44 |
+
- total_train_batch_size: 256
|
45 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
46 |
+
- lr_scheduler_type: linear
|
47 |
+
- lr_scheduler_warmup_ratio: 0.1
|
48 |
+
- num_epochs: 10
|
49 |
+
|
50 |
+
### Training results
|
51 |
+
|
52 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
53 |
+
|:-------------:|:-----:|:----:|:---------------:|
|
54 |
+
| No log | 0.84 | 4 | 0.5903 |
|
55 |
+
| No log | 1.89 | 9 | 0.3203 |
|
56 |
+
| 0.5582 | 2.95 | 14 | 0.2520 |
|
57 |
+
| 0.5582 | 4.0 | 19 | 0.0906 |
|
58 |
+
| 0.1094 | 4.84 | 23 | 0.0549 |
|
59 |
+
| 0.1094 | 5.89 | 28 | 0.1439 |
|
60 |
+
| 0.0533 | 6.95 | 33 | 0.0675 |
|
61 |
+
| 0.0533 | 8.0 | 38 | 0.1214 |
|
62 |
+
| 0.0144 | 8.42 | 40 | 0.1231 |
|
63 |
+
|
64 |
+
|
65 |
+
### Framework versions
|
66 |
+
|
67 |
+
- Transformers 4.39.3
|
68 |
+
- Pytorch 2.1.2
|
69 |
+
- Datasets 2.18.0
|
70 |
+
- 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 347498816
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:043818d06f3c32a4c82f7ee794904f944daf239073ea890855e13259d05a5e30
|
3 |
size 347498816
|