Model save
Browse files
README.md
ADDED
@@ -0,0 +1,103 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: microsoft/dit-base
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
datasets:
|
6 |
+
- imagefolder
|
7 |
+
metrics:
|
8 |
+
- accuracy
|
9 |
+
model-index:
|
10 |
+
- name: dit-base-Classifier_CM05
|
11 |
+
results:
|
12 |
+
- task:
|
13 |
+
name: Image Classification
|
14 |
+
type: image-classification
|
15 |
+
dataset:
|
16 |
+
name: imagefolder
|
17 |
+
type: imagefolder
|
18 |
+
config: default
|
19 |
+
split: train
|
20 |
+
args: default
|
21 |
+
metrics:
|
22 |
+
- name: Accuracy
|
23 |
+
type: accuracy
|
24 |
+
value: 1.0
|
25 |
+
---
|
26 |
+
|
27 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
28 |
+
should probably proofread and complete it, then remove this comment. -->
|
29 |
+
|
30 |
+
# dit-base-Classifier_CM05
|
31 |
+
|
32 |
+
This model is a fine-tuned version of [microsoft/dit-base](https://huggingface.co/microsoft/dit-base) on the imagefolder dataset.
|
33 |
+
It achieves the following results on the evaluation set:
|
34 |
+
- Loss: 0.0653
|
35 |
+
- Accuracy: 1.0
|
36 |
+
- Weighted f1: 1.0
|
37 |
+
- Micro f1: 1.0
|
38 |
+
- Macro f1: 1.0
|
39 |
+
- Weighted recall: 1.0
|
40 |
+
- Micro recall: 1.0
|
41 |
+
- Macro recall: 1.0
|
42 |
+
- Weighted precision: 1.0
|
43 |
+
- Micro precision: 1.0
|
44 |
+
- Macro precision: 1.0
|
45 |
+
|
46 |
+
## Model description
|
47 |
+
|
48 |
+
More information needed
|
49 |
+
|
50 |
+
## Intended uses & limitations
|
51 |
+
|
52 |
+
More information needed
|
53 |
+
|
54 |
+
## Training and evaluation data
|
55 |
+
|
56 |
+
More information needed
|
57 |
+
|
58 |
+
## Training procedure
|
59 |
+
|
60 |
+
### Training hyperparameters
|
61 |
+
|
62 |
+
The following hyperparameters were used during training:
|
63 |
+
- learning_rate: 5e-05
|
64 |
+
- train_batch_size: 32
|
65 |
+
- eval_batch_size: 32
|
66 |
+
- seed: 42
|
67 |
+
- gradient_accumulation_steps: 4
|
68 |
+
- total_train_batch_size: 128
|
69 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
70 |
+
- lr_scheduler_type: linear
|
71 |
+
- lr_scheduler_warmup_ratio: 0.1
|
72 |
+
- num_epochs: 18
|
73 |
+
|
74 |
+
### Training results
|
75 |
+
|
76 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Weighted f1 | Micro f1 | Macro f1 | Weighted recall | Micro recall | Macro recall | Weighted precision | Micro precision | Macro precision |
|
77 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|:-----------:|:--------:|:--------:|:---------------:|:------------:|:------------:|:------------------:|:---------------:|:---------------:|
|
78 |
+
| 0.5553 | 1.0 | 1 | 2.7914 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
|
79 |
+
| 0.5553 | 2.0 | 2 | 2.4681 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 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0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 |
|
91 |
+
| 0.3458 | 14.0 | 14 | 0.0807 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 |
|
92 |
+
| 0.3458 | 15.0 | 15 | 0.0739 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 |
|
93 |
+
| 0.1206 | 16.0 | 16 | 0.0693 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 |
|
94 |
+
| 0.1206 | 17.0 | 17 | 0.0666 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 |
|
95 |
+
| 0.1206 | 18.0 | 18 | 0.0653 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 |
|
96 |
+
|
97 |
+
|
98 |
+
### Framework versions
|
99 |
+
|
100 |
+
- Transformers 4.41.2
|
101 |
+
- Pytorch 2.3.0+cu121
|
102 |
+
- Datasets 2.19.2
|
103 |
+
- Tokenizers 0.19.1
|