End of training
Browse files
README.md
ADDED
@@ -0,0 +1,84 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: nateraw/vit-age-classifier
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
datasets:
|
6 |
+
- imagefolder
|
7 |
+
metrics:
|
8 |
+
- accuracy
|
9 |
+
model-index:
|
10 |
+
- name: image_classification
|
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: 0.34375
|
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 |
+
# image_classification
|
31 |
+
|
32 |
+
This model is a fine-tuned version of [nateraw/vit-age-classifier](https://huggingface.co/nateraw/vit-age-classifier) on the imagefolder dataset.
|
33 |
+
It achieves the following results on the evaluation set:
|
34 |
+
- Loss: 1.8469
|
35 |
+
- Accuracy: 0.3438
|
36 |
+
|
37 |
+
## Model description
|
38 |
+
|
39 |
+
More information needed
|
40 |
+
|
41 |
+
## Intended uses & limitations
|
42 |
+
|
43 |
+
More information needed
|
44 |
+
|
45 |
+
## Training and evaluation data
|
46 |
+
|
47 |
+
More information needed
|
48 |
+
|
49 |
+
## Training procedure
|
50 |
+
|
51 |
+
### Training hyperparameters
|
52 |
+
|
53 |
+
The following hyperparameters were used during training:
|
54 |
+
- learning_rate: 1e-05
|
55 |
+
- train_batch_size: 64
|
56 |
+
- eval_batch_size: 64
|
57 |
+
- seed: 42
|
58 |
+
- gradient_accumulation_steps: 8
|
59 |
+
- total_train_batch_size: 512
|
60 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
61 |
+
- lr_scheduler_type: linear
|
62 |
+
- lr_scheduler_warmup_ratio: 0.3
|
63 |
+
- num_epochs: 10
|
64 |
+
|
65 |
+
### Training results
|
66 |
+
|
67 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
68 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
69 |
+
| No log | 0.8 | 1 | 1.8452 | 0.3125 |
|
70 |
+
| No log | 1.6 | 2 | 1.8435 | 0.35 |
|
71 |
+
| No log | 2.4 | 3 | 1.8282 | 0.3688 |
|
72 |
+
| No log | 4.0 | 5 | 1.8112 | 0.3563 |
|
73 |
+
| No log | 4.8 | 6 | 1.8180 | 0.3312 |
|
74 |
+
| No log | 5.6 | 7 | 1.8291 | 0.3375 |
|
75 |
+
| No log | 6.4 | 8 | 1.8036 | 0.3563 |
|
76 |
+
| 1.6711 | 8.0 | 10 | 1.8134 | 0.3375 |
|
77 |
+
|
78 |
+
|
79 |
+
### Framework versions
|
80 |
+
|
81 |
+
- Transformers 4.42.4
|
82 |
+
- Pytorch 2.4.0+cu121
|
83 |
+
- Datasets 2.21.0
|
84 |
+
- Tokenizers 0.19.1
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 343242432
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5589910f43b318a1696dc9d9033d264018352793767d9e4c029a55042a3690c4
|
3 |
size 343242432
|
runs/Sep03_14-55-07_fff4e2105a7a/events.out.tfevents.1725375330.fff4e2105a7a.3407.4
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:0c994cdecad3b1f14b6d88c67ba1f3aad412acb66ac8a8c03129692c46d06b1d
|
3 |
+
size 8267
|
runs/Sep03_14-55-07_fff4e2105a7a/events.out.tfevents.1725375649.fff4e2105a7a.3407.5
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3468528c5e86112384cc660e0686d8ea5d6f05305aea7b536dff08f60c9d3e4c
|
3 |
+
size 405
|