selmamalak commited on
Commit
22e48a1
1 Parent(s): a43bb6e

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
+ base_model: facebook/deit-base-patch16-224
7
+ datasets:
8
+ - medmnist-v2
9
+ metrics:
10
+ - accuracy
11
+ - precision
12
+ - recall
13
+ - f1
14
+ model-index:
15
+ - name: pneumoniamnist-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
+ # pneumoniamnist-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.3024
27
+ - Accuracy: 0.8740
28
+ - Precision: 0.8314
29
+ - Recall: 0.8958
30
+ - F1: 0.8515
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.6158 | 0.9898 | 73 | 0.5674 | 0.7424 | 0.3712 | 0.5 | 0.4261 |
65
+ | 0.5322 | 1.9932 | 147 | 0.4840 | 0.7729 | 0.8829 | 0.5593 | 0.5396 |
66
+ | 0.4139 | 2.9966 | 221 | 0.3727 | 0.7939 | 0.8913 | 0.6 | 0.6057 |
67
+ | 0.3979 | 4.0 | 295 | 0.5270 | 0.7309 | 0.7405 | 0.8139 | 0.7168 |
68
+ | 0.3858 | 4.9898 | 368 | 0.3062 | 0.8531 | 0.8073 | 0.8623 | 0.8253 |
69
+ | 0.3704 | 5.9932 | 442 | 0.3774 | 0.8263 | 0.7939 | 0.8734 | 0.8056 |
70
+ | 0.3345 | 6.9966 | 516 | 0.2403 | 0.9027 | 0.8691 | 0.8812 | 0.8749 |
71
+ | 0.3875 | 8.0 | 590 | 0.3021 | 0.8817 | 0.8389 | 0.8985 | 0.8590 |
72
+ | 0.3673 | 8.9898 | 663 | 0.2865 | 0.8969 | 0.8557 | 0.9064 | 0.8749 |
73
+ | 0.3493 | 9.8983 | 730 | 0.3024 | 0.8740 | 0.8314 | 0.8958 | 0.8515 |
74
+
75
+
76
+ ### Framework versions
77
+
78
+ - PEFT 0.11.1
79
+ - Transformers 4.41.1
80
+ - Pytorch 2.3.0+cu121
81
+ - Datasets 2.19.1
82
+ - Tokenizers 0.19.1
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:590d041f92f5dcf846ebf7fd8739b37a03b63fc6efe3c1028ec220cd80dee730
3
  size 2372592
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d6f7a1b2105328d2eb8585e34dea881b95c7f317d7dda8d91d983797ae119a67
3
  size 2372592