louislu9911 commited on
Commit
8ded481
1 Parent(s): 25b9b1e

Model save

Browse files
Files changed (3) hide show
  1. README.md +117 -0
  2. model.safetensors +1 -1
  3. training_args.bin +2 -2
README.md ADDED
@@ -0,0 +1,117 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: facebook/convnextv2-huge-1k-224
4
+ tags:
5
+ - generated_from_trainer
6
+ datasets:
7
+ - imagefolder
8
+ metrics:
9
+ - accuracy
10
+ model-index:
11
+ - name: convnextv2-huge-1k-224-finetuned-cassava-leaf-disease
12
+ results:
13
+ - task:
14
+ name: Image Classification
15
+ type: image-classification
16
+ dataset:
17
+ name: imagefolder
18
+ type: imagefolder
19
+ config: default
20
+ split: train
21
+ args: default
22
+ metrics:
23
+ - name: Accuracy
24
+ type: accuracy
25
+ value: 0.8897196261682243
26
+ ---
27
+
28
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
29
+ should probably proofread and complete it, then remove this comment. -->
30
+
31
+ # convnextv2-huge-1k-224-finetuned-cassava-leaf-disease
32
+
33
+ This model is a fine-tuned version of [facebook/convnextv2-huge-1k-224](https://huggingface.co/facebook/convnextv2-huge-1k-224) on the imagefolder dataset.
34
+ It achieves the following results on the evaluation set:
35
+ - Loss: 0.3433
36
+ - Accuracy: 0.8897
37
+
38
+ ## Model description
39
+
40
+ More information needed
41
+
42
+ ## Intended uses & limitations
43
+
44
+ More information needed
45
+
46
+ ## Training and evaluation data
47
+
48
+ More information needed
49
+
50
+ ## Training procedure
51
+
52
+ ### Training hyperparameters
53
+
54
+ The following hyperparameters were used during training:
55
+ - learning_rate: 5e-05
56
+ - train_batch_size: 120
57
+ - eval_batch_size: 120
58
+ - seed: 42
59
+ - gradient_accumulation_steps: 4
60
+ - total_train_batch_size: 480
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
64
+ - num_epochs: 10
65
+
66
+ ### Training results
67
+
68
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
69
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
70
+ | 7.9894 | 0.25 | 10 | 4.9516 | 0.0206 |
71
+ | 2.7782 | 0.5 | 20 | 1.6759 | 0.6196 |
72
+ | 1.2699 | 0.75 | 30 | 0.9878 | 0.6626 |
73
+ | 0.8247 | 0.99 | 40 | 0.6755 | 0.7640 |
74
+ | 0.6353 | 1.24 | 50 | 0.5472 | 0.8079 |
75
+ | 0.5418 | 1.49 | 60 | 0.4924 | 0.8369 |
76
+ | 0.4577 | 1.74 | 70 | 0.4422 | 0.8537 |
77
+ | 0.4627 | 1.99 | 80 | 0.3943 | 0.8706 |
78
+ | 0.4235 | 2.24 | 90 | 0.3868 | 0.8715 |
79
+ | 0.4068 | 2.48 | 100 | 0.3879 | 0.8645 |
80
+ | 0.4088 | 2.73 | 110 | 0.4149 | 0.8579 |
81
+ | 0.3866 | 2.98 | 120 | 0.3489 | 0.8836 |
82
+ | 0.3776 | 3.23 | 130 | 0.3731 | 0.8743 |
83
+ | 0.3303 | 3.48 | 140 | 0.3719 | 0.8734 |
84
+ | 0.3548 | 3.73 | 150 | 0.3917 | 0.8668 |
85
+ | 0.3638 | 3.98 | 160 | 0.3561 | 0.8738 |
86
+ | 0.3292 | 4.22 | 170 | 0.3518 | 0.8855 |
87
+ | 0.3363 | 4.47 | 180 | 0.3561 | 0.8850 |
88
+ | 0.3123 | 4.72 | 190 | 0.3452 | 0.8794 |
89
+ | 0.3395 | 4.97 | 200 | 0.3385 | 0.8841 |
90
+ | 0.2851 | 5.22 | 210 | 0.3467 | 0.8883 |
91
+ | 0.3113 | 5.47 | 220 | 0.3393 | 0.8841 |
92
+ | 0.3035 | 5.71 | 230 | 0.3444 | 0.8785 |
93
+ | 0.3123 | 5.96 | 240 | 0.3321 | 0.8804 |
94
+ | 0.2683 | 6.21 | 250 | 0.3407 | 0.8813 |
95
+ | 0.2811 | 6.46 | 260 | 0.3396 | 0.8850 |
96
+ | 0.2779 | 6.71 | 270 | 0.3318 | 0.8869 |
97
+ | 0.2733 | 6.96 | 280 | 0.3342 | 0.8897 |
98
+ | 0.2661 | 7.2 | 290 | 0.3303 | 0.8916 |
99
+ | 0.2588 | 7.45 | 300 | 0.3387 | 0.8921 |
100
+ | 0.2586 | 7.7 | 310 | 0.3373 | 0.8888 |
101
+ | 0.2641 | 7.95 | 320 | 0.3328 | 0.8860 |
102
+ | 0.2408 | 8.2 | 330 | 0.3490 | 0.8818 |
103
+ | 0.2375 | 8.45 | 340 | 0.3419 | 0.8846 |
104
+ | 0.2507 | 8.7 | 350 | 0.3473 | 0.8874 |
105
+ | 0.2555 | 8.94 | 360 | 0.3382 | 0.8874 |
106
+ | 0.2299 | 9.19 | 370 | 0.3399 | 0.8888 |
107
+ | 0.2309 | 9.44 | 380 | 0.3415 | 0.8855 |
108
+ | 0.2344 | 9.69 | 390 | 0.3431 | 0.8897 |
109
+ | 0.2253 | 9.94 | 400 | 0.3433 | 0.8897 |
110
+
111
+
112
+ ### Framework versions
113
+
114
+ - Transformers 4.37.2
115
+ - Pytorch 2.2.1
116
+ - Datasets 2.18.0
117
+ - Tokenizers 0.15.1
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:91f75f7d39e06e60954c558e037e8d8ddd591013d323a0ba251859c2a76dc2be
3
  size 2641205576
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:88486a2ca045183adf0999f15bf29a403c102773310223a83d9133345a0d2eb1
3
  size 2641205576
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:08e87a2f5551b9689ded4ae4d2b3abc459bacfc0bfc9fea3f976582d19e56a67
3
- size 4792
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:33279397af8509b94733d92ab69390736b2860dacf26749063f564f7d28454c0
3
+ size 4728