File size: 1,484 Bytes
50bfc9d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
{
  "architectures": [
    "MetaClip2ForImageClassification"
  ],
  "dtype": "float32",
  "id2label": {
    "0": "Child 0-12",
    "1": "Teenager 13-20",
    "2": "Adult 21-44",
    "3": "Middle Age 45-64",
    "4": "Aged 65+"
  },
  "initializer_factor": 1.0,
  "label2id": {
    "Adult 21-44": 2,
    "Aged 65+": 4,
    "Child 0-12": 0,
    "Middle Age 45-64": 3,
    "Teenager 13-20": 1
  },
  "logit_scale_init_value": 2.6592,
  "model_type": "metaclip_2",
  "problem_type": "single_label_classification",
  "projection_dim": 384,
  "text_config": {
    "attention_dropout": 0.0,
    "dtype": "float32",
    "eos_token_id": 2,
    "hidden_act": "gelu",
    "hidden_size": 384,
    "initializer_factor": 1.0,
    "initializer_range": 0.02,
    "intermediate_size": 1536,
    "layer_norm_eps": 1e-05,
    "max_position_embeddings": 77,
    "model_type": "metaclip_2_text_model",
    "num_attention_heads": 6,
    "num_hidden_layers": 12,
    "projection_dim": 384,
    "vocab_size": 901629
  },
  "transformers_version": "4.57.1",
  "vision_config": {
    "attention_dropout": 0.0,
    "dtype": "float32",
    "hidden_act": "gelu",
    "hidden_size": 384,
    "image_size": 224,
    "initializer_factor": 1.0,
    "initializer_range": 0.02,
    "intermediate_size": 1536,
    "layer_norm_eps": 1e-05,
    "model_type": "metaclip_2_vision_model",
    "num_attention_heads": 6,
    "num_channels": 3,
    "num_hidden_layers": 12,
    "patch_size": 16,
    "projection_dim": 384
  }
}