Liyan049 commited on
Commit
9b58198
·
1 Parent(s): 945023f

Model save

Browse files
README.md ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: microsoft/swin-base-patch4-window7-224
4
+ tags:
5
+ - generated_from_trainer
6
+ datasets:
7
+ - imagefolder
8
+ metrics:
9
+ - accuracy
10
+ model-index:
11
+ - name: swin-base-patch4-window7-224-finetuned-lora-scenes
12
+ results: []
13
+ ---
14
+
15
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
16
+ should probably proofread and complete it, then remove this comment. -->
17
+
18
+ # swin-base-patch4-window7-224-finetuned-lora-scenes
19
+
20
+ This model is a fine-tuned version of [microsoft/swin-base-patch4-window7-224](https://huggingface.co/microsoft/swin-base-patch4-window7-224) on the imagefolder dataset.
21
+ It achieves the following results on the evaluation set:
22
+ - Loss: 0.0931
23
+ - Accuracy: 0.9842
24
+
25
+ ## Model description
26
+
27
+ More information needed
28
+
29
+ ## Intended uses & limitations
30
+
31
+ More information needed
32
+
33
+ ## Training and evaluation data
34
+
35
+ More information needed
36
+
37
+ ## Training procedure
38
+
39
+ ### Training hyperparameters
40
+
41
+ The following hyperparameters were used during training:
42
+ - learning_rate: 0.005
43
+ - train_batch_size: 32
44
+ - eval_batch_size: 32
45
+ - seed: 42
46
+ - gradient_accumulation_steps: 4
47
+ - total_train_batch_size: 128
48
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
49
+ - lr_scheduler_type: linear
50
+ - num_epochs: 5
51
+ - mixed_precision_training: Native AMP
52
+
53
+ ### Training results
54
+
55
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
56
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
57
+ | 0.1579 | 0.99 | 31 | 0.1239 | 0.9752 |
58
+ | 0.1332 | 1.98 | 62 | 0.0900 | 0.9820 |
59
+ | 0.0842 | 2.98 | 93 | 0.1094 | 0.9730 |
60
+ | 0.0782 | 4.0 | 125 | 0.0978 | 0.9820 |
61
+ | 0.0761 | 4.96 | 155 | 0.0931 | 0.9842 |
62
+
63
+
64
+ ### Framework versions
65
+
66
+ - Transformers 4.35.2
67
+ - Pytorch 2.1.0+cu118
68
+ - Datasets 2.15.0
69
+ - Tokenizers 0.15.0
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:31813b390f689ddd8fed445abb38a47f9a54b1b7120a7cf1d736ddcb813903bb
3
  size 3135864
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a265673c8f06cd6ce99bd128786b796bc45a08167519f9970334baab681b9301
3
  size 3135864
runs/Dec01_23-23-04_6a3023817698/events.out.tfevents.1701472988.6a3023817698.158.2 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:93b17268c3de2c62d4a511dd1e5b0ff76905f0bb42f56aa08016fa8d448f7f93
3
- size 8188
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:34e6f36ebed3f6ffe7d839a29d2ac0852cfff360522fca48f6db52c18cd27133
3
+ size 9336
runs/Dec01_23-23-04_6a3023817698/events.out.tfevents.1701473372.6a3023817698.158.3 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:86fbd006032b8c1ec3671a2cb55ed4e5d01718e2a75280474567ffb0e43e23c4
3
+ size 411