aaa12963337
commited on
Commit
·
5da6c85
1
Parent(s):
4c7ff8d
End of training
Browse files- README.md +100 -0
- model.safetensors +1 -1
README.md
ADDED
@@ -0,0 +1,100 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- generated_from_trainer
|
4 |
+
datasets:
|
5 |
+
- imagefolder
|
6 |
+
metrics:
|
7 |
+
- accuracy
|
8 |
+
- f1
|
9 |
+
- precision
|
10 |
+
- recall
|
11 |
+
model-index:
|
12 |
+
- name: msi-vit-small
|
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: validation
|
22 |
+
args: default
|
23 |
+
metrics:
|
24 |
+
- name: Accuracy
|
25 |
+
type: accuracy
|
26 |
+
value: 0.599979032708974
|
27 |
+
- name: F1
|
28 |
+
type: f1
|
29 |
+
value: 0.2863021385373153
|
30 |
+
- name: Precision
|
31 |
+
type: precision
|
32 |
+
value: 0.6335540838852097
|
33 |
+
- name: Recall
|
34 |
+
type: recall
|
35 |
+
value: 0.18493757551349174
|
36 |
+
---
|
37 |
+
|
38 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
39 |
+
should probably proofread and complete it, then remove this comment. -->
|
40 |
+
|
41 |
+
# msi-vit-small
|
42 |
+
|
43 |
+
This model was trained from scratch on the imagefolder dataset.
|
44 |
+
It achieves the following results on the evaluation set:
|
45 |
+
- Loss: 1.5796
|
46 |
+
- Accuracy: 0.6000
|
47 |
+
- F1: 0.2863
|
48 |
+
- Precision: 0.6336
|
49 |
+
- Recall: 0.1849
|
50 |
+
|
51 |
+
## Model description
|
52 |
+
|
53 |
+
More information needed
|
54 |
+
|
55 |
+
## Intended uses & limitations
|
56 |
+
|
57 |
+
More information needed
|
58 |
+
|
59 |
+
## Training and evaluation data
|
60 |
+
|
61 |
+
More information needed
|
62 |
+
|
63 |
+
## Training procedure
|
64 |
+
|
65 |
+
### Training hyperparameters
|
66 |
+
|
67 |
+
The following hyperparameters were used during training:
|
68 |
+
- learning_rate: 5e-06
|
69 |
+
- train_batch_size: 32
|
70 |
+
- eval_batch_size: 32
|
71 |
+
- seed: 42
|
72 |
+
- gradient_accumulation_steps: 4
|
73 |
+
- total_train_batch_size: 128
|
74 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
75 |
+
- lr_scheduler_type: linear
|
76 |
+
- lr_scheduler_warmup_ratio: 0.1
|
77 |
+
- num_epochs: 10
|
78 |
+
|
79 |
+
### Training results
|
80 |
+
|
81 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall |
|
82 |
+
|:-------------:|:-----:|:-----:|:---------------:|:--------:|:------:|:---------:|:------:|
|
83 |
+
| 0.3142 | 1.0 | 1008 | 0.8965 | 0.6329 | 0.5060 | 0.6079 | 0.4333 |
|
84 |
+
| 0.2063 | 2.0 | 2016 | 1.5189 | 0.6062 | 0.3005 | 0.6550 | 0.1950 |
|
85 |
+
| 0.19 | 3.0 | 3024 | 1.4818 | 0.6270 | 0.3399 | 0.7318 | 0.2213 |
|
86 |
+
| 0.1718 | 4.0 | 4032 | 1.2353 | 0.6046 | 0.4096 | 0.5816 | 0.3161 |
|
87 |
+
| 0.161 | 5.0 | 5040 | 1.5953 | 0.6342 | 0.3508 | 0.7623 | 0.2278 |
|
88 |
+
| 0.1805 | 6.0 | 6048 | 1.0789 | 0.6552 | 0.4647 | 0.7119 | 0.3449 |
|
89 |
+
| 0.1619 | 7.0 | 7056 | 1.2646 | 0.5479 | 0.2591 | 0.4484 | 0.1822 |
|
90 |
+
| 0.1655 | 8.0 | 8064 | 1.7155 | 0.5910 | 0.2654 | 0.6011 | 0.1703 |
|
91 |
+
| 0.17 | 9.0 | 9072 | 2.1142 | 0.5797 | 0.1729 | 0.5913 | 0.1012 |
|
92 |
+
| 0.1703 | 10.0 | 10080 | 1.5796 | 0.6000 | 0.2863 | 0.6336 | 0.1849 |
|
93 |
+
|
94 |
+
|
95 |
+
### Framework versions
|
96 |
+
|
97 |
+
- Transformers 4.36.0
|
98 |
+
- Pytorch 2.0.1+cu117
|
99 |
+
- Datasets 2.15.0
|
100 |
+
- 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 87114636
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1b8541d7df48df9230d34299f7e2e6872fba35342730800a488a6c64b9151634
|
3 |
size 87114636
|