selmamalak commited on
Commit
01229f3
·
verified ·
1 Parent(s): 4898104

Model save

Browse files
Files changed (2) hide show
  1. README.md +80 -0
  2. adapter_model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,80 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ library_name: peft
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ - precision
9
+ - recall
10
+ - f1
11
+ base_model: google/vit-base-patch16-224-in21k
12
+ model-index:
13
+ - name: chest-vit-base-finetuned
14
+ results: []
15
+ ---
16
+
17
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
18
+ should probably proofread and complete it, then remove this comment. -->
19
+
20
+ # chest-vit-base-finetuned
21
+
22
+ This model is a fine-tuned version of [google/vit-base-patch16-224-in21k](https://huggingface.co/google/vit-base-patch16-224-in21k) on an unknown dataset.
23
+ It achieves the following results on the evaluation set:
24
+ - Loss: 0.0982
25
+ - Accuracy: 0.9639
26
+ - Precision: 0.9419
27
+ - Recall: 0.9703
28
+ - F1: 0.9548
29
+
30
+ ## Model description
31
+
32
+ More information needed
33
+
34
+ ## Intended uses & limitations
35
+
36
+ More information needed
37
+
38
+ ## Training and evaluation data
39
+
40
+ More information needed
41
+
42
+ ## Training procedure
43
+
44
+ ### Training hyperparameters
45
+
46
+ The following hyperparameters were used during training:
47
+ - learning_rate: 0.005
48
+ - train_batch_size: 16
49
+ - eval_batch_size: 16
50
+ - seed: 42
51
+ - gradient_accumulation_steps: 4
52
+ - total_train_batch_size: 64
53
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
54
+ - lr_scheduler_type: linear
55
+ - num_epochs: 10
56
+ - mixed_precision_training: Native AMP
57
+
58
+ ### Training results
59
+
60
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
61
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|:------:|
62
+ | 0.211 | 0.99 | 63 | 0.1140 | 0.9605 | 0.9401 | 0.9616 | 0.9501 |
63
+ | 0.1911 | 1.99 | 127 | 0.1517 | 0.9330 | 0.8989 | 0.9483 | 0.9186 |
64
+ | 0.1695 | 3.0 | 191 | 0.1163 | 0.9579 | 0.9354 | 0.9609 | 0.9471 |
65
+ | 0.1556 | 4.0 | 255 | 0.1159 | 0.9571 | 0.9669 | 0.9220 | 0.9417 |
66
+ | 0.173 | 4.99 | 318 | 0.1166 | 0.9502 | 0.9229 | 0.9578 | 0.9381 |
67
+ | 0.1485 | 5.99 | 382 | 0.0825 | 0.9717 | 0.9578 | 0.9702 | 0.9638 |
68
+ | 0.1854 | 7.0 | 446 | 0.0878 | 0.9717 | 0.9578 | 0.9702 | 0.9638 |
69
+ | 0.1353 | 8.0 | 510 | 0.1060 | 0.9588 | 0.9351 | 0.9647 | 0.9484 |
70
+ | 0.1196 | 8.99 | 573 | 0.0882 | 0.9691 | 0.9527 | 0.9695 | 0.9607 |
71
+ | 0.1218 | 9.88 | 630 | 0.0982 | 0.9639 | 0.9419 | 0.9703 | 0.9548 |
72
+
73
+
74
+ ### Framework versions
75
+
76
+ - PEFT 0.9.0
77
+ - Transformers 4.38.2
78
+ - Pytorch 2.2.1+cu121
79
+ - Datasets 2.18.0
80
+ - Tokenizers 0.15.2
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:4b51076d0ffc18c077ca0b8ee62296d42eb243ebd1f7c1483fda0b890131b086
3
  size 2372592
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bbb7689c9f826774878cffebf5096bf4a44b659cc8214363b89786b7c51e0e45
3
  size 2372592