vuongnhathien
commited on
Commit
•
1eaa267
1
Parent(s):
404c325
Model save
Browse files
README.md
ADDED
@@ -0,0 +1,84 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: facebook/convnextv2-tiny-1k-224
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
datasets:
|
7 |
+
- imagefolder
|
8 |
+
metrics:
|
9 |
+
- accuracy
|
10 |
+
model-index:
|
11 |
+
- name: convnext-tiny-upgrade-1k-224-batch-32
|
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: validation
|
21 |
+
args: default
|
22 |
+
metrics:
|
23 |
+
- name: Accuracy
|
24 |
+
type: accuracy
|
25 |
+
value: 0.8850894632206759
|
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 |
+
# convnext-tiny-upgrade-1k-224-batch-32
|
32 |
+
|
33 |
+
This model is a fine-tuned version of [facebook/convnextv2-tiny-1k-224](https://huggingface.co/facebook/convnextv2-tiny-1k-224) on the imagefolder dataset.
|
34 |
+
It achieves the following results on the evaluation set:
|
35 |
+
- Loss: 0.4287
|
36 |
+
- Accuracy: 0.8851
|
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: 3e-05
|
56 |
+
- train_batch_size: 32
|
57 |
+
- eval_batch_size: 32
|
58 |
+
- seed: 42
|
59 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
60 |
+
- lr_scheduler_type: cosine
|
61 |
+
- num_epochs: 10
|
62 |
+
|
63 |
+
### Training results
|
64 |
+
|
65 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
66 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
67 |
+
| 1.5523 | 1.0 | 550 | 1.2083 | 0.7010 |
|
68 |
+
| 1.0852 | 2.0 | 1100 | 0.7955 | 0.7960 |
|
69 |
+
| 0.9179 | 3.0 | 1650 | 0.6425 | 0.8258 |
|
70 |
+
| 0.7621 | 4.0 | 2200 | 0.5426 | 0.8549 |
|
71 |
+
| 0.7506 | 5.0 | 2750 | 0.5018 | 0.8624 |
|
72 |
+
| 0.6774 | 6.0 | 3300 | 0.4792 | 0.8684 |
|
73 |
+
| 0.6364 | 7.0 | 3850 | 0.4526 | 0.8744 |
|
74 |
+
| 0.5961 | 8.0 | 4400 | 0.4362 | 0.8799 |
|
75 |
+
| 0.602 | 9.0 | 4950 | 0.4316 | 0.8827 |
|
76 |
+
| 0.5896 | 10.0 | 5500 | 0.4287 | 0.8851 |
|
77 |
+
|
78 |
+
|
79 |
+
### Framework versions
|
80 |
+
|
81 |
+
- Transformers 4.39.3
|
82 |
+
- Pytorch 2.1.2
|
83 |
+
- Datasets 2.18.0
|
84 |
+
- Tokenizers 0.15.2
|