aaa12963337
commited on
Commit
•
ecb685a
1
Parent(s):
fd0a91f
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-dinat-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.6307660050321499
|
27 |
+
- name: F1
|
28 |
+
type: f1
|
29 |
+
value: 0.45316219853017287
|
30 |
+
- name: Precision
|
31 |
+
type: precision
|
32 |
+
value: 0.6338497176777182
|
33 |
+
- name: Recall
|
34 |
+
type: recall
|
35 |
+
value: 0.3526379379782521
|
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-dinat-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.8735
|
46 |
+
- Accuracy: 0.6308
|
47 |
+
- F1: 0.4532
|
48 |
+
- Precision: 0.6338
|
49 |
+
- Recall: 0.3526
|
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.5414 | 1.0 | 2015 | 0.7584 | 0.5874 | 0.3960 | 0.5427 | 0.3117 |
|
84 |
+
| 0.4715 | 2.0 | 4031 | 0.7695 | 0.6208 | 0.4593 | 0.6021 | 0.3712 |
|
85 |
+
| 0.4159 | 3.0 | 6047 | 0.7922 | 0.6230 | 0.4637 | 0.6056 | 0.3757 |
|
86 |
+
| 0.3774 | 4.0 | 8063 | 0.8166 | 0.6286 | 0.4589 | 0.6235 | 0.3630 |
|
87 |
+
| 0.3635 | 5.0 | 10078 | 0.8123 | 0.6349 | 0.4889 | 0.6225 | 0.4026 |
|
88 |
+
| 0.3471 | 6.0 | 12094 | 0.8481 | 0.6265 | 0.4575 | 0.6186 | 0.3630 |
|
89 |
+
| 0.3616 | 7.0 | 14110 | 0.8605 | 0.6284 | 0.4514 | 0.6279 | 0.3524 |
|
90 |
+
| 0.3517 | 8.0 | 16126 | 0.8661 | 0.6329 | 0.4600 | 0.6356 | 0.3604 |
|
91 |
+
| 0.3476 | 9.0 | 18141 | 0.8631 | 0.6330 | 0.4619 | 0.6346 | 0.3631 |
|
92 |
+
| 0.3469 | 10.0 | 20150 | 0.8735 | 0.6308 | 0.4532 | 0.6338 | 0.3526 |
|
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 77928656
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:840a49c364f98ceec169483fb6c620e8118bc296ab27a25df7fcd87f9867a338
|
3 |
size 77928656
|