aaa12963337
commited on
Commit
•
fa013f5
1
Parent(s):
7bbe280
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-nat-mini
|
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.8460220784164446
|
27 |
+
- name: F1
|
28 |
+
type: f1
|
29 |
+
value: 0.8017318846499469
|
30 |
+
- name: Precision
|
31 |
+
type: precision
|
32 |
+
value: 0.8296559303406882
|
33 |
+
- name: Recall
|
34 |
+
type: recall
|
35 |
+
value: 0.7756263336758081
|
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-nat-mini
|
42 |
+
|
43 |
+
This model was trained from scratch on the imagefolder dataset.
|
44 |
+
It achieves the following results on the evaluation set:
|
45 |
+
- Loss: 0.3451
|
46 |
+
- Accuracy: 0.8460
|
47 |
+
- F1: 0.8017
|
48 |
+
- Precision: 0.8297
|
49 |
+
- Recall: 0.7756
|
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: 1e-06
|
69 |
+
- train_batch_size: 16
|
70 |
+
- eval_batch_size: 16
|
71 |
+
- seed: 42
|
72 |
+
- gradient_accumulation_steps: 4
|
73 |
+
- total_train_batch_size: 64
|
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.5705 | 1.0 | 1970 | 0.5230 | 0.7410 | 0.6588 | 0.6988 | 0.6232 |
|
84 |
+
| 0.4805 | 2.0 | 3941 | 0.4447 | 0.7924 | 0.7298 | 0.7640 | 0.6986 |
|
85 |
+
| 0.4521 | 3.0 | 5911 | 0.4090 | 0.8107 | 0.7518 | 0.7936 | 0.7141 |
|
86 |
+
| 0.4343 | 4.0 | 7882 | 0.3878 | 0.8239 | 0.7768 | 0.7907 | 0.7634 |
|
87 |
+
| 0.4003 | 5.0 | 9852 | 0.3720 | 0.8328 | 0.7850 | 0.8113 | 0.7604 |
|
88 |
+
| 0.3887 | 6.0 | 11823 | 0.3620 | 0.8376 | 0.7875 | 0.8295 | 0.7496 |
|
89 |
+
| 0.3709 | 7.0 | 13793 | 0.3506 | 0.8435 | 0.7977 | 0.8286 | 0.7690 |
|
90 |
+
| 0.3686 | 8.0 | 15764 | 0.3473 | 0.8461 | 0.8025 | 0.8271 | 0.7793 |
|
91 |
+
| 0.3819 | 9.0 | 17734 | 0.3422 | 0.8476 | 0.8052 | 0.8270 | 0.7845 |
|
92 |
+
| 0.3838 | 10.0 | 19700 | 0.3451 | 0.8460 | 0.8017 | 0.8297 | 0.7756 |
|
93 |
+
|
94 |
+
|
95 |
+
### Framework versions
|
96 |
+
|
97 |
+
- Transformers 4.35.2
|
98 |
+
- Pytorch 2.0.1+cu118
|
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 77928008
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9da53947c9f6af542911c5ef09b1883497651dfeb58c5c8ac783826fc8151675
|
3 |
size 77928008
|