File size: 2,328 Bytes
c0b1001
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
{
 "architectures": [
  "Granite4VisionForConditionalGeneration"
 ],
 "auto_map": {
  "AutoConfig": "configuration.Granite4VisionConfig",
  "AutoModel": "modeling.Granite4VisionForConditionalGeneration",
  "AutoModelForVision2Seq": "modeling.Granite4VisionForConditionalGeneration",
  "AutoModelForImageTextToText": "modeling.Granite4VisionForConditionalGeneration",
  "AutoProcessor": "processing.Granite4VisionProcessor"
 },
 "spatial_target_layers": [
  12,
  15,
  18,
  21
 ],
 "spatial_stride": 2,
 "spatial_vision_layer": -1,
 "downsample_rate": "4/8",
 "dtype": "bfloat16",
 "image_grid_pinpoints": [
  [
   1536,
   1152
  ],
  [
   2304,
   1536
  ],
  [
   3072,
   2304
  ],
  [
   1152,
   1152
  ]
 ],
 "image_seq_length": 576,
 "image_token_index": 100352,
 "initializer_range": 0.02,
 "model_type": "granite4_vision",
 "projector_dropout": 0.1,
 "projector_hidden_act": "gelu",
 "text_config": {
  "architectures": [
   "GraniteForCausalLM"
  ],
  "attention_bias": false,
  "attention_dropout": 0.0,
  "attention_multiplier": 0.015625,
  "bos_token_id": 100257,
  "embedding_multiplier": 12.0,
  "eos_token_id": 100257,
  "hidden_act": "silu",
  "hidden_size": 2560,
  "initializer_range": 0.1,
  "intermediate_size": 8192,
  "logits_scaling": 10.0,
  "max_position_embeddings": 131072,
  "mlp_bias": false,
  "model_type": "granite",
  "num_attention_heads": 40,
  "num_hidden_layers": 40,
  "num_key_value_heads": 8,
  "pad_token_id": 100256,
  "residual_multiplier": 0.22,
  "rms_norm_eps": 1e-05,
  "rope_scaling": null,
  "rope_theta": 10000000,
  "tie_word_embeddings": true,
  "torch_dtype": "bfloat16",
  "transformers_version": "4.53.3",
  "use_cache": true,
  "vocab_size": 100353
 },
 "tie_word_embeddings": true,
 "transformers_version": "4.57.3",
 "use_spatial_sampling": true,
 "use_image_newline_parameter": true,
 "vision_config": {
  "attention_dropout": 0.0,
  "hidden_act": "gelu_pytorch_tanh",
  "hidden_size": 1152,
  "image_size": 384,
  "intermediate_size": 4304,
  "layer_norm_eps": 1e-06,
  "model_type": "siglip_vision_model",
  "num_attention_heads": 16,
  "num_channels": 3,
  "num_hidden_layers": 27,
  "patch_size": 16
 },
 "vision_feature_select_strategy": "full",
 "deepstack_layer_map": [
  [
   -19,
   9
  ],
  [
   -13,
   6
  ],
  [
   -7,
   3
  ],
  [
   -1,
   0
  ]
 ]
}