PedroSampaio commited on
Commit
91ebaab
1 Parent(s): f6027f9

Model save

Browse files
Files changed (1) hide show
  1. README.md +89 -0
README.md ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: microsoft/swin-base-patch4-window7-224
4
+ tags:
5
+ - generated_from_trainer
6
+ datasets:
7
+ - food101
8
+ metrics:
9
+ - accuracy
10
+ model-index:
11
+ - name: swin-base-patch4-window7-224-food101-24-12
12
+ results:
13
+ - task:
14
+ name: Image Classification
15
+ type: image-classification
16
+ dataset:
17
+ name: food101
18
+ type: food101
19
+ config: default
20
+ split: validation
21
+ args: default
22
+ metrics:
23
+ - name: Accuracy
24
+ type: accuracy
25
+ value: 0.9312475247524753
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
+ # swin-base-patch4-window7-224-food101-24-12
32
+
33
+ This model is a fine-tuned version of [microsoft/swin-base-patch4-window7-224](https://huggingface.co/microsoft/swin-base-patch4-window7-224) on the food101 dataset.
34
+ It achieves the following results on the evaluation set:
35
+ - Loss: 0.2529
36
+ - Accuracy: 0.9312
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: 24
57
+ - eval_batch_size: 24
58
+ - seed: 42
59
+ - gradient_accumulation_steps: 4
60
+ - total_train_batch_size: 96
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: 12
65
+
66
+ ### Training results
67
+
68
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
69
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
70
+ | 0.9481 | 1.0 | 789 | 0.4713 | 0.8665 |
71
+ | 0.7584 | 2.0 | 1578 | 0.3561 | 0.8985 |
72
+ | 0.7081 | 3.0 | 2367 | 0.3190 | 0.9058 |
73
+ | 0.5639 | 4.0 | 3157 | 0.2951 | 0.9127 |
74
+ | 0.5106 | 5.0 | 3946 | 0.2863 | 0.9190 |
75
+ | 0.4633 | 6.0 | 4735 | 0.2785 | 0.9211 |
76
+ | 0.4188 | 7.0 | 5524 | 0.2704 | 0.9240 |
77
+ | 0.3308 | 8.0 | 6314 | 0.2739 | 0.9226 |
78
+ | 0.3853 | 9.0 | 7103 | 0.2634 | 0.9263 |
79
+ | 0.2281 | 10.0 | 7892 | 0.2578 | 0.9283 |
80
+ | 0.2648 | 11.0 | 8681 | 0.2586 | 0.9288 |
81
+ | 0.2303 | 12.0 | 9468 | 0.2529 | 0.9312 |
82
+
83
+
84
+ ### Framework versions
85
+
86
+ - Transformers 4.35.0
87
+ - Pytorch 2.1.0+cu118
88
+ - Datasets 2.14.6
89
+ - Tokenizers 0.14.1