Kushagra07 commited on
Commit
10db53c
1 Parent(s): b6f0e0c

End of training

Browse files
README.md ADDED
@@ -0,0 +1,102 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: microsoft/swinv2-base-patch4-window8-256
4
+ tags:
5
+ - generated_from_trainer
6
+ datasets:
7
+ - imagefolder
8
+ metrics:
9
+ - accuracy
10
+ - recall
11
+ - f1
12
+ - precision
13
+ model-index:
14
+ - name: swinv2-base-patch4-window8-256-finetuned-ind-17-imbalanced-aadhaarmask
15
+ results:
16
+ - task:
17
+ name: Image Classification
18
+ type: image-classification
19
+ dataset:
20
+ name: imagefolder
21
+ type: imagefolder
22
+ config: default
23
+ split: train
24
+ args: default
25
+ metrics:
26
+ - name: Accuracy
27
+ type: accuracy
28
+ value: 0.8407833120476799
29
+ - name: Recall
30
+ type: recall
31
+ value: 0.8407833120476799
32
+ - name: F1
33
+ type: f1
34
+ value: 0.8382298834449193
35
+ - name: Precision
36
+ type: precision
37
+ value: 0.8403613762272836
38
+ ---
39
+
40
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
41
+ should probably proofread and complete it, then remove this comment. -->
42
+
43
+ # swinv2-base-patch4-window8-256-finetuned-ind-17-imbalanced-aadhaarmask
44
+
45
+ This model is a fine-tuned version of [microsoft/swinv2-base-patch4-window8-256](https://huggingface.co/microsoft/swinv2-base-patch4-window8-256) on the imagefolder dataset.
46
+ It achieves the following results on the evaluation set:
47
+ - Loss: 0.3672
48
+ - Accuracy: 0.8408
49
+ - Recall: 0.8408
50
+ - F1: 0.8382
51
+ - Precision: 0.8404
52
+
53
+ ## Model description
54
+
55
+ More information needed
56
+
57
+ ## Intended uses & limitations
58
+
59
+ More information needed
60
+
61
+ ## Training and evaluation data
62
+
63
+ More information needed
64
+
65
+ ## Training procedure
66
+
67
+ ### Training hyperparameters
68
+
69
+ The following hyperparameters were used during training:
70
+ - learning_rate: 5e-05
71
+ - train_batch_size: 8
72
+ - eval_batch_size: 8
73
+ - seed: 42
74
+ - gradient_accumulation_steps: 4
75
+ - total_train_batch_size: 32
76
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
77
+ - lr_scheduler_type: linear
78
+ - lr_scheduler_warmup_ratio: 0.1
79
+ - num_epochs: 10
80
+
81
+ ### Training results
82
+
83
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | Recall | F1 | Precision |
84
+ |:-------------:|:------:|:----:|:---------------:|:--------:|:------:|:------:|:---------:|
85
+ | 0.6524 | 0.9974 | 293 | 0.5989 | 0.7986 | 0.7986 | 0.7886 | 0.7959 |
86
+ | 0.5004 | 1.9983 | 587 | 0.4830 | 0.8110 | 0.8110 | 0.8078 | 0.8190 |
87
+ | 0.3912 | 2.9991 | 881 | 0.4254 | 0.8199 | 0.8199 | 0.8162 | 0.8196 |
88
+ | 0.4007 | 4.0 | 1175 | 0.4324 | 0.8301 | 0.8301 | 0.8251 | 0.8302 |
89
+ | 0.2694 | 4.9974 | 1468 | 0.4215 | 0.8272 | 0.8272 | 0.8218 | 0.8301 |
90
+ | 0.3865 | 5.9983 | 1762 | 0.3620 | 0.8459 | 0.8459 | 0.8438 | 0.8471 |
91
+ | 0.2748 | 6.9991 | 2056 | 0.3733 | 0.8395 | 0.8395 | 0.8354 | 0.8510 |
92
+ | 0.3471 | 8.0 | 2350 | 0.3594 | 0.8370 | 0.8370 | 0.8364 | 0.8434 |
93
+ | 0.3361 | 8.9974 | 2643 | 0.3632 | 0.8404 | 0.8404 | 0.8386 | 0.8414 |
94
+ | 0.2399 | 9.9745 | 2930 | 0.3436 | 0.8455 | 0.8455 | 0.8446 | 0.8469 |
95
+
96
+
97
+ ### Framework versions
98
+
99
+ - Transformers 4.40.1
100
+ - Pytorch 2.2.0a0+81ea7a4
101
+ - Datasets 2.19.0
102
+ - Tokenizers 0.19.1
emissions.csv ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ timestamp,project_name,run_id,duration,emissions,emissions_rate,cpu_power,gpu_power,ram_power,cpu_energy,gpu_energy,ram_energy,energy_consumed,country_name,country_iso_code,region,cloud_provider,cloud_region,os,python_version,codecarbon_version,cpu_count,cpu_model,gpu_count,gpu_model,longitude,latitude,ram_total_size,tracking_mode,on_cloud,pue
2
+ 2024-05-02T03:50:44,codecarbon,13d1092f-73e8-443e-8e8d-465c24631234,2169.4027061462402,0.00022998456440624843,1.060128503364857e-07,42.5,84.63662097212429,11.667008399963379,0.025609904542565353,0.06410957823206598,0.007025747188700346,0.09674522996333162,Canada,CAN,quebec,,,Linux-5.15.0-105-generic-x86_64-with-glibc2.35,3.10.12,2.3.5,32,13th Gen Intel(R) Core(TM) i9-13900K,1,1 x NVIDIA GeForce RTX 4060 Ti,-71.2,46.8,31.112022399902344,machine,N,1.0
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:59583e79fdca42349c1e6a42696cb80a66f900e2fa65454819be0394700a7511
3
  size 347706996
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bd349f00ce912cc2f35eec758592516128903fbe2d83046242fc615b2dab8f15
3
  size 347706996
runs/May02_03-14-32_60f4804cf903/events.out.tfevents.1714619674.60f4804cf903.2170.2 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e5ec0ed5849262ce8cce7921f907e08a4264af8bdcfbe0f86090d23d37705334
3
- size 66111
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ae8acbaaf6b1e95ac6c005389db4017d38e298eccf9197606c51225e2f3c3302
3
+ size 73056
runs/May02_03-14-32_60f4804cf903/events.out.tfevents.1714621906.60f4804cf903.2170.3 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ff98fabe09b2364e4c263ea8d82857780b70d31037a06a50017b04b992642eef
3
+ size 560