Kushagra07
commited on
Commit
•
798c96d
1
Parent(s):
00794f5
End of training
Browse files
README.md
ADDED
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: google/vit-large-patch16-224
|
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: vit-large-patch16-224-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.8420604512558536
|
29 |
+
- name: Recall
|
30 |
+
type: recall
|
31 |
+
value: 0.8420604512558536
|
32 |
+
- name: F1
|
33 |
+
type: f1
|
34 |
+
value: 0.840458775689156
|
35 |
+
- name: Precision
|
36 |
+
type: precision
|
37 |
+
value: 0.8450034699086092
|
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 |
+
# vit-large-patch16-224-finetuned-ind-17-imbalanced-aadhaarmask
|
44 |
+
|
45 |
+
This model is a fine-tuned version of [google/vit-large-patch16-224](https://huggingface.co/google/vit-large-patch16-224) on the imagefolder dataset.
|
46 |
+
It achieves the following results on the evaluation set:
|
47 |
+
- Loss: 0.3294
|
48 |
+
- Accuracy: 0.8421
|
49 |
+
- Recall: 0.8421
|
50 |
+
- F1: 0.8405
|
51 |
+
- Precision: 0.8450
|
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.5269 | 0.9974 | 293 | 0.5393 | 0.8029 | 0.8029 | 0.7943 | 0.7941 |
|
86 |
+
| 0.4275 | 1.9983 | 587 | 0.4630 | 0.8182 | 0.8182 | 0.8103 | 0.8255 |
|
87 |
+
| 0.4681 | 2.9991 | 881 | 0.4346 | 0.8408 | 0.8408 | 0.8358 | 0.8557 |
|
88 |
+
| 0.3721 | 4.0 | 1175 | 0.3631 | 0.8450 | 0.8450 | 0.8417 | 0.8541 |
|
89 |
+
| 0.4054 | 4.9974 | 1468 | 0.3536 | 0.8455 | 0.8455 | 0.8445 | 0.8491 |
|
90 |
+
| 0.2519 | 5.9983 | 1762 | 0.3747 | 0.8421 | 0.8421 | 0.8391 | 0.8549 |
|
91 |
+
| 0.2923 | 6.9991 | 2056 | 0.3664 | 0.8395 | 0.8395 | 0.8402 | 0.8467 |
|
92 |
+
| 0.2288 | 8.0 | 2350 | 0.3496 | 0.8382 | 0.8382 | 0.8377 | 0.8442 |
|
93 |
+
| 0.1642 | 8.9974 | 2643 | 0.3455 | 0.8463 | 0.8463 | 0.8444 | 0.8468 |
|
94 |
+
| 0.1783 | 9.9745 | 2930 | 0.3468 | 0.8476 | 0.8476 | 0.8463 | 0.8490 |
|
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-02T06:56:33,codecarbon,55737487-46ce-4764-b023-4b2f30385afa,3578.4060740470886,0.0004213389281339904,1.1774486165497324e-07,42.5,78.75388079240997,11.667008399963379,0.042242018661399684,0.12340850789339397,0.011589766071206254,0.17724029262599975,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
|
runs/May02_05-56-53_60f4804cf903/events.out.tfevents.1714633166.60f4804cf903.4117.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ce0c8b35bdcc550e1d4f94e7f44ea4f4b7b75e199b9c9d8c963d6ec31d0f24ff
|
3 |
+
size 560
|