selmamalak commited on
Commit
2e62a75
1 Parent(s): d318502

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: microsoft/beit-base-patch16-224-pt22k-ft22k
12
+ model-index:
13
+ - name: chest-beit-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-beit-base-finetuned
21
+
22
+ This model is a fine-tuned version of [microsoft/beit-base-patch16-224-pt22k-ft22k](https://huggingface.co/microsoft/beit-base-patch16-224-pt22k-ft22k) on an unknown dataset.
23
+ It achieves the following results on the evaluation set:
24
+ - Loss: 0.2739
25
+ - Accuracy: 0.8927
26
+ - Precision: 0.8528
27
+ - Recall: 0.8912
28
+ - F1: 0.8685
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.4775 | 0.99 | 63 | 0.2264 | 0.9142 | 0.8850 | 0.8962 | 0.8903 |
63
+ | 0.7117 | 1.99 | 127 | 0.4008 | 0.7391 | 0.3695 | 0.5 | 0.4250 |
64
+ | 0.4115 | 3.0 | 191 | 0.4358 | 0.8155 | 0.7871 | 0.8645 | 0.7957 |
65
+ | 0.3631 | 4.0 | 255 | 0.3091 | 0.8798 | 0.8381 | 0.8708 | 0.8518 |
66
+ | 0.3794 | 4.99 | 318 | 0.2802 | 0.8798 | 0.8393 | 0.8623 | 0.8495 |
67
+ | 0.3713 | 5.99 | 382 | 0.2805 | 0.8773 | 0.8371 | 0.8542 | 0.8449 |
68
+ | 0.3953 | 7.0 | 446 | 0.3397 | 0.8584 | 0.8185 | 0.8872 | 0.8367 |
69
+ | 0.3218 | 8.0 | 510 | 0.3072 | 0.8670 | 0.8257 | 0.8898 | 0.8448 |
70
+ | 0.3219 | 8.99 | 573 | 0.2633 | 0.8961 | 0.8582 | 0.8872 | 0.8708 |
71
+ | 0.3049 | 9.88 | 630 | 0.2739 | 0.8927 | 0.8528 | 0.8912 | 0.8685 |
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:d8026727d718044ad2f34a1e838af7d8ff19b91a9b4c07ea5d15993a662fec5d
3
  size 2372656
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7ac60df562bea276cce06441ef10ef1c5438ff18e8afa8f3335025ddbedd3a93
3
  size 2372656