aaa12963337
commited on
Commit
·
5e96fba
1
Parent(s):
e20bdb7
End of training
Browse files- README.md +102 -0
- model.safetensors +1 -1
README.md
ADDED
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: WinKawaks/vit-small-patch16-224
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
datasets:
|
7 |
+
- imagefolder
|
8 |
+
metrics:
|
9 |
+
- accuracy
|
10 |
+
- f1
|
11 |
+
- precision
|
12 |
+
- recall
|
13 |
+
model-index:
|
14 |
+
- name: msi-vit-small-1218-2
|
15 |
+
results:
|
16 |
+
- task:
|
17 |
+
name: Image Classification
|
18 |
+
type: image-classification
|
19 |
+
dataset:
|
20 |
+
name: imagefolder
|
21 |
+
type: imagefolder
|
22 |
+
config: default
|
23 |
+
split: validation
|
24 |
+
args: default
|
25 |
+
metrics:
|
26 |
+
- name: Accuracy
|
27 |
+
type: accuracy
|
28 |
+
value: 0.6164383561643836
|
29 |
+
- name: F1
|
30 |
+
type: f1
|
31 |
+
value: 0.3276157804459692
|
32 |
+
- name: Precision
|
33 |
+
type: precision
|
34 |
+
value: 0.6840624200562804
|
35 |
+
- name: Recall
|
36 |
+
type: recall
|
37 |
+
value: 0.2153846153846154
|
38 |
+
---
|
39 |
+
|
40 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
41 |
+
should probably proofread and complete it, then remove this comment. -->
|
42 |
+
|
43 |
+
# msi-vit-small-1218-2
|
44 |
+
|
45 |
+
This model is a fine-tuned version of [WinKawaks/vit-small-patch16-224](https://huggingface.co/WinKawaks/vit-small-patch16-224) on the imagefolder dataset.
|
46 |
+
It achieves the following results on the evaluation set:
|
47 |
+
- Loss: 1.3372
|
48 |
+
- Accuracy: 0.6164
|
49 |
+
- F1: 0.3276
|
50 |
+
- Precision: 0.6841
|
51 |
+
- Recall: 0.2154
|
52 |
+
|
53 |
+
## Model description
|
54 |
+
|
55 |
+
More information needed
|
56 |
+
|
57 |
+
## Intended uses & limitations
|
58 |
+
|
59 |
+
More information needed
|
60 |
+
|
61 |
+
## Training and evaluation data
|
62 |
+
|
63 |
+
More information needed
|
64 |
+
|
65 |
+
## Training procedure
|
66 |
+
|
67 |
+
### Training hyperparameters
|
68 |
+
|
69 |
+
The following hyperparameters were used during training:
|
70 |
+
- learning_rate: 5e-06
|
71 |
+
- train_batch_size: 32
|
72 |
+
- eval_batch_size: 32
|
73 |
+
- seed: 42
|
74 |
+
- gradient_accumulation_steps: 4
|
75 |
+
- total_train_batch_size: 128
|
76 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
77 |
+
- lr_scheduler_type: linear
|
78 |
+
- lr_scheduler_warmup_ratio: 0.1
|
79 |
+
- num_epochs: 10
|
80 |
+
|
81 |
+
### Training results
|
82 |
+
|
83 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall |
|
84 |
+
|:-------------:|:-----:|:-----:|:---------------:|:--------:|:------:|:---------:|:------:|
|
85 |
+
| 0.4367 | 1.0 | 1008 | 0.6603 | 0.6572 | 0.5313 | 0.6530 | 0.4478 |
|
86 |
+
| 0.2161 | 2.0 | 2016 | 0.8021 | 0.6329 | 0.4989 | 0.6118 | 0.4211 |
|
87 |
+
| 0.169 | 3.0 | 3024 | 1.4062 | 0.6010 | 0.2653 | 0.6592 | 0.1661 |
|
88 |
+
| 0.1543 | 4.0 | 4032 | 1.1498 | 0.6259 | 0.3670 | 0.6903 | 0.2499 |
|
89 |
+
| 0.1534 | 5.0 | 5040 | 1.5067 | 0.6208 | 0.3519 | 0.6808 | 0.2373 |
|
90 |
+
| 0.1596 | 6.0 | 6048 | 0.8837 | 0.6504 | 0.6505 | 0.5744 | 0.7498 |
|
91 |
+
| 0.1504 | 7.0 | 7056 | 1.0030 | 0.6302 | 0.4192 | 0.6580 | 0.3075 |
|
92 |
+
| 0.1795 | 8.0 | 8064 | 1.3908 | 0.5953 | 0.2950 | 0.6041 | 0.1952 |
|
93 |
+
| 0.1636 | 9.0 | 9072 | 1.1040 | 0.6290 | 0.4619 | 0.6230 | 0.3671 |
|
94 |
+
| 0.1629 | 10.0 | 10080 | 1.3372 | 0.6164 | 0.3276 | 0.6841 | 0.2154 |
|
95 |
+
|
96 |
+
|
97 |
+
### Framework versions
|
98 |
+
|
99 |
+
- Transformers 4.36.0
|
100 |
+
- Pytorch 2.0.1+cu117
|
101 |
+
- Datasets 2.15.0
|
102 |
+
- 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 86688624
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4045dc7de47db57934c9567c1cb19d4f7783b4bfd517539c52c606cd356d7a9c
|
3 |
size 86688624
|