selmamalak commited on
Commit
d270617
1 Parent(s): dc0752c

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: facebook/deit-base-patch16-224
14
+ model-index:
15
+ - name: derma-deit-base-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-deit-base-finetuned
23
+
24
+ This model is a fine-tuned version of [facebook/deit-base-patch16-224](https://huggingface.co/facebook/deit-base-patch16-224) on the medmnist-v2 dataset.
25
+ It achieves the following results on the evaluation set:
26
+ - Loss: 0.5544
27
+ - Accuracy: 0.7956
28
+ - Precision: 0.6273
29
+ - Recall: 0.5810
30
+ - F1: 0.5998
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.9012 | 1.0 | 109 | 0.7630 | 0.7228 | 0.4263 | 0.3269 | 0.3462 |
65
+ | 0.7636 | 2.0 | 219 | 0.7212 | 0.7288 | 0.5912 | 0.3631 | 0.3789 |
66
+ | 0.7189 | 3.0 | 328 | 0.7622 | 0.7258 | 0.4465 | 0.4230 | 0.3935 |
67
+ | 0.6904 | 4.0 | 438 | 0.7281 | 0.7438 | 0.4888 | 0.4484 | 0.4115 |
68
+ | 0.7658 | 5.0 | 547 | 0.7215 | 0.7398 | 0.4855 | 0.4252 | 0.3753 |
69
+ | 0.6363 | 6.0 | 657 | 0.6329 | 0.7677 | 0.6350 | 0.4928 | 0.5121 |
70
+ | 0.6299 | 7.0 | 766 | 0.6117 | 0.7717 | 0.5962 | 0.5781 | 0.5713 |
71
+ | 0.6011 | 8.0 | 876 | 0.5919 | 0.7797 | 0.6162 | 0.5757 | 0.5902 |
72
+ | 0.6043 | 9.0 | 985 | 0.5476 | 0.7946 | 0.6295 | 0.5813 | 0.5983 |
73
+ | 0.5671 | 9.95 | 1090 | 0.5544 | 0.7956 | 0.6273 | 0.5810 | 0.5998 |
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:1ce78f3c2bf7c0e589b27d6665aceac0920b4e1722e5688a70ee304265d47613
3
  size 2387980
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8a43ad4f0477f7b195b5ee62c3b19651f10bf085d46ecde1bd4da6bcc2ae9401
3
  size 2387980