rukundob451
commited on
Commit
•
d7bc196
1
Parent(s):
400550f
Model save
Browse files- README.md +92 -0
- model.safetensors +1 -1
README.md
ADDED
@@ -0,0 +1,92 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: facebook/deit-tiny-patch16-224
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
datasets:
|
7 |
+
- imagefolder
|
8 |
+
metrics:
|
9 |
+
- accuracy
|
10 |
+
model-index:
|
11 |
+
- name: deit-tiny-patch16-224-finetuned-papsmear
|
12 |
+
results:
|
13 |
+
- task:
|
14 |
+
name: Image Classification
|
15 |
+
type: image-classification
|
16 |
+
dataset:
|
17 |
+
name: imagefolder
|
18 |
+
type: imagefolder
|
19 |
+
config: default
|
20 |
+
split: train
|
21 |
+
args: default
|
22 |
+
metrics:
|
23 |
+
- name: Accuracy
|
24 |
+
type: accuracy
|
25 |
+
value: 0.8455882352941176
|
26 |
+
---
|
27 |
+
|
28 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
29 |
+
should probably proofread and complete it, then remove this comment. -->
|
30 |
+
|
31 |
+
# deit-tiny-patch16-224-finetuned-papsmear
|
32 |
+
|
33 |
+
This model is a fine-tuned version of [facebook/deit-tiny-patch16-224](https://huggingface.co/facebook/deit-tiny-patch16-224) on the imagefolder dataset.
|
34 |
+
It achieves the following results on the evaluation set:
|
35 |
+
- Loss: 0.4383
|
36 |
+
- Accuracy: 0.8456
|
37 |
+
|
38 |
+
## Model description
|
39 |
+
|
40 |
+
More information needed
|
41 |
+
|
42 |
+
## Intended uses & limitations
|
43 |
+
|
44 |
+
More information needed
|
45 |
+
|
46 |
+
## Training and evaluation data
|
47 |
+
|
48 |
+
More information needed
|
49 |
+
|
50 |
+
## Training procedure
|
51 |
+
|
52 |
+
### Training hyperparameters
|
53 |
+
|
54 |
+
The following hyperparameters were used during training:
|
55 |
+
- learning_rate: 5e-05
|
56 |
+
- train_batch_size: 16
|
57 |
+
- eval_batch_size: 16
|
58 |
+
- seed: 42
|
59 |
+
- gradient_accumulation_steps: 4
|
60 |
+
- total_train_batch_size: 64
|
61 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
62 |
+
- lr_scheduler_type: linear
|
63 |
+
- lr_scheduler_warmup_ratio: 0.1
|
64 |
+
- num_epochs: 15
|
65 |
+
|
66 |
+
### Training results
|
67 |
+
|
68 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
69 |
+
|:-------------:|:-------:|:----:|:---------------:|:--------:|
|
70 |
+
| 1.8247 | 0.9870 | 19 | 1.6199 | 0.3015 |
|
71 |
+
| 1.415 | 1.9740 | 38 | 1.2594 | 0.5147 |
|
72 |
+
| 1.06 | 2.9610 | 57 | 1.0316 | 0.6471 |
|
73 |
+
| 0.8808 | 4.0 | 77 | 1.0088 | 0.625 |
|
74 |
+
| 0.7646 | 4.9870 | 96 | 0.8211 | 0.6985 |
|
75 |
+
| 0.6798 | 5.9740 | 115 | 0.7383 | 0.7132 |
|
76 |
+
| 0.554 | 6.9610 | 134 | 0.6477 | 0.7574 |
|
77 |
+
| 0.5358 | 8.0 | 154 | 0.5824 | 0.7647 |
|
78 |
+
| 0.4689 | 8.9870 | 173 | 0.5571 | 0.7794 |
|
79 |
+
| 0.4217 | 9.9740 | 192 | 0.5506 | 0.7868 |
|
80 |
+
| 0.4063 | 10.9610 | 211 | 0.4987 | 0.8235 |
|
81 |
+
| 0.3827 | 12.0 | 231 | 0.4793 | 0.8088 |
|
82 |
+
| 0.3095 | 12.9870 | 250 | 0.4724 | 0.8015 |
|
83 |
+
| 0.3521 | 13.9740 | 269 | 0.4389 | 0.8529 |
|
84 |
+
| 0.3397 | 14.8052 | 285 | 0.4383 | 0.8456 |
|
85 |
+
|
86 |
+
|
87 |
+
### Framework versions
|
88 |
+
|
89 |
+
- Transformers 4.44.0
|
90 |
+
- Pytorch 2.4.0
|
91 |
+
- Datasets 2.21.0
|
92 |
+
- Tokenizers 0.19.1
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 22125008
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c20b1e8251ae7809d10ca8ba1591fd6757009e38bc680a309636b329da714b8e
|
3 |
size 22125008
|