krisnadwipayanap
commited on
Commit
•
e717144
1
Parent(s):
d531295
End of training
Browse files- README.md +50 -0
- config.json +45 -0
- model.safetensors +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
base_model: nateraw/vit-age-classifier
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
datasets:
|
7 |
+
- imagefolder
|
8 |
+
model-index:
|
9 |
+
- name: results
|
10 |
+
results: []
|
11 |
+
---
|
12 |
+
|
13 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
14 |
+
should probably proofread and complete it, then remove this comment. -->
|
15 |
+
|
16 |
+
# results
|
17 |
+
|
18 |
+
This model is a fine-tuned version of [nateraw/vit-age-classifier](https://huggingface.co/nateraw/vit-age-classifier) on the imagefolder dataset.
|
19 |
+
|
20 |
+
## Model description
|
21 |
+
|
22 |
+
More information needed
|
23 |
+
|
24 |
+
## Intended uses & limitations
|
25 |
+
|
26 |
+
More information needed
|
27 |
+
|
28 |
+
## Training and evaluation data
|
29 |
+
|
30 |
+
More information needed
|
31 |
+
|
32 |
+
## Training procedure
|
33 |
+
|
34 |
+
### Training hyperparameters
|
35 |
+
|
36 |
+
The following hyperparameters were used during training:
|
37 |
+
- learning_rate: 2e-05
|
38 |
+
- train_batch_size: 16
|
39 |
+
- eval_batch_size: 64
|
40 |
+
- seed: 42
|
41 |
+
- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
42 |
+
- lr_scheduler_type: linear
|
43 |
+
- num_epochs: 3
|
44 |
+
|
45 |
+
### Framework versions
|
46 |
+
|
47 |
+
- Transformers 4.46.2
|
48 |
+
- Pytorch 2.5.1+cu121
|
49 |
+
- Datasets 3.1.0
|
50 |
+
- Tokenizers 0.20.3
|
config.json
ADDED
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "nateraw/vit-age-classifier",
|
3 |
+
"architectures": [
|
4 |
+
"ViTForImageClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.0,
|
7 |
+
"encoder_stride": 16,
|
8 |
+
"hidden_act": "gelu",
|
9 |
+
"hidden_dropout_prob": 0.0,
|
10 |
+
"hidden_size": 768,
|
11 |
+
"id2label": {
|
12 |
+
"0": "0-2",
|
13 |
+
"1": "3-9",
|
14 |
+
"2": "10-19",
|
15 |
+
"3": "20-29",
|
16 |
+
"4": "30-39",
|
17 |
+
"5": "40-49",
|
18 |
+
"6": "50-59",
|
19 |
+
"7": "60-69",
|
20 |
+
"8": "more than 70"
|
21 |
+
},
|
22 |
+
"image_size": 224,
|
23 |
+
"initializer_range": 0.02,
|
24 |
+
"intermediate_size": 3072,
|
25 |
+
"label2id": {
|
26 |
+
"0-2": 0,
|
27 |
+
"10-19": 2,
|
28 |
+
"20-29": 3,
|
29 |
+
"3-9": 1,
|
30 |
+
"30-39": 4,
|
31 |
+
"40-49": 5,
|
32 |
+
"50-59": 6,
|
33 |
+
"60-69": 7,
|
34 |
+
"more than 70": 8
|
35 |
+
},
|
36 |
+
"layer_norm_eps": 1e-12,
|
37 |
+
"model_type": "vit",
|
38 |
+
"num_attention_heads": 12,
|
39 |
+
"num_channels": 3,
|
40 |
+
"num_hidden_layers": 12,
|
41 |
+
"patch_size": 16,
|
42 |
+
"qkv_bias": true,
|
43 |
+
"torch_dtype": "float32",
|
44 |
+
"transformers_version": "4.46.2"
|
45 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:44813db5205ae64124c5fe19244453d866e9516aa18afca454cc285cfec67262
|
3 |
+
size 343245508
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:545afc98350bb658d15cd36d70bbd40df6901b7764ab4d2ac6502f7bac10ad32
|
3 |
+
size 5240
|