Model save
Browse files
README.md
ADDED
@@ -0,0 +1,109 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
license: other
|
4 |
+
base_model: apple/mobilevit-xx-small
|
5 |
+
tags:
|
6 |
+
- generated_from_trainer
|
7 |
+
datasets:
|
8 |
+
- webdataset
|
9 |
+
metrics:
|
10 |
+
- accuracy
|
11 |
+
- f1
|
12 |
+
- precision
|
13 |
+
- recall
|
14 |
+
model-index:
|
15 |
+
- name: mobilevit-xx-small-v2024-10-22
|
16 |
+
results:
|
17 |
+
- task:
|
18 |
+
name: Image Classification
|
19 |
+
type: image-classification
|
20 |
+
dataset:
|
21 |
+
name: webdataset
|
22 |
+
type: webdataset
|
23 |
+
config: default
|
24 |
+
split: train
|
25 |
+
args: default
|
26 |
+
metrics:
|
27 |
+
- name: Accuracy
|
28 |
+
type: accuracy
|
29 |
+
value: 0.9297777777777778
|
30 |
+
- name: F1
|
31 |
+
type: f1
|
32 |
+
value: 0.8175519630484989
|
33 |
+
- name: Precision
|
34 |
+
type: precision
|
35 |
+
value: 0.8119266055045872
|
36 |
+
- name: Recall
|
37 |
+
type: recall
|
38 |
+
value: 0.8232558139534883
|
39 |
+
---
|
40 |
+
|
41 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
42 |
+
should probably proofread and complete it, then remove this comment. -->
|
43 |
+
|
44 |
+
# mobilevit-xx-small-v2024-10-22
|
45 |
+
|
46 |
+
This model is a fine-tuned version of [apple/mobilevit-xx-small](https://huggingface.co/apple/mobilevit-xx-small) on the webdataset dataset.
|
47 |
+
It achieves the following results on the evaluation set:
|
48 |
+
- Loss: 0.1708
|
49 |
+
- Accuracy: 0.9298
|
50 |
+
- F1: 0.8176
|
51 |
+
- Precision: 0.8119
|
52 |
+
- Recall: 0.8233
|
53 |
+
|
54 |
+
## Model description
|
55 |
+
|
56 |
+
More information needed
|
57 |
+
|
58 |
+
## Intended uses & limitations
|
59 |
+
|
60 |
+
More information needed
|
61 |
+
|
62 |
+
## Training and evaluation data
|
63 |
+
|
64 |
+
More information needed
|
65 |
+
|
66 |
+
## Training procedure
|
67 |
+
|
68 |
+
### Training hyperparameters
|
69 |
+
|
70 |
+
The following hyperparameters were used during training:
|
71 |
+
- learning_rate: 0.0002
|
72 |
+
- train_batch_size: 16
|
73 |
+
- eval_batch_size: 8
|
74 |
+
- seed: 42
|
75 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
76 |
+
- lr_scheduler_type: linear
|
77 |
+
- lr_scheduler_warmup_ratio: 0.1
|
78 |
+
- num_epochs: 30
|
79 |
+
- mixed_precision_training: Native AMP
|
80 |
+
|
81 |
+
### Training results
|
82 |
+
|
83 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall |
|
84 |
+
|:-------------:|:-------:|:----:|:---------------:|:--------:|:------:|:---------:|:------:|
|
85 |
+
| 0.6549 | 1.7544 | 100 | 0.6289 | 0.82 | 0.6260 | 0.5191 | 0.7884 |
|
86 |
+
| 0.4616 | 3.5088 | 200 | 0.4192 | 0.8867 | 0.7296 | 0.6706 | 0.8 |
|
87 |
+
| 0.3101 | 5.2632 | 300 | 0.3071 | 0.9036 | 0.7318 | 0.7810 | 0.6884 |
|
88 |
+
| 0.2932 | 7.0175 | 400 | 0.2486 | 0.908 | 0.7460 | 0.7896 | 0.7070 |
|
89 |
+
| 0.2652 | 8.7719 | 500 | 0.2279 | 0.9138 | 0.7674 | 0.7921 | 0.7442 |
|
90 |
+
| 0.2253 | 10.5263 | 600 | 0.2100 | 0.9218 | 0.7859 | 0.8240 | 0.7512 |
|
91 |
+
| 0.2257 | 12.2807 | 700 | 0.1951 | 0.9249 | 0.8019 | 0.8085 | 0.7953 |
|
92 |
+
| 0.2468 | 14.0351 | 800 | 0.1906 | 0.9307 | 0.8199 | 0.8142 | 0.8256 |
|
93 |
+
| 0.1796 | 15.7895 | 900 | 0.1949 | 0.9276 | 0.8120 | 0.8055 | 0.8186 |
|
94 |
+
| 0.1888 | 17.5439 | 1000 | 0.1807 | 0.9307 | 0.8178 | 0.8216 | 0.8140 |
|
95 |
+
| 0.202 | 19.2982 | 1100 | 0.1772 | 0.9342 | 0.8287 | 0.8249 | 0.8326 |
|
96 |
+
| 0.1824 | 21.0526 | 1200 | 0.1826 | 0.9276 | 0.8080 | 0.8186 | 0.7977 |
|
97 |
+
| 0.1808 | 22.8070 | 1300 | 0.1682 | 0.9347 | 0.8297 | 0.8268 | 0.8326 |
|
98 |
+
| 0.1792 | 24.5614 | 1400 | 0.1688 | 0.9364 | 0.8324 | 0.8392 | 0.8256 |
|
99 |
+
| 0.1852 | 26.3158 | 1500 | 0.1725 | 0.9338 | 0.8269 | 0.8260 | 0.8279 |
|
100 |
+
| 0.177 | 28.0702 | 1600 | 0.1690 | 0.9351 | 0.8282 | 0.8381 | 0.8186 |
|
101 |
+
| 0.1857 | 29.8246 | 1700 | 0.1708 | 0.9298 | 0.8176 | 0.8119 | 0.8233 |
|
102 |
+
|
103 |
+
|
104 |
+
### Framework versions
|
105 |
+
|
106 |
+
- Transformers 4.44.2
|
107 |
+
- Pytorch 2.4.1+cu121
|
108 |
+
- Datasets 3.0.2
|
109 |
+
- Tokenizers 0.19.1
|
runs/Oct22_15-45-30_2ae384978577/events.out.tfevents.1729611948.2ae384978577.344.0
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a5377bfd204751b5db55bd41ed394e8cb60536032e60350f7d406847cb51d2cf
|
3 |
+
size 50146
|