Commit
•
125ef8a
1
Parent(s):
bcd71ca
Model save
Browse files- README.md +80 -0
- 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/swin-large-patch4-window7-224-in22k
|
12 |
+
model-index:
|
13 |
+
- name: chest-swin-large-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-swin-large-finetuned
|
21 |
+
|
22 |
+
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 an unknown dataset.
|
23 |
+
It achieves the following results on the evaluation set:
|
24 |
+
- Loss: 0.1064
|
25 |
+
- Accuracy: 0.9622
|
26 |
+
- Precision: 0.9377
|
27 |
+
- Recall: 0.9723
|
28 |
+
- F1: 0.9530
|
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.3305 | 0.99 | 63 | 0.1600 | 0.9365 | 0.9478 | 0.8868 | 0.9119 |
|
63 |
+
| 0.2335 | 1.99 | 127 | 0.1552 | 0.9313 | 0.8968 | 0.9472 | 0.9166 |
|
64 |
+
| 0.1977 | 3.0 | 191 | 0.0855 | 0.9734 | 0.9608 | 0.9714 | 0.9659 |
|
65 |
+
| 0.1746 | 4.0 | 255 | 0.0870 | 0.9794 | 0.9794 | 0.9669 | 0.9729 |
|
66 |
+
| 0.1797 | 4.99 | 318 | 0.0829 | 0.9700 | 0.9549 | 0.9690 | 0.9617 |
|
67 |
+
| 0.1436 | 5.99 | 382 | 0.0797 | 0.9708 | 0.9556 | 0.9707 | 0.9628 |
|
68 |
+
| 0.1632 | 7.0 | 446 | 0.0816 | 0.9700 | 0.9508 | 0.9754 | 0.9621 |
|
69 |
+
| 0.1125 | 8.0 | 510 | 0.1007 | 0.9614 | 0.9365 | 0.9717 | 0.9519 |
|
70 |
+
| 0.1076 | 8.99 | 573 | 0.0900 | 0.9691 | 0.9482 | 0.9770 | 0.9612 |
|
71 |
+
| 0.1188 | 9.88 | 630 | 0.1064 | 0.9622 | 0.9377 | 0.9723 | 0.9530 |
|
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:
|
3 |
size 4647264
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:905a1739d85a57a789e298fffbf345efa7f78caedb89251bcfbbd8f9458bf5ae
|
3 |
size 4647264
|