rukundob451 commited on
Commit
447e614
1 Parent(s): 238c94d

Model save

Browse files
Files changed (2) hide show
  1. README.md +25 -24
  2. 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.9117647058823529
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.3418
36
- - Accuracy: 0.9118
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: 16
57
- - eval_batch_size: 16
58
  - seed: 42
59
  - gradient_accumulation_steps: 4
60
- - total_train_batch_size: 64
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
- | 0.1493 | 0.9870 | 19 | 0.3965 | 0.8603 |
71
- | 0.181 | 1.9740 | 38 | 0.5619 | 0.8235 |
72
- | 0.2222 | 2.9610 | 57 | 0.4637 | 0.875 |
73
- | 0.1273 | 4.0 | 77 | 0.4504 | 0.8824 |
74
- | 0.2217 | 4.9870 | 96 | 0.4186 | 0.875 |
75
- | 0.1678 | 5.9740 | 115 | 0.3936 | 0.8676 |
76
- | 0.1302 | 6.9610 | 134 | 0.3591 | 0.9044 |
77
- | 0.1494 | 8.0 | 154 | 0.3726 | 0.9118 |
78
- | 0.1235 | 8.9870 | 173 | 0.3986 | 0.8897 |
79
- | 0.1648 | 9.9740 | 192 | 0.3476 | 0.9265 |
80
- | 0.1062 | 10.9610 | 211 | 0.3309 | 0.8971 |
81
- | 0.1098 | 12.0 | 231 | 0.3293 | 0.9265 |
82
- | 0.0684 | 12.9870 | 250 | 0.3472 | 0.9044 |
83
- | 0.0907 | 13.9740 | 269 | 0.3483 | 0.9044 |
84
- | 0.0903 | 14.8052 | 285 | 0.3418 | 0.9118 |
85
 
86
 
87
  ### Framework versions
88
 
89
- - Transformers 4.44.0
90
- - Pytorch 2.4.0
91
- - Datasets 2.21.0
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:7c01b3d52b1db2e2e44ed1fe2998151aa96d6b500c4372a72a973b2079685d8c
3
  size 22125008
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:179cc777badf9386bd0852f9e4ab8ebc297a9b0ff00ddccbdaafe5f8d7e349ed
3
  size 22125008