Model save
Browse files- README.md +125 -0
- model.safetensors +1 -1
README.md
ADDED
@@ -0,0 +1,125 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
license: apache-2.0
|
4 |
+
base_model: facebook/convnext-tiny-224
|
5 |
+
tags:
|
6 |
+
- generated_from_trainer
|
7 |
+
datasets:
|
8 |
+
- imagefolder
|
9 |
+
metrics:
|
10 |
+
- accuracy
|
11 |
+
model-index:
|
12 |
+
- name: convnext-tiny-224-finetuned-papsmear
|
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.8897058823529411
|
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 |
+
# convnext-tiny-224-finetuned-papsmear
|
33 |
+
|
34 |
+
This model is a fine-tuned version of [facebook/convnext-tiny-224](https://huggingface.co/facebook/convnext-tiny-224) on the imagefolder dataset.
|
35 |
+
It achieves the following results on the evaluation set:
|
36 |
+
- Loss: 0.2738
|
37 |
+
- Accuracy: 0.8897
|
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: 50
|
66 |
+
|
67 |
+
### Training results
|
68 |
+
|
69 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
70 |
+
|:-------------:|:-------:|:----:|:---------------:|:--------:|
|
71 |
+
| No log | 0.9231 | 9 | 1.7808 | 0.1691 |
|
72 |
+
| 1.8057 | 1.9487 | 19 | 1.6808 | 0.3309 |
|
73 |
+
| 1.7394 | 2.9744 | 29 | 1.5825 | 0.3382 |
|
74 |
+
| 1.6408 | 4.0 | 39 | 1.4576 | 0.375 |
|
75 |
+
| 1.5428 | 4.9231 | 48 | 1.3281 | 0.5221 |
|
76 |
+
| 1.3931 | 5.9487 | 58 | 1.2044 | 0.5588 |
|
77 |
+
| 1.2669 | 6.9744 | 68 | 1.0756 | 0.6103 |
|
78 |
+
| 1.1355 | 8.0 | 78 | 0.9845 | 0.6324 |
|
79 |
+
| 1.0379 | 8.9231 | 87 | 0.9260 | 0.6618 |
|
80 |
+
| 0.9571 | 9.9487 | 97 | 0.8539 | 0.6618 |
|
81 |
+
| 0.8376 | 10.9744 | 107 | 0.7998 | 0.7279 |
|
82 |
+
| 0.7942 | 12.0 | 117 | 0.7573 | 0.75 |
|
83 |
+
| 0.7095 | 12.9231 | 126 | 0.7005 | 0.7426 |
|
84 |
+
| 0.7022 | 13.9487 | 136 | 0.6834 | 0.7868 |
|
85 |
+
| 0.6504 | 14.9744 | 146 | 0.6552 | 0.7721 |
|
86 |
+
| 0.589 | 16.0 | 156 | 0.6192 | 0.8015 |
|
87 |
+
| 0.5679 | 16.9231 | 165 | 0.5738 | 0.8088 |
|
88 |
+
| 0.5236 | 17.9487 | 175 | 0.5617 | 0.8015 |
|
89 |
+
| 0.5244 | 18.9744 | 185 | 0.5073 | 0.8235 |
|
90 |
+
| 0.4781 | 20.0 | 195 | 0.5112 | 0.8162 |
|
91 |
+
| 0.453 | 20.9231 | 204 | 0.4650 | 0.8235 |
|
92 |
+
| 0.4544 | 21.9487 | 214 | 0.4591 | 0.8456 |
|
93 |
+
| 0.419 | 22.9744 | 224 | 0.4403 | 0.8309 |
|
94 |
+
| 0.4146 | 24.0 | 234 | 0.4292 | 0.8382 |
|
95 |
+
| 0.398 | 24.9231 | 243 | 0.4315 | 0.8382 |
|
96 |
+
| 0.3918 | 25.9487 | 253 | 0.3980 | 0.8676 |
|
97 |
+
| 0.361 | 26.9744 | 263 | 0.3758 | 0.8603 |
|
98 |
+
| 0.3355 | 28.0 | 273 | 0.3657 | 0.8603 |
|
99 |
+
| 0.3483 | 28.9231 | 282 | 0.3669 | 0.875 |
|
100 |
+
| 0.3171 | 29.9487 | 292 | 0.3492 | 0.8603 |
|
101 |
+
| 0.3249 | 30.9744 | 302 | 0.3400 | 0.875 |
|
102 |
+
| 0.3087 | 32.0 | 312 | 0.3251 | 0.875 |
|
103 |
+
| 0.3029 | 32.9231 | 321 | 0.3167 | 0.8824 |
|
104 |
+
| 0.3018 | 33.9487 | 331 | 0.3192 | 0.875 |
|
105 |
+
| 0.2823 | 34.9744 | 341 | 0.3066 | 0.875 |
|
106 |
+
| 0.2744 | 36.0 | 351 | 0.3003 | 0.875 |
|
107 |
+
| 0.258 | 36.9231 | 360 | 0.2964 | 0.875 |
|
108 |
+
| 0.2714 | 37.9487 | 370 | 0.3039 | 0.875 |
|
109 |
+
| 0.2486 | 38.9744 | 380 | 0.2937 | 0.875 |
|
110 |
+
| 0.2511 | 40.0 | 390 | 0.2739 | 0.8824 |
|
111 |
+
| 0.2511 | 40.9231 | 399 | 0.2836 | 0.8897 |
|
112 |
+
| 0.2659 | 41.9487 | 409 | 0.2804 | 0.875 |
|
113 |
+
| 0.2379 | 42.9744 | 419 | 0.2747 | 0.8824 |
|
114 |
+
| 0.2279 | 44.0 | 429 | 0.2726 | 0.8897 |
|
115 |
+
| 0.2153 | 44.9231 | 438 | 0.2732 | 0.8897 |
|
116 |
+
| 0.2461 | 45.9487 | 448 | 0.2738 | 0.8897 |
|
117 |
+
| 0.2482 | 46.1538 | 450 | 0.2738 | 0.8897 |
|
118 |
+
|
119 |
+
|
120 |
+
### Framework versions
|
121 |
+
|
122 |
+
- Transformers 4.44.2
|
123 |
+
- Pytorch 2.4.1+cu121
|
124 |
+
- Datasets 3.0.1
|
125 |
+
- 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 111320240
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:59b29a73e4e90cd8a473c0b88c5630771ba866e259d7a3cfc49054fafd00527b
|
3 |
size 111320240
|