mthandazo commited on
Commit
0407235
1 Parent(s): 7db9e9f

vit_chest-xray_pneumonia_image_classification

Browse files
Files changed (2) hide show
  1. README.md +67 -0
  2. model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: google/vit-large-patch16-224
4
+ tags:
5
+ - generated_from_trainer
6
+ model-index:
7
+ - name: vit-xray-chest-classification-pneumonia
8
+ results: []
9
+ ---
10
+
11
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
12
+ should probably proofread and complete it, then remove this comment. -->
13
+
14
+ [<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="200" height="32"/>](https://wandb.ai/mthandazogegane/huggingface/runs/oj2ksbq2)
15
+ # vit-xray-chest-classification-pneumonia
16
+
17
+ This model is a fine-tuned version of [google/vit-large-patch16-224](https://huggingface.co/google/vit-large-patch16-224) on the None dataset.
18
+ It achieves the following results on the evaluation set:
19
+ - Loss: 0.1390
20
+
21
+ ## Model description
22
+
23
+ More information needed
24
+
25
+ ## Intended uses & limitations
26
+
27
+ More information needed
28
+
29
+ ## Training and evaluation data
30
+
31
+ More information needed
32
+
33
+ ## Training procedure
34
+
35
+ ### Training hyperparameters
36
+
37
+ The following hyperparameters were used during training:
38
+ - learning_rate: 2e-05
39
+ - train_batch_size: 10
40
+ - eval_batch_size: 4
41
+ - seed: 42
42
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
43
+ - lr_scheduler_type: linear
44
+ - num_epochs: 10
45
+
46
+ ### Training results
47
+
48
+ | Training Loss | Epoch | Step | Validation Loss |
49
+ |:-------------:|:-----:|:----:|:---------------:|
50
+ | No log | 1.0 | 469 | 0.2521 |
51
+ | 0.2725 | 2.0 | 938 | 0.1408 |
52
+ | 0.1912 | 3.0 | 1407 | 0.1250 |
53
+ | 0.1708 | 4.0 | 1876 | 0.0978 |
54
+ | 0.1482 | 5.0 | 2345 | 0.1008 |
55
+ | 0.1424 | 6.0 | 2814 | 0.1339 |
56
+ | 0.124 | 7.0 | 3283 | 0.0987 |
57
+ | 0.1257 | 8.0 | 3752 | 0.1206 |
58
+ | 0.1085 | 9.0 | 4221 | 0.1409 |
59
+ | 0.0947 | 10.0 | 4690 | 0.1390 |
60
+
61
+
62
+ ### Framework versions
63
+
64
+ - Transformers 4.42.4
65
+ - Pytorch 2.3.1+cu121
66
+ - Datasets 2.21.0
67
+ - Tokenizers 0.19.1
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:31844c5d3cea6d522fe1fb3973e8b9f2b264000762523e868f0425dc0dc5e8f2
3
  size 1213261264
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8a04df00875986ddf853d58c73337c4d0a8db3317037e95656aae85b18075ad2
3
  size 1213261264