zkdeng commited on
Commit
7c4008b
1 Parent(s): c45bbdf

Model save

Browse files
Files changed (2) hide show
  1. README.md +79 -0
  2. pytorch_model.bin +1 -1
README.md ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: microsoft/swin-base-patch4-window12-384
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ - precision
9
+ - recall
10
+ - f1
11
+ model-index:
12
+ - name: 10-swin-base-patch4-window12-384-finetuned-spiderTraining20-500
13
+ results: []
14
+ ---
15
+
16
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
17
+ should probably proofread and complete it, then remove this comment. -->
18
+
19
+ # 10-swin-base-patch4-window12-384-finetuned-spiderTraining20-500
20
+
21
+ This model is a fine-tuned version of [microsoft/swin-base-patch4-window12-384](https://huggingface.co/microsoft/swin-base-patch4-window12-384) on an unknown dataset.
22
+ It achieves the following results on the evaluation set:
23
+ - Loss: 0.3023
24
+ - Accuracy: 0.9339
25
+ - Precision: 0.9335
26
+ - Recall: 0.9314
27
+ - F1: 0.9313
28
+
29
+ ## Model description
30
+
31
+ More information needed
32
+
33
+ ## Intended uses & limitations
34
+
35
+ More information needed
36
+
37
+ ## Training and evaluation data
38
+
39
+ More information needed
40
+
41
+ ## Training procedure
42
+
43
+ ### Training hyperparameters
44
+
45
+ The following hyperparameters were used during training:
46
+ - learning_rate: 0.0005
47
+ - train_batch_size: 25
48
+ - eval_batch_size: 25
49
+ - seed: 42
50
+ - distributed_type: multi-GPU
51
+ - gradient_accumulation_steps: 4
52
+ - total_train_batch_size: 100
53
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
54
+ - lr_scheduler_type: linear
55
+ - lr_scheduler_warmup_ratio: 0.1
56
+ - num_epochs: 10
57
+
58
+ ### Training results
59
+
60
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
61
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|:------:|
62
+ | 0.786 | 1.0 | 80 | 0.6341 | 0.7918 | 0.8135 | 0.7860 | 0.7830 |
63
+ | 0.6519 | 2.0 | 160 | 0.6522 | 0.7958 | 0.8177 | 0.7913 | 0.7840 |
64
+ | 0.6352 | 3.0 | 240 | 0.5289 | 0.8328 | 0.8473 | 0.8255 | 0.8258 |
65
+ | 0.4922 | 4.0 | 320 | 0.5681 | 0.8448 | 0.8680 | 0.8386 | 0.8396 |
66
+ | 0.3959 | 5.0 | 400 | 0.3896 | 0.8799 | 0.8816 | 0.8772 | 0.8755 |
67
+ | 0.3277 | 6.0 | 480 | 0.3588 | 0.9119 | 0.9073 | 0.9104 | 0.9080 |
68
+ | 0.284 | 7.0 | 560 | 0.3355 | 0.9099 | 0.9126 | 0.9066 | 0.9058 |
69
+ | 0.2075 | 8.0 | 640 | 0.2876 | 0.9289 | 0.9271 | 0.9287 | 0.9269 |
70
+ | 0.1751 | 9.0 | 720 | 0.2871 | 0.9349 | 0.9337 | 0.9320 | 0.9321 |
71
+ | 0.1923 | 10.0 | 800 | 0.3023 | 0.9339 | 0.9335 | 0.9314 | 0.9313 |
72
+
73
+
74
+ ### Framework versions
75
+
76
+ - Transformers 4.33.3
77
+ - Pytorch 2.0.1+cu117
78
+ - Datasets 2.14.5
79
+ - Tokenizers 0.13.3
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a04393a1876bf15736888ba6b12d32e143473ca94b74120ac939a93b1ceff157
3
  size 351735569
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0a6a3494a512ec1d878c7c01e87ccf168a185890f468404e8fd130d3675910da
3
  size 351735569