kedimestan commited on
Commit
f5f0e98
·
verified ·
1 Parent(s): bfe14de

Model save

Browse files
README.md ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: microsoft/swin-base-patch4-window7-224
5
+ tags:
6
+ - generated_from_trainer
7
+ datasets:
8
+ - imagefolder
9
+ metrics:
10
+ - accuracy
11
+ model-index:
12
+ - name: swin-base-patch4-window7-224
13
+ results:
14
+ - task:
15
+ name: Image Classification
16
+ type: image-classification
17
+ dataset:
18
+ name: imagefolder
19
+ type: imagefolder
20
+ config: default
21
+ split: train
22
+ args: default
23
+ metrics:
24
+ - name: Accuracy
25
+ type: accuracy
26
+ value: 1.0
27
+ ---
28
+
29
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
30
+ should probably proofread and complete it, then remove this comment. -->
31
+
32
+ # swin-base-patch4-window7-224
33
+
34
+ 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.
35
+ It achieves the following results on the evaluation set:
36
+ - Loss: 0.0139
37
+ - Accuracy: 1.0
38
+
39
+ ## Model description
40
+
41
+ More information needed
42
+
43
+ ## Intended uses & limitations
44
+
45
+ More information needed
46
+
47
+ ## Training and evaluation data
48
+
49
+ More information needed
50
+
51
+ ## Training procedure
52
+
53
+ ### Training hyperparameters
54
+
55
+ The following hyperparameters were used during training:
56
+ - learning_rate: 5e-05
57
+ - train_batch_size: 32
58
+ - eval_batch_size: 32
59
+ - seed: 42
60
+ - gradient_accumulation_steps: 4
61
+ - total_train_batch_size: 128
62
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
63
+ - lr_scheduler_type: linear
64
+ - lr_scheduler_warmup_ratio: 0.1
65
+ - num_epochs: 10
66
+
67
+ ### Training results
68
+
69
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
70
+ |:-------------:|:------:|:----:|:---------------:|:--------:|
71
+ | No log | 0.5714 | 1 | 0.6477 | 0.6957 |
72
+ | No log | 1.7143 | 3 | 0.2528 | 1.0 |
73
+ | No log | 2.8571 | 5 | 0.0827 | 1.0 |
74
+ | No log | 4.0 | 7 | 0.0320 | 1.0 |
75
+ | No log | 4.5714 | 8 | 0.0217 | 1.0 |
76
+ | 0.2868 | 5.7143 | 10 | 0.0139 | 1.0 |
77
+
78
+
79
+ ### Framework versions
80
+
81
+ - Transformers 4.44.2
82
+ - Pytorch 2.4.1+cu121
83
+ - Datasets 3.2.0
84
+ - Tokenizers 0.19.1
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:dd983f1b24983ba9f2ee321d2d8c2db4262fd1d009f5e6175bd5f2198b50056c
3
  size 347498816
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f77c2da2047d70b5a44e67728527567bab99a8474f69c807485f7aaeff5beef6
3
  size 347498816
runs/Jan13_20-35-59_79888b5e5697/events.out.tfevents.1736800562.79888b5e5697.21.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ba646a59f0eb05c07bc0a2f069e8b6130e11a20c2226953de16eb19dd1f68795
3
- size 7583
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5259f2cbc18a1139ae0c97d18fad288ff8c1704e14b3bdba4f449ec6a6a5d8ce
3
+ size 7931