Nguyen Tien
commited on
Commit
·
6613afe
1
Parent(s):
53296fd
Model save
Browse files- README.md +118 -0
- model.safetensors +1 -1
README.md
ADDED
@@ -0,0 +1,118 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: Visual-Attention-Network/van-tiny
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
datasets:
|
7 |
+
- imagefolder
|
8 |
+
metrics:
|
9 |
+
- accuracy
|
10 |
+
- recall
|
11 |
+
- precision
|
12 |
+
model-index:
|
13 |
+
- name: teacher-status-van-tiny-256-2
|
14 |
+
results:
|
15 |
+
- task:
|
16 |
+
name: Image Classification
|
17 |
+
type: image-classification
|
18 |
+
dataset:
|
19 |
+
name: imagefolder
|
20 |
+
type: imagefolder
|
21 |
+
config: default
|
22 |
+
split: train
|
23 |
+
args: default
|
24 |
+
metrics:
|
25 |
+
- name: Accuracy
|
26 |
+
type: accuracy
|
27 |
+
value: 0.9679144385026738
|
28 |
+
- name: Recall
|
29 |
+
type: recall
|
30 |
+
value: 0.9756944444444444
|
31 |
+
- name: Precision
|
32 |
+
type: precision
|
33 |
+
value: 0.9825174825174825
|
34 |
+
---
|
35 |
+
|
36 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
37 |
+
should probably proofread and complete it, then remove this comment. -->
|
38 |
+
|
39 |
+
# teacher-status-van-tiny-256-2
|
40 |
+
|
41 |
+
This model is a fine-tuned version of [Visual-Attention-Network/van-tiny](https://huggingface.co/Visual-Attention-Network/van-tiny) on the imagefolder dataset.
|
42 |
+
It achieves the following results on the evaluation set:
|
43 |
+
- Loss: 0.0882
|
44 |
+
- Accuracy: 0.9679
|
45 |
+
- F1 Score: 0.9791
|
46 |
+
- Recall: 0.9757
|
47 |
+
- Precision: 0.9825
|
48 |
+
|
49 |
+
## Model description
|
50 |
+
|
51 |
+
More information needed
|
52 |
+
|
53 |
+
## Intended uses & limitations
|
54 |
+
|
55 |
+
More information needed
|
56 |
+
|
57 |
+
## Training and evaluation data
|
58 |
+
|
59 |
+
More information needed
|
60 |
+
|
61 |
+
## Training procedure
|
62 |
+
|
63 |
+
### Training hyperparameters
|
64 |
+
|
65 |
+
The following hyperparameters were used during training:
|
66 |
+
- learning_rate: 5e-05
|
67 |
+
- train_batch_size: 32
|
68 |
+
- eval_batch_size: 32
|
69 |
+
- seed: 42
|
70 |
+
- gradient_accumulation_steps: 4
|
71 |
+
- total_train_batch_size: 128
|
72 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
73 |
+
- lr_scheduler_type: linear
|
74 |
+
- lr_scheduler_warmup_ratio: 0.1
|
75 |
+
- num_epochs: 30
|
76 |
+
|
77 |
+
### Training results
|
78 |
+
|
79 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 Score | Recall | Precision |
|
80 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|:--------:|:------:|:---------:|
|
81 |
+
| 0.6896 | 0.99 | 26 | 0.6707 | 0.7701 | 0.8701 | 1.0 | 0.7701 |
|
82 |
+
| 0.5438 | 1.98 | 52 | 0.4302 | 0.7701 | 0.8701 | 1.0 | 0.7701 |
|
83 |
+
| 0.3756 | 2.97 | 78 | 0.2762 | 0.8850 | 0.9285 | 0.9688 | 0.8914 |
|
84 |
+
| 0.3017 | 4.0 | 105 | 0.2002 | 0.9225 | 0.9503 | 0.9618 | 0.9390 |
|
85 |
+
| 0.257 | 4.99 | 131 | 0.1794 | 0.9385 | 0.9605 | 0.9722 | 0.9492 |
|
86 |
+
| 0.2345 | 5.98 | 157 | 0.1485 | 0.9358 | 0.9582 | 0.9549 | 0.9615 |
|
87 |
+
| 0.2318 | 6.97 | 183 | 0.1302 | 0.9439 | 0.9631 | 0.9514 | 0.9751 |
|
88 |
+
| 0.2173 | 8.0 | 210 | 0.1277 | 0.9519 | 0.9689 | 0.9722 | 0.9655 |
|
89 |
+
| 0.2058 | 8.99 | 236 | 0.1269 | 0.9572 | 0.9722 | 0.9722 | 0.9722 |
|
90 |
+
| 0.1955 | 9.98 | 262 | 0.1146 | 0.9572 | 0.9724 | 0.9792 | 0.9658 |
|
91 |
+
| 0.2083 | 10.97 | 288 | 0.1083 | 0.9652 | 0.9772 | 0.9688 | 0.9859 |
|
92 |
+
| 0.1886 | 12.0 | 315 | 0.1048 | 0.9599 | 0.9741 | 0.9792 | 0.9691 |
|
93 |
+
| 0.1618 | 12.99 | 341 | 0.1033 | 0.9626 | 0.9757 | 0.9757 | 0.9757 |
|
94 |
+
| 0.1908 | 13.98 | 367 | 0.1044 | 0.9599 | 0.9739 | 0.9722 | 0.9756 |
|
95 |
+
| 0.1594 | 14.97 | 393 | 0.0915 | 0.9626 | 0.9758 | 0.9792 | 0.9724 |
|
96 |
+
| 0.1474 | 16.0 | 420 | 0.0916 | 0.9759 | 0.9842 | 0.9757 | 0.9929 |
|
97 |
+
| 0.1734 | 16.99 | 446 | 0.0951 | 0.9652 | 0.9773 | 0.9722 | 0.9825 |
|
98 |
+
| 0.1484 | 17.98 | 472 | 0.1049 | 0.9706 | 0.9809 | 0.9792 | 0.9826 |
|
99 |
+
| 0.1495 | 18.97 | 498 | 0.0930 | 0.9679 | 0.9791 | 0.9757 | 0.9825 |
|
100 |
+
| 0.1385 | 20.0 | 525 | 0.0955 | 0.9626 | 0.9759 | 0.9826 | 0.9692 |
|
101 |
+
| 0.1492 | 20.99 | 551 | 0.0911 | 0.9599 | 0.9741 | 0.9792 | 0.9691 |
|
102 |
+
| 0.1401 | 21.98 | 577 | 0.0927 | 0.9706 | 0.9809 | 0.9792 | 0.9826 |
|
103 |
+
| 0.1288 | 22.97 | 603 | 0.0940 | 0.9706 | 0.9809 | 0.9792 | 0.9826 |
|
104 |
+
| 0.1304 | 24.0 | 630 | 0.0913 | 0.9652 | 0.9775 | 0.9826 | 0.9725 |
|
105 |
+
| 0.14 | 24.99 | 656 | 0.0979 | 0.9652 | 0.9776 | 0.9861 | 0.9693 |
|
106 |
+
| 0.1461 | 25.98 | 682 | 0.0874 | 0.9706 | 0.9810 | 0.9861 | 0.9759 |
|
107 |
+
| 0.1429 | 26.97 | 708 | 0.0837 | 0.9706 | 0.9808 | 0.9757 | 0.9860 |
|
108 |
+
| 0.1444 | 28.0 | 735 | 0.0876 | 0.9679 | 0.9792 | 0.9792 | 0.9792 |
|
109 |
+
| 0.145 | 28.99 | 761 | 0.0903 | 0.9706 | 0.9809 | 0.9792 | 0.9826 |
|
110 |
+
| 0.1445 | 29.71 | 780 | 0.0882 | 0.9679 | 0.9791 | 0.9757 | 0.9825 |
|
111 |
+
|
112 |
+
|
113 |
+
### Framework versions
|
114 |
+
|
115 |
+
- Transformers 4.36.2
|
116 |
+
- Pytorch 2.1.0+cu121
|
117 |
+
- Datasets 2.16.0
|
118 |
+
- Tokenizers 0.15.0
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 15480696
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f03453184b3f48834d7814ca7792f248313551b011267dcd88ec6d030dbf2979
|
3 |
size 15480696
|