MatanBT commited on
Commit
d3ca13c
·
verified ·
1 Parent(s): 7894676

ViT-base finetuned on FairFace age classification (9 classes)

Browse files
Files changed (2) hide show
  1. config.json +48 -0
  2. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "ViTForImageClassification"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.0,
6
+ "dtype": "float32",
7
+ "encoder_stride": 16,
8
+ "finetuning_task": "image-classification",
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.0,
11
+ "hidden_size": 768,
12
+ "id2label": {
13
+ "0": "0-2",
14
+ "1": "3-9",
15
+ "2": "10-19",
16
+ "3": "20-29",
17
+ "4": "30-39",
18
+ "5": "40-49",
19
+ "6": "50-59",
20
+ "7": "60-69",
21
+ "8": "more than 70"
22
+ },
23
+ "image_size": 224,
24
+ "initializer_range": 0.02,
25
+ "intermediate_size": 3072,
26
+ "label2id": {
27
+ "0-2": 0,
28
+ "10-19": 2,
29
+ "20-29": 3,
30
+ "3-9": 1,
31
+ "30-39": 4,
32
+ "40-49": 5,
33
+ "50-59": 6,
34
+ "60-69": 7,
35
+ "more than 70": 8
36
+ },
37
+ "layer_norm_eps": 1e-12,
38
+ "model_type": "vit",
39
+ "num_attention_heads": 12,
40
+ "num_channels": 3,
41
+ "num_hidden_layers": 12,
42
+ "patch_size": 16,
43
+ "pooler_act": "tanh",
44
+ "pooler_output_size": 768,
45
+ "problem_type": "single_label_classification",
46
+ "qkv_bias": true,
47
+ "transformers_version": "4.57.1"
48
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9cb1786ffc6e6466f89bc59205cd316fac8c9662231d06e143f596aba509955d
3
+ size 343245508