jaypratap commited on
Commit
e9310f4
1 Parent(s): 39ecef6

Model save

Browse files
README.md ADDED
@@ -0,0 +1,95 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - generated_from_trainer
4
+ datasets:
5
+ - imagefolder
6
+ metrics:
7
+ - accuracy
8
+ model-index:
9
+ - name: vit-pretraining-2024_04_02-atelectasis-classifier
10
+ results:
11
+ - task:
12
+ name: Image Classification
13
+ type: image-classification
14
+ dataset:
15
+ name: imagefolder
16
+ type: imagefolder
17
+ config: default
18
+ split: train
19
+ args: default
20
+ metrics:
21
+ - name: Accuracy
22
+ type: accuracy
23
+ value: 0.7644320297951583
24
+ ---
25
+
26
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
27
+ should probably proofread and complete it, then remove this comment. -->
28
+
29
+ # vit-pretraining-2024_04_02-atelectasis-classifier
30
+
31
+ This model was trained from scratch on the imagefolder dataset.
32
+ It achieves the following results on the evaluation set:
33
+ - Loss: 0.5020
34
+ - Accuracy: 0.7644
35
+
36
+ ## Model description
37
+
38
+ More information needed
39
+
40
+ ## Intended uses & limitations
41
+
42
+ More information needed
43
+
44
+ ## Training and evaluation data
45
+
46
+ More information needed
47
+
48
+ ## Training procedure
49
+
50
+ ### Training hyperparameters
51
+
52
+ The following hyperparameters were used during training:
53
+ - learning_rate: 5e-06
54
+ - train_batch_size: 4
55
+ - eval_batch_size: 4
56
+ - seed: 42
57
+ - gradient_accumulation_steps: 4
58
+ - total_train_batch_size: 16
59
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
60
+ - lr_scheduler_type: linear
61
+ - lr_scheduler_warmup_ratio: 0.2
62
+ - num_epochs: 20
63
+
64
+ ### Training results
65
+
66
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
67
+ |:-------------:|:-----:|:-----:|:---------------:|:--------:|
68
+ | 0.6304 | 1.0 | 537 | 0.6342 | 0.6709 |
69
+ | 0.5931 | 2.0 | 1074 | 0.5669 | 0.7207 |
70
+ | 0.5027 | 3.0 | 1611 | 0.5397 | 0.7393 |
71
+ | 0.5659 | 4.0 | 2148 | 0.5341 | 0.7458 |
72
+ | 0.5115 | 5.0 | 2685 | 0.5433 | 0.7346 |
73
+ | 0.5108 | 6.0 | 3222 | 0.5454 | 0.7309 |
74
+ | 0.5187 | 7.0 | 3759 | 0.5136 | 0.7621 |
75
+ | 0.4435 | 8.0 | 4296 | 0.5057 | 0.7677 |
76
+ | 0.583 | 9.0 | 4833 | 0.5042 | 0.7584 |
77
+ | 0.5256 | 10.0 | 5370 | 0.5249 | 0.7495 |
78
+ | 0.4818 | 11.0 | 5907 | 0.5212 | 0.7481 |
79
+ | 0.5575 | 12.0 | 6444 | 0.5061 | 0.7481 |
80
+ | 0.3572 | 13.0 | 6981 | 0.5042 | 0.7602 |
81
+ | 0.489 | 14.0 | 7518 | 0.5004 | 0.7709 |
82
+ | 0.4773 | 15.0 | 8055 | 0.5074 | 0.7700 |
83
+ | 0.4577 | 16.0 | 8592 | 0.5054 | 0.7677 |
84
+ | 0.4619 | 17.0 | 9129 | 0.5021 | 0.7686 |
85
+ | 0.3865 | 18.0 | 9666 | 0.5074 | 0.7644 |
86
+ | 0.4889 | 19.0 | 10203 | 0.5113 | 0.7598 |
87
+ | 0.4637 | 20.0 | 10740 | 0.5020 | 0.7644 |
88
+
89
+
90
+ ### Framework versions
91
+
92
+ - Transformers 4.39.0.dev0
93
+ - Pytorch 2.2.1+cu121
94
+ - Datasets 2.18.0
95
+ - Tokenizers 0.15.2
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f5b3476236530643c2175087ba5eded9f62c8e9febfc49403ec782f1f774fc57
3
  size 343223968
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:53ae92f931e5f62d5b8cd2f0540af873e6ce0658210b3151528aee3ed0e74a93
3
  size 343223968
runs/Apr22_21-47-04_ip-172-16-71-114.us-west-2.compute.internal/events.out.tfevents.1713822428.ip-172-16-71-114.us-west-2.compute.internal.22875.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:4c5bb58647ebc100e3ef381549413cc5b57d283ff1041c0a02e45524e18986ac
3
- size 238006
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d991854d8576a21f180e87a3f9dc8e4dd15c024134603039f51c1105108e8ede
3
+ size 238360