| { |
| "_vocab_size": 257152, |
| "architectures": [ |
| "PaliGemmaForConditionalGeneration" |
| ], |
| "bos_token_id": 2, |
| "dtype": "bfloat16", |
| "eos_token_id": 1, |
| "hidden_size": 2048, |
| "image_token_index": 257152, |
| "model_type": "paligemma", |
| "num_hidden_layers": 26, |
| "pad_token_id": 0, |
| "projection_dim": 2304, |
| "text_config": { |
| "architectures": [ |
| "Gemma2ForCausalLM" |
| ], |
| "attention_bias": false, |
| "attention_dropout": 0.0, |
| "attn_logit_softcapping": 50.0, |
| "bos_token_id": 2, |
| "cache_implementation": "hybrid", |
| "dtype": "bfloat16", |
| "eos_token_id": [ |
| 1, |
| 107 |
| ], |
| "final_logit_softcapping": 30.0, |
| "head_dim": 256, |
| "hidden_act": "gelu_pytorch_tanh", |
| "hidden_activation": "gelu_pytorch_tanh", |
| "hidden_size": 2304, |
| "initializer_range": 0.02, |
| "intermediate_size": 9216, |
| "layer_types": [ |
| "sliding_attention", |
| "full_attention", |
| "sliding_attention", |
| "full_attention", |
| "sliding_attention", |
| "full_attention", |
| "sliding_attention", |
| "full_attention", |
| "sliding_attention", |
| "full_attention", |
| "sliding_attention", |
| "full_attention", |
| "sliding_attention", |
| "full_attention", |
| "sliding_attention", |
| "full_attention", |
| "sliding_attention", |
| "full_attention", |
| "sliding_attention", |
| "full_attention", |
| "sliding_attention", |
| "full_attention", |
| "sliding_attention", |
| "full_attention", |
| "sliding_attention", |
| "full_attention" |
| ], |
| "max_position_embeddings": 8192, |
| "model_type": "gemma2", |
| "num_attention_heads": 8, |
| "num_hidden_layers": 26, |
| "num_image_tokens": 1024, |
| "num_key_value_heads": 4, |
| "pad_token_id": 0, |
| "query_pre_attn_scalar": 256, |
| "rms_norm_eps": 1e-06, |
| "rope_parameters": { |
| "rope_theta": 10000.0, |
| "rope_type": "default" |
| }, |
| "sliding_window": 4096, |
| "tie_word_embeddings": true, |
| "use_bidirectional_attention": true, |
| "use_cache": true, |
| "vocab_size": 257216 |
| }, |
| "tie_word_embeddings": true, |
| "transformers_version": "5.5.0", |
| "vision_config": { |
| "attention_dropout": 0.0, |
| "dtype": "bfloat16", |
| "hidden_act": "gelu_pytorch_tanh", |
| "hidden_size": 1152, |
| "image_size": 448, |
| "intermediate_size": 4304, |
| "layer_norm_eps": 1e-06, |
| "model_type": "siglip_vision_model", |
| "num_attention_heads": 16, |
| "num_channels": 3, |
| "num_hidden_layers": 27, |
| "num_image_tokens": 1024, |
| "num_positions": 256, |
| "patch_size": 14, |
| "projection_dim": 2304, |
| "vision_use_head": false |
| }, |
| "vocab_size": 257152 |
| } |
|
|