DrishtiSharma commited on
Commit
93ba36f
1 Parent(s): 25fbb33

update model card README.md

Browse files
Files changed (1) hide show
  1. README.md +90 -0
README.md ADDED
@@ -0,0 +1,90 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ tags:
4
+ - generated_from_trainer
5
+ datasets:
6
+ - imagefolder
7
+ metrics:
8
+ - accuracy
9
+ model-index:
10
+ - name: finetuned-SwinT-Indian-Food-Classification-v2
11
+ results:
12
+ - task:
13
+ name: Image Classification
14
+ type: image-classification
15
+ dataset:
16
+ name: imagefolder
17
+ type: imagefolder
18
+ config: default
19
+ split: train
20
+ args: default
21
+ metrics:
22
+ - name: Accuracy
23
+ type: accuracy
24
+ value: 0.9436769394261424
25
+ ---
26
+
27
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
28
+ should probably proofread and complete it, then remove this comment. -->
29
+
30
+ # finetuned-SwinT-Indian-Food-Classification-v2
31
+
32
+ This model is a fine-tuned version of [microsoft/swin-base-patch4-window7-224-in22k](https://huggingface.co/microsoft/swin-base-patch4-window7-224-in22k) on the imagefolder dataset.
33
+ It achieves the following results on the evaluation set:
34
+ - Loss: 0.2368
35
+ - Accuracy: 0.9437
36
+
37
+ ## Model description
38
+
39
+ More information needed
40
+
41
+ ## Intended uses & limitations
42
+
43
+ More information needed
44
+
45
+ ## Training and evaluation data
46
+
47
+ More information needed
48
+
49
+ ## Training procedure
50
+
51
+ ### Training hyperparameters
52
+
53
+ The following hyperparameters were used during training:
54
+ - learning_rate: 0.0002
55
+ - train_batch_size: 16
56
+ - eval_batch_size: 8
57
+ - seed: 42
58
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
59
+ - lr_scheduler_type: linear
60
+ - num_epochs: 5
61
+ - mixed_precision_training: Native AMP
62
+
63
+ ### Training results
64
+
65
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
66
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
67
+ | 0.9351 | 0.3 | 100 | 0.6017 | 0.8363 |
68
+ | 0.5667 | 0.6 | 200 | 0.4384 | 0.8767 |
69
+ | 0.5548 | 0.9 | 300 | 0.4215 | 0.8767 |
70
+ | 0.5516 | 1.2 | 400 | 0.4290 | 0.8735 |
71
+ | 0.3782 | 1.5 | 500 | 0.3502 | 0.8980 |
72
+ | 0.3115 | 1.8 | 600 | 0.3780 | 0.8937 |
73
+ | 0.4229 | 2.1 | 700 | 0.3545 | 0.8905 |
74
+ | 0.3832 | 2.4 | 800 | 0.3446 | 0.9086 |
75
+ | 0.2745 | 2.7 | 900 | 0.3299 | 0.9150 |
76
+ | 0.2063 | 3.0 | 1000 | 0.2592 | 0.9277 |
77
+ | 0.2077 | 3.3 | 1100 | 0.3772 | 0.9150 |
78
+ | 0.2041 | 3.6 | 1200 | 0.2855 | 0.9214 |
79
+ | 0.2541 | 3.9 | 1300 | 0.2502 | 0.9330 |
80
+ | 0.1203 | 4.2 | 1400 | 0.2577 | 0.9362 |
81
+ | 0.1594 | 4.5 | 1500 | 0.2226 | 0.9458 |
82
+ | 0.1015 | 4.8 | 1600 | 0.2368 | 0.9437 |
83
+
84
+
85
+ ### Framework versions
86
+
87
+ - Transformers 4.21.2
88
+ - Pytorch 1.12.1+cu113
89
+ - Datasets 2.4.0
90
+ - Tokenizers 0.12.1