rukundob451
commited on
Commit
•
447e614
1
Parent(s):
238c94d
Model save
Browse files- README.md +25 -24
- model.safetensors +1 -1
README.md
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
---
|
|
|
2 |
license: apache-2.0
|
3 |
base_model: facebook/deit-tiny-patch16-224
|
4 |
tags:
|
@@ -22,7 +23,7 @@ model-index:
|
|
22 |
metrics:
|
23 |
- name: Accuracy
|
24 |
type: accuracy
|
25 |
-
value: 0.
|
26 |
---
|
27 |
|
28 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
@@ -32,8 +33,8 @@ should probably proofread and complete it, then remove this comment. -->
|
|
32 |
|
33 |
This model is a fine-tuned version of [facebook/deit-tiny-patch16-224](https://huggingface.co/facebook/deit-tiny-patch16-224) on the imagefolder dataset.
|
34 |
It achieves the following results on the evaluation set:
|
35 |
-
- Loss: 0.
|
36 |
-
- Accuracy: 0.
|
37 |
|
38 |
## Model description
|
39 |
|
@@ -53,11 +54,11 @@ More information needed
|
|
53 |
|
54 |
The following hyperparameters were used during training:
|
55 |
- learning_rate: 5e-05
|
56 |
-
- train_batch_size:
|
57 |
-
- eval_batch_size:
|
58 |
- seed: 42
|
59 |
- gradient_accumulation_steps: 4
|
60 |
-
- total_train_batch_size:
|
61 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
62 |
- lr_scheduler_type: linear
|
63 |
- lr_scheduler_warmup_ratio: 0.1
|
@@ -67,26 +68,26 @@ The following hyperparameters were used during training:
|
|
67 |
|
68 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
69 |
|:-------------:|:-------:|:----:|:---------------:|:--------:|
|
70 |
-
|
|
71 |
-
|
|
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 |
|
86 |
|
87 |
### Framework versions
|
88 |
|
89 |
-
- Transformers 4.44.
|
90 |
-
- Pytorch 2.4.
|
91 |
-
- Datasets
|
92 |
- Tokenizers 0.19.1
|
|
|
1 |
---
|
2 |
+
library_name: transformers
|
3 |
license: apache-2.0
|
4 |
base_model: facebook/deit-tiny-patch16-224
|
5 |
tags:
|
|
|
23 |
metrics:
|
24 |
- name: Accuracy
|
25 |
type: accuracy
|
26 |
+
value: 0.8235294117647058
|
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 [facebook/deit-tiny-patch16-224](https://huggingface.co/facebook/deit-tiny-patch16-224) on the imagefolder dataset.
|
35 |
It achieves the following results on the evaluation set:
|
36 |
+
- Loss: 0.4747
|
37 |
+
- Accuracy: 0.8235
|
38 |
|
39 |
## Model description
|
40 |
|
|
|
54 |
|
55 |
The following hyperparameters were used during training:
|
56 |
- learning_rate: 5e-05
|
57 |
+
- train_batch_size: 8
|
58 |
+
- eval_batch_size: 8
|
59 |
- seed: 42
|
60 |
- gradient_accumulation_steps: 4
|
61 |
+
- total_train_batch_size: 32
|
62 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
63 |
- lr_scheduler_type: linear
|
64 |
- lr_scheduler_warmup_ratio: 0.1
|
|
|
68 |
|
69 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
70 |
|:-------------:|:-------:|:----:|:---------------:|:--------:|
|
71 |
+
| 1.5381 | 0.9935 | 38 | 1.4222 | 0.3897 |
|
72 |
+
| 1.172 | 1.9869 | 76 | 1.1008 | 0.5882 |
|
73 |
+
| 0.8361 | 2.9804 | 114 | 0.8529 | 0.6618 |
|
74 |
+
| 0.6869 | 4.0 | 153 | 0.9582 | 0.6324 |
|
75 |
+
| 0.4995 | 4.9935 | 191 | 0.6926 | 0.7574 |
|
76 |
+
| 0.4576 | 5.9869 | 229 | 0.4967 | 0.8529 |
|
77 |
+
| 0.4187 | 6.9804 | 267 | 0.5350 | 0.8162 |
|
78 |
+
| 0.4075 | 8.0 | 306 | 0.4903 | 0.8088 |
|
79 |
+
| 0.3585 | 8.9935 | 344 | 0.5252 | 0.7868 |
|
80 |
+
| 0.3528 | 9.9869 | 382 | 0.5027 | 0.8088 |
|
81 |
+
| 0.2788 | 10.9804 | 420 | 0.4503 | 0.8456 |
|
82 |
+
| 0.2419 | 12.0 | 459 | 0.4857 | 0.8309 |
|
83 |
+
| 0.2544 | 12.9935 | 497 | 0.5543 | 0.7868 |
|
84 |
+
| 0.2591 | 13.9869 | 535 | 0.4839 | 0.8382 |
|
85 |
+
| 0.207 | 14.9020 | 570 | 0.4747 | 0.8235 |
|
86 |
|
87 |
|
88 |
### Framework versions
|
89 |
|
90 |
+
- Transformers 4.44.2
|
91 |
+
- Pytorch 2.4.1+cu121
|
92 |
+
- Datasets 3.0.1
|
93 |
- Tokenizers 0.19.1
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 22125008
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:179cc777badf9386bd0852f9e4ab8ebc297a9b0ff00ddccbdaafe5f8d7e349ed
|
3 |
size 22125008
|