n1hal commited on
Commit
208fe93
·
verified ·
1 Parent(s): d4865b2

End of training

Browse files
Files changed (5) hide show
  1. README.md +79 -0
  2. config.json +0 -0
  3. model.safetensors +3 -0
  4. preprocessor_config.json +22 -0
  5. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: microsoft/swinv2-large-patch4-window12-192-22k
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - accuracy
9
+ - f1
10
+ model-index:
11
+ - name: swinv2-plantclef
12
+ results: []
13
+ ---
14
+
15
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
16
+ should probably proofread and complete it, then remove this comment. -->
17
+
18
+ # swinv2-plantclef
19
+
20
+ This model is a fine-tuned version of [microsoft/swinv2-large-patch4-window12-192-22k](https://huggingface.co/microsoft/swinv2-large-patch4-window12-192-22k) on an unknown dataset.
21
+ It achieves the following results on the evaluation set:
22
+ - Loss: 1.7612
23
+ - Accuracy: 0.7096
24
+ - F1: 0.7075
25
+
26
+ ## Model description
27
+
28
+ More information needed
29
+
30
+ ## Intended uses & limitations
31
+
32
+ More information needed
33
+
34
+ ## Training and evaluation data
35
+
36
+ More information needed
37
+
38
+ ## Training procedure
39
+
40
+ ### Training hyperparameters
41
+
42
+ The following hyperparameters were used during training:
43
+ - learning_rate: 5e-05
44
+ - train_batch_size: 64
45
+ - eval_batch_size: 64
46
+ - seed: 42
47
+ - optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
48
+ - lr_scheduler_type: linear
49
+ - num_epochs: 16
50
+ - mixed_precision_training: Native AMP
51
+
52
+ ### Training results
53
+
54
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
55
+ |:-------------:|:-----:|:------:|:---------------:|:--------:|:------:|
56
+ | 1.8047 | 1.0 | 19801 | 1.6662 | 0.5999 | 0.5944 |
57
+ | 1.4078 | 2.0 | 39602 | 1.4697 | 0.6442 | 0.6393 |
58
+ | 1.0698 | 3.0 | 59403 | 1.3977 | 0.6636 | 0.6606 |
59
+ | 0.8149 | 4.0 | 79204 | 1.3933 | 0.6759 | 0.6724 |
60
+ | 0.5556 | 5.0 | 99005 | 1.4412 | 0.6780 | 0.6760 |
61
+ | 0.4028 | 6.0 | 118806 | 1.5032 | 0.6806 | 0.6785 |
62
+ | 0.2776 | 7.0 | 138607 | 1.5777 | 0.6808 | 0.6791 |
63
+ | 0.1973 | 8.0 | 158408 | 1.6136 | 0.6852 | 0.6834 |
64
+ | 0.1357 | 9.0 | 178209 | 1.6761 | 0.6858 | 0.6836 |
65
+ | 0.0892 | 10.0 | 198010 | 1.7073 | 0.6897 | 0.6879 |
66
+ | 0.0673 | 11.0 | 217811 | 1.7313 | 0.6930 | 0.6913 |
67
+ | 0.0522 | 12.0 | 237612 | 1.7440 | 0.6976 | 0.6958 |
68
+ | 0.0263 | 13.0 | 257413 | 1.7616 | 0.7007 | 0.6987 |
69
+ | 0.0181 | 14.0 | 277214 | 1.7694 | 0.7038 | 0.7019 |
70
+ | 0.0163 | 15.0 | 297015 | 1.7671 | 0.7076 | 0.7057 |
71
+ | 0.01 | 16.0 | 316816 | 1.7612 | 0.7096 | 0.7075 |
72
+
73
+
74
+ ### Framework versions
75
+
76
+ - Transformers 4.46.2
77
+ - Pytorch 2.5.0
78
+ - Datasets 3.1.0
79
+ - Tokenizers 0.20.1
config.json ADDED
The diff for this file is too large to render. See raw diff
 
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c363dd16f6ae1c37c23da702ccced675f3d27cef3c409c26bcc2399341007d81
3
+ size 828865536
preprocessor_config.json ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_normalize": true,
3
+ "do_rescale": true,
4
+ "do_resize": true,
5
+ "image_mean": [
6
+ 0.485,
7
+ 0.456,
8
+ 0.406
9
+ ],
10
+ "image_processor_type": "ViTImageProcessor",
11
+ "image_std": [
12
+ 0.229,
13
+ 0.224,
14
+ 0.225
15
+ ],
16
+ "resample": 3,
17
+ "rescale_factor": 0.00392156862745098,
18
+ "size": {
19
+ "height": 192,
20
+ "width": 192
21
+ }
22
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8271b06b47a6efa2c4edb5c74a702b5d2d5476b5c4d0fe6a23d0c87442cb6280
3
+ size 5240