krishna-exe
commited on
Commit
•
776135f
1
Parent(s):
82e5453
Model save
Browse files- README.md +14 -14
- model.safetensors +1 -1
README.md
CHANGED
@@ -23,7 +23,7 @@ model-index:
|
|
23 |
metrics:
|
24 |
- name: Accuracy
|
25 |
type: accuracy
|
26 |
-
value: 0.
|
27 |
---
|
28 |
|
29 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
@@ -33,8 +33,8 @@ should probably proofread and complete it, then remove this comment. -->
|
|
33 |
|
34 |
This model is a fine-tuned version of [microsoft/swin-tiny-patch4-window7-224](https://huggingface.co/microsoft/swin-tiny-patch4-window7-224) on the imagefolder dataset.
|
35 |
It achieves the following results on the evaluation set:
|
36 |
-
- Loss: 0.
|
37 |
-
- Accuracy: 0.
|
38 |
|
39 |
## Model description
|
40 |
|
@@ -54,12 +54,12 @@ More information needed
|
|
54 |
|
55 |
The following hyperparameters were used during training:
|
56 |
- learning_rate: 5e-05
|
57 |
-
- train_batch_size:
|
58 |
-
- eval_batch_size:
|
59 |
- seed: 42
|
60 |
- gradient_accumulation_steps: 4
|
61 |
-
- total_train_batch_size:
|
62 |
-
- optimizer:
|
63 |
- lr_scheduler_type: linear
|
64 |
- lr_scheduler_warmup_ratio: 0.1
|
65 |
- num_epochs: 5
|
@@ -68,16 +68,16 @@ The following hyperparameters were used during training:
|
|
68 |
|
69 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
70 |
|:-------------:|:------:|:----:|:---------------:|:--------:|
|
71 |
-
| 0.
|
72 |
-
| 0.
|
73 |
-
| 0.
|
74 |
-
| 0.
|
75 |
-
| 0.
|
76 |
|
77 |
|
78 |
### Framework versions
|
79 |
|
80 |
-
- Transformers 4.
|
81 |
- Pytorch 2.4.1+cu121
|
82 |
- Datasets 3.0.1
|
83 |
-
- Tokenizers 0.
|
|
|
23 |
metrics:
|
24 |
- name: Accuracy
|
25 |
type: accuracy
|
26 |
+
value: 0.9372822299651568
|
27 |
---
|
28 |
|
29 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
33 |
|
34 |
This model is a fine-tuned version of [microsoft/swin-tiny-patch4-window7-224](https://huggingface.co/microsoft/swin-tiny-patch4-window7-224) on the imagefolder dataset.
|
35 |
It achieves the following results on the evaluation set:
|
36 |
+
- Loss: 0.1636
|
37 |
+
- Accuracy: 0.9373
|
38 |
|
39 |
## Model description
|
40 |
|
|
|
54 |
|
55 |
The following hyperparameters were used during training:
|
56 |
- learning_rate: 5e-05
|
57 |
+
- train_batch_size: 32
|
58 |
+
- eval_batch_size: 32
|
59 |
- seed: 42
|
60 |
- gradient_accumulation_steps: 4
|
61 |
+
- total_train_batch_size: 128
|
62 |
+
- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
63 |
- lr_scheduler_type: linear
|
64 |
- lr_scheduler_warmup_ratio: 0.1
|
65 |
- num_epochs: 5
|
|
|
68 |
|
69 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
70 |
|:-------------:|:------:|:----:|:---------------:|:--------:|
|
71 |
+
| 0.8509 | 0.9877 | 20 | 0.5305 | 0.8467 |
|
72 |
+
| 0.4478 | 1.9753 | 40 | 0.3092 | 0.9094 |
|
73 |
+
| 0.3313 | 2.9630 | 60 | 0.2422 | 0.9233 |
|
74 |
+
| 0.2777 | 4.0 | 81 | 0.1716 | 0.9373 |
|
75 |
+
| 0.2465 | 4.9383 | 100 | 0.1636 | 0.9373 |
|
76 |
|
77 |
|
78 |
### Framework versions
|
79 |
|
80 |
+
- Transformers 4.46.0.dev0
|
81 |
- Pytorch 2.4.1+cu121
|
82 |
- Datasets 3.0.1
|
83 |
+
- Tokenizers 0.20.1
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 110348984
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:035707ba7def84500aaa8a6501235bc2da59c7aa8f09dcb90e5701c17922b7e4
|
3 |
size 110348984
|