louislu9911 commited on
Commit
7fd8962
1 Parent(s): f3433e7

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-large-1k-224
4
+ tags:
5
+ - generated_from_trainer
6
+ datasets:
7
+ - imagefolder
8
+ metrics:
9
+ - accuracy
10
+ model-index:
11
+ - name: convnextv2-large-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.8691588785046729
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-large-1k-224-finetuned-cassava-leaf-disease
32
+
33
+ This model is a fine-tuned version of [facebook/convnextv2-large-1k-224](https://huggingface.co/facebook/convnextv2-large-1k-224) on the imagefolder dataset.
34
+ It achieves the following results on the evaluation set:
35
+ - Loss: 0.4210
36
+ - Accuracy: 0.8692
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: 240
57
+ - eval_batch_size: 240
58
+ - seed: 42
59
+ - gradient_accumulation_steps: 4
60
+ - total_train_batch_size: 960
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: 20
65
+
66
+ ### Training results
67
+
68
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
69
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
70
+ | 8.2962 | 0.49 | 10 | 5.4110 | 0.0033 |
71
+ | 3.1666 | 0.99 | 20 | 2.0615 | 0.5883 |
72
+ | 1.4693 | 1.48 | 30 | 1.0935 | 0.6084 |
73
+ | 0.8718 | 1.98 | 40 | 0.7291 | 0.7463 |
74
+ | 0.6252 | 2.47 | 50 | 0.5894 | 0.7916 |
75
+ | 0.5198 | 2.96 | 60 | 0.5204 | 0.8299 |
76
+ | 0.4517 | 3.46 | 70 | 0.4658 | 0.8393 |
77
+ | 0.4266 | 3.95 | 80 | 0.4664 | 0.8407 |
78
+ | 0.4049 | 4.44 | 90 | 0.4337 | 0.8579 |
79
+ | 0.3817 | 4.94 | 100 | 0.4247 | 0.8523 |
80
+ | 0.3696 | 5.43 | 110 | 0.4146 | 0.8621 |
81
+ | 0.3577 | 5.93 | 120 | 0.4058 | 0.8607 |
82
+ | 0.3577 | 6.42 | 130 | 0.4047 | 0.8636 |
83
+ | 0.3354 | 6.91 | 140 | 0.3985 | 0.8617 |
84
+ | 0.3356 | 7.41 | 150 | 0.4025 | 0.8645 |
85
+ | 0.3286 | 7.9 | 160 | 0.4054 | 0.8673 |
86
+ | 0.3225 | 8.4 | 170 | 0.4062 | 0.8631 |
87
+ | 0.317 | 8.89 | 180 | 0.4007 | 0.8692 |
88
+ | 0.3101 | 9.38 | 190 | 0.3931 | 0.8701 |
89
+ | 0.293 | 9.88 | 200 | 0.3928 | 0.8682 |
90
+ | 0.2992 | 10.37 | 210 | 0.3942 | 0.8668 |
91
+ | 0.2968 | 10.86 | 220 | 0.3892 | 0.8692 |
92
+ | 0.2794 | 11.36 | 230 | 0.3988 | 0.8701 |
93
+ | 0.2707 | 11.85 | 240 | 0.3865 | 0.8762 |
94
+ | 0.2883 | 12.35 | 250 | 0.4040 | 0.8640 |
95
+ | 0.2784 | 12.84 | 260 | 0.3930 | 0.8692 |
96
+ | 0.2667 | 13.33 | 270 | 0.3985 | 0.8701 |
97
+ | 0.2642 | 13.83 | 280 | 0.4160 | 0.8668 |
98
+ | 0.2612 | 14.32 | 290 | 0.4086 | 0.8687 |
99
+ | 0.2586 | 14.81 | 300 | 0.3990 | 0.8668 |
100
+ | 0.2483 | 15.31 | 310 | 0.4111 | 0.8720 |
101
+ | 0.254 | 15.8 | 320 | 0.4082 | 0.8748 |
102
+ | 0.2283 | 16.3 | 330 | 0.4165 | 0.8668 |
103
+ | 0.246 | 16.79 | 340 | 0.4264 | 0.8692 |
104
+ | 0.2365 | 17.28 | 350 | 0.4185 | 0.8692 |
105
+ | 0.2388 | 17.78 | 360 | 0.4152 | 0.8650 |
106
+ | 0.2401 | 18.27 | 370 | 0.4169 | 0.8659 |
107
+ | 0.2334 | 18.77 | 380 | 0.4187 | 0.8696 |
108
+ | 0.2245 | 19.26 | 390 | 0.4192 | 0.8692 |
109
+ | 0.2291 | 19.75 | 400 | 0.4210 | 0.8692 |
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:ec7ca17d0c5b5e81fe443ebb4ec46310675b90df3f1ae892a148b6407888d523
3
  size 791873696
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cbe83389ce38a0fae0309243f78e9c10fe427ac68f1bee9285d117dee12a2422
3
  size 791873696
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:107f095e05685870c2d17f440cb6e294e77dd2a5aa21e4d39a05c7c33d0f18f5
3
- size 4792
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:57db7d60ae64831b898ce8d2b082b494a596dbcddca713e5aeae985d3d4834e6
3
+ size 4728