rukundob451 commited on
Commit
b4a0e82
1 Parent(s): c32cc08

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/convnext-tiny-224
4
  tags:
@@ -22,7 +23,7 @@ model-index:
22
  metrics:
23
  - name: Accuracy
24
  type: accuracy
25
- value: 0.7794117647058824
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/convnext-tiny-224](https://huggingface.co/facebook/convnext-tiny-224) on the imagefolder dataset.
34
  It achieves the following results on the evaluation set:
35
- - Loss: 0.6033
36
- - Accuracy: 0.7794
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
- | 1.8151 | 0.9870 | 19 | 1.6491 | 0.3456 |
71
- | 1.6104 | 1.9740 | 38 | 1.4322 | 0.4265 |
72
- | 1.4002 | 2.9610 | 57 | 1.2286 | 0.5882 |
73
- | 1.203 | 4.0 | 77 | 1.0559 | 0.6544 |
74
- | 1.047 | 4.9870 | 96 | 0.9357 | 0.6765 |
75
- | 0.9083 | 5.9740 | 115 | 0.8477 | 0.7279 |
76
- | 0.8756 | 6.9610 | 134 | 0.7762 | 0.75 |
77
- | 0.7853 | 8.0 | 154 | 0.7258 | 0.7647 |
78
- | 0.7198 | 8.9870 | 173 | 0.7023 | 0.7574 |
79
- | 0.7151 | 9.9740 | 192 | 0.6756 | 0.7574 |
80
- | 0.7049 | 10.9610 | 211 | 0.6493 | 0.7574 |
81
- | 0.6387 | 12.0 | 231 | 0.6256 | 0.7721 |
82
- | 0.6387 | 12.9870 | 250 | 0.6295 | 0.7721 |
83
- | 0.6233 | 13.9740 | 269 | 0.6033 | 0.7794 |
84
- | 0.632 | 14.8052 | 285 | 0.6010 | 0.7794 |
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/convnext-tiny-224
5
  tags:
 
23
  metrics:
24
  - name: Accuracy
25
  type: accuracy
26
+ value: 0.8529411764705882
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/convnext-tiny-224](https://huggingface.co/facebook/convnext-tiny-224) on the imagefolder dataset.
35
  It achieves the following results on the evaluation set:
36
+ - Loss: 0.4485
37
+ - Accuracy: 0.8529
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.4789 | 0.9935 | 38 | 1.4474 | 0.3235 |
72
+ | 1.2481 | 1.9869 | 76 | 1.0898 | 0.6397 |
73
+ | 0.9694 | 2.9804 | 114 | 0.9261 | 0.6471 |
74
+ | 0.8414 | 4.0 | 153 | 0.8016 | 0.7059 |
75
+ | 0.7675 | 4.9935 | 191 | 0.7258 | 0.7426 |
76
+ | 0.7131 | 5.9869 | 229 | 0.7147 | 0.7353 |
77
+ | 0.5973 | 6.9804 | 267 | 0.7040 | 0.7353 |
78
+ | 0.5543 | 8.0 | 306 | 0.6064 | 0.7941 |
79
+ | 0.4903 | 8.9935 | 344 | 0.5418 | 0.8382 |
80
+ | 0.3942 | 9.9869 | 382 | 0.5043 | 0.8456 |
81
+ | 0.3721 | 10.9804 | 420 | 0.4922 | 0.8456 |
82
+ | 0.4036 | 12.0 | 459 | 0.4944 | 0.8309 |
83
+ | 0.3444 | 12.9935 | 497 | 0.4760 | 0.8529 |
84
+ | 0.3385 | 13.9869 | 535 | 0.4597 | 0.8603 |
85
+ | 0.3161 | 14.9020 | 570 | 0.4485 | 0.8529 |
86
 
87
 
88
  ### Framework versions
89
 
90
+ - Transformers 4.44.2
91
+ - Pytorch 2.4.1+cu121
92
+ - Datasets 3.0.0
93
  - Tokenizers 0.19.1
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f0f6f1a986690c36a83e7f12231e91501b3f50ef6a92d9e5f6de4445fbffd45c
3
  size 111320240
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:75191f86def14e1b3bb3f3f25b0f3cabb9d0e3cdf6c6ee7673fda2e3f3fcefc7
3
  size 111320240