DouglasBraga commited on
Commit
3a77b59
1 Parent(s): 5a4f371

Model save

Browse files
Files changed (2) hide show
  1. README.md +89 -0
  2. model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: microsoft/swin-tiny-patch4-window7-224
5
+ tags:
6
+ - generated_from_trainer
7
+ datasets:
8
+ - imagefolder
9
+ metrics:
10
+ - accuracy
11
+ model-index:
12
+ - name: swin-tiny-patch4-window7-224-finetuned-leukemia-08-2024.v1.2
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: 0.74475
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-tiny-patch4-window7-224-finetuned-leukemia-08-2024.v1.2
33
+
34
+ This model is a fine-tuned version of [microsoft/swin-tiny-patch4-window7-224](https://huggingface.co/microsoft/swin-tiny-patch4-window7-224) on the imagefolder dataset.
35
+ It achieves the following results on the evaluation set:
36
+ - Loss: 1.1793
37
+ - Accuracy: 0.7448
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
+ - mixed_precision_training: Native AMP
67
+
68
+ ### Training results
69
+
70
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
71
+ |:-------------:|:------:|:----:|:---------------:|:--------:|
72
+ | 0.471 | 0.9984 | 312 | 0.5907 | 0.6715 |
73
+ | 0.3376 | 2.0 | 625 | 0.8904 | 0.702 |
74
+ | 0.2266 | 2.9984 | 937 | 1.8065 | 0.556 |
75
+ | 0.2529 | 4.0 | 1250 | 0.8170 | 0.713 |
76
+ | 0.1925 | 4.9984 | 1562 | 1.0643 | 0.6907 |
77
+ | 0.177 | 6.0 | 1875 | 1.2558 | 0.6843 |
78
+ | 0.1563 | 6.9984 | 2187 | 0.9205 | 0.7445 |
79
+ | 0.1417 | 8.0 | 2500 | 0.6624 | 0.8063 |
80
+ | 0.1284 | 8.9984 | 2812 | 1.1648 | 0.739 |
81
+ | 0.0805 | 9.984 | 3120 | 1.1793 | 0.7448 |
82
+
83
+
84
+ ### Framework versions
85
+
86
+ - Transformers 4.44.2
87
+ - Pytorch 2.4.0+cu118
88
+ - Datasets 2.21.0
89
+ - Tokenizers 0.19.1
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:5f960ce05c970f908be066b14f3570744009d8446c8bac97734fb4fc7cad32ce
3
  size 110342832
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e0e933d0c2caa17c68c0fe8ec67d580099464a8aca0ad7f4b270403551a136b0
3
  size 110342832