nickmuchi commited on
Commit
e61b476
1 Parent(s): b42ffab

update model card README.md

Browse files
Files changed (1) hide show
  1. README.md +91 -0
README.md ADDED
@@ -0,0 +1,91 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ tags:
4
+ - image-classification
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ model-index:
9
+ - name: vit-base-xray-pneumonia
10
+ results: []
11
+ ---
12
+
13
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
14
+ should probably proofread and complete it, then remove this comment. -->
15
+
16
+ # vit-base-xray-pneumonia
17
+
18
+ This model is a fine-tuned version of [google/vit-base-patch16-224-in21k](https://huggingface.co/google/vit-base-patch16-224-in21k) on the chest-xray-pneumonia dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 0.3387
21
+ - Accuracy: 0.9006
22
+
23
+ ## Model description
24
+
25
+ More information needed
26
+
27
+ ## Intended uses & limitations
28
+
29
+ More information needed
30
+
31
+ ## Training and evaluation data
32
+
33
+ More information needed
34
+
35
+ ## Training procedure
36
+
37
+ ### Training hyperparameters
38
+
39
+ The following hyperparameters were used during training:
40
+ - learning_rate: 0.0002
41
+ - train_batch_size: 16
42
+ - eval_batch_size: 8
43
+ - seed: 42
44
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
45
+ - lr_scheduler_type: linear
46
+ - num_epochs: 10
47
+
48
+ ### Training results
49
+
50
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
51
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
52
+ | 0.1233 | 0.31 | 100 | 1.1662 | 0.6651 |
53
+ | 0.0868 | 0.61 | 200 | 0.3387 | 0.9006 |
54
+ | 0.1387 | 0.92 | 300 | 0.5297 | 0.8237 |
55
+ | 0.1264 | 1.23 | 400 | 0.4566 | 0.8590 |
56
+ | 0.0829 | 1.53 | 500 | 0.6832 | 0.8285 |
57
+ | 0.0734 | 1.84 | 600 | 0.4886 | 0.8157 |
58
+ | 0.0132 | 2.15 | 700 | 1.3639 | 0.7292 |
59
+ | 0.0877 | 2.45 | 800 | 0.5258 | 0.8846 |
60
+ | 0.0516 | 2.76 | 900 | 0.8772 | 0.8013 |
61
+ | 0.0637 | 3.07 | 1000 | 0.4947 | 0.8558 |
62
+ | 0.0022 | 3.37 | 1100 | 1.0062 | 0.8045 |
63
+ | 0.0555 | 3.68 | 1200 | 0.7822 | 0.8285 |
64
+ | 0.0405 | 3.99 | 1300 | 1.9288 | 0.6779 |
65
+ | 0.0012 | 4.29 | 1400 | 1.2153 | 0.7981 |
66
+ | 0.0034 | 4.6 | 1500 | 1.8931 | 0.7308 |
67
+ | 0.0339 | 4.91 | 1600 | 0.9071 | 0.8590 |
68
+ | 0.0013 | 5.21 | 1700 | 1.6266 | 0.7580 |
69
+ | 0.0373 | 5.52 | 1800 | 1.5252 | 0.7676 |
70
+ | 0.001 | 5.83 | 1900 | 1.2748 | 0.7869 |
71
+ | 0.0005 | 6.13 | 2000 | 1.2103 | 0.8061 |
72
+ | 0.0004 | 6.44 | 2100 | 1.3133 | 0.7981 |
73
+ | 0.0004 | 6.75 | 2200 | 1.2200 | 0.8045 |
74
+ | 0.0004 | 7.06 | 2300 | 1.2834 | 0.7933 |
75
+ | 0.0004 | 7.36 | 2400 | 1.3080 | 0.7949 |
76
+ | 0.0003 | 7.67 | 2500 | 1.3814 | 0.7917 |
77
+ | 0.0004 | 7.98 | 2600 | 1.2853 | 0.7965 |
78
+ | 0.0003 | 8.28 | 2700 | 1.3644 | 0.7933 |
79
+ | 0.0003 | 8.59 | 2800 | 1.3137 | 0.8013 |
80
+ | 0.0003 | 8.9 | 2900 | 1.3507 | 0.7997 |
81
+ | 0.0003 | 9.2 | 3000 | 1.3751 | 0.7997 |
82
+ | 0.0003 | 9.51 | 3100 | 1.3884 | 0.7981 |
83
+ | 0.0003 | 9.82 | 3200 | 1.3831 | 0.7997 |
84
+
85
+
86
+ ### Framework versions
87
+
88
+ - Transformers 4.17.0
89
+ - Pytorch 1.10.0+cu111
90
+ - Datasets 1.18.4
91
+ - Tokenizers 0.11.6