selmamalak commited on
Commit
6b263a8
1 Parent(s): 7e5086c

Model save

Browse files
Files changed (2) hide show
  1. README.md +82 -0
  2. adapter_model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ library_name: peft
4
+ tags:
5
+ - generated_from_trainer
6
+ datasets:
7
+ - medmnist-v2
8
+ metrics:
9
+ - accuracy
10
+ - precision
11
+ - recall
12
+ - f1
13
+ base_model: microsoft/swin-large-patch4-window7-224-in22k
14
+ model-index:
15
+ - name: derma-swin-large-finetuned
16
+ results: []
17
+ ---
18
+
19
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
20
+ should probably proofread and complete it, then remove this comment. -->
21
+
22
+ # derma-swin-large-finetuned
23
+
24
+ This model is a fine-tuned version of [microsoft/swin-large-patch4-window7-224-in22k](https://huggingface.co/microsoft/swin-large-patch4-window7-224-in22k) on the medmnist-v2 dataset.
25
+ It achieves the following results on the evaluation set:
26
+ - Loss: 0.5665
27
+ - Accuracy: 0.7856
28
+ - Precision: 0.6470
29
+ - Recall: 0.6288
30
+ - F1: 0.6355
31
+
32
+ ## Model description
33
+
34
+ More information needed
35
+
36
+ ## Intended uses & limitations
37
+
38
+ More information needed
39
+
40
+ ## Training and evaluation data
41
+
42
+ More information needed
43
+
44
+ ## Training procedure
45
+
46
+ ### Training hyperparameters
47
+
48
+ The following hyperparameters were used during training:
49
+ - learning_rate: 0.005
50
+ - train_batch_size: 16
51
+ - eval_batch_size: 16
52
+ - seed: 42
53
+ - gradient_accumulation_steps: 4
54
+ - total_train_batch_size: 64
55
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
56
+ - lr_scheduler_type: linear
57
+ - num_epochs: 10
58
+ - mixed_precision_training: Native AMP
59
+
60
+ ### Training results
61
+
62
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
63
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|:------:|
64
+ | 0.8516 | 1.0 | 109 | 0.7470 | 0.7547 | 0.5456 | 0.3914 | 0.4188 |
65
+ | 0.7738 | 2.0 | 219 | 0.8953 | 0.7168 | 0.4225 | 0.4459 | 0.3577 |
66
+ | 0.6994 | 3.0 | 328 | 0.6593 | 0.7607 | 0.6257 | 0.5059 | 0.5105 |
67
+ | 0.6731 | 4.0 | 438 | 0.6145 | 0.7717 | 0.6322 | 0.5001 | 0.5383 |
68
+ | 0.7266 | 5.0 | 547 | 0.6839 | 0.7398 | 0.5520 | 0.5344 | 0.4935 |
69
+ | 0.6388 | 6.0 | 657 | 0.6243 | 0.7667 | 0.6117 | 0.5063 | 0.5338 |
70
+ | 0.6495 | 7.0 | 766 | 0.6161 | 0.7827 | 0.6357 | 0.6153 | 0.6163 |
71
+ | 0.5639 | 8.0 | 876 | 0.5752 | 0.7836 | 0.6018 | 0.5912 | 0.5931 |
72
+ | 0.6012 | 9.0 | 985 | 0.5508 | 0.7926 | 0.6303 | 0.6195 | 0.6176 |
73
+ | 0.5468 | 9.95 | 1090 | 0.5665 | 0.7856 | 0.6470 | 0.6288 | 0.6355 |
74
+
75
+
76
+ ### Framework versions
77
+
78
+ - PEFT 0.9.0
79
+ - Transformers 4.38.2
80
+ - Pytorch 2.2.1+cu121
81
+ - Datasets 2.18.0
82
+ - Tokenizers 0.15.2
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c76dd53db9b90b9ddd1153b3400af0fb736cb6d09f2fea36082e84846bfa3f81
3
  size 4678020
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:56173f5b4ae05a27ab3e069668ca7ea80604720af287a1057626a292af26c9b1
3
  size 4678020