| { | |
| "architectures": [ | |
| "Gemma3ForConditionalGeneration" | |
| ], | |
| "boi_token_index": 255999, | |
| "dtype": "bfloat16", | |
| "eoi_token_index": 256000, | |
| "eos_token_id": [ | |
| 1, | |
| 106 | |
| ], | |
| "image_token_index": 262144, | |
| "initializer_range": 0.02, | |
| "mm_tokens_per_image": 256, | |
| "model_type": "gemma3", | |
| "quantization_config": { | |
| "include_input_output_embeddings": false, | |
| "modules_to_not_convert": null, | |
| "quant_method": "torchao", | |
| "quant_type": { | |
| "default": { | |
| "_data": { | |
| "activation_dtype": { | |
| "_data": "float8_e4m3fn", | |
| "_type": "torch.dtype" | |
| }, | |
| "activation_value_lb": null, | |
| "activation_value_ub": null, | |
| "granularity": [ | |
| { | |
| "_data": {}, | |
| "_type": "PerRow", | |
| "_version": 1 | |
| }, | |
| { | |
| "_data": {}, | |
| "_type": "PerRow", | |
| "_version": 1 | |
| } | |
| ], | |
| "kernel_preference": { | |
| "_data": "AUTO", | |
| "_type": "KernelPreference" | |
| }, | |
| "mm_config": { | |
| "_data": { | |
| "emulate": false, | |
| "pad_inner_dim": false, | |
| "use_fast_accum": true | |
| }, | |
| "_type": "Float8MMConfig", | |
| "_version": 1 | |
| }, | |
| "set_inductor_config": true, | |
| "weight_dtype": { | |
| "_data": "float8_e4m3fn", | |
| "_type": "torch.dtype" | |
| } | |
| }, | |
| "_type": "Float8DynamicActivationFloat8WeightConfig", | |
| "_version": 2 | |
| } | |
| }, | |
| "quant_type_kwargs": {}, | |
| "untie_embedding_weights": false | |
| }, | |
| "text_config": { | |
| "_sliding_window_pattern": 6, | |
| "attention_bias": false, | |
| "attention_dropout": 0.0, | |
| "attn_logit_softcapping": null, | |
| "dtype": "bfloat16", | |
| "final_logit_softcapping": null, | |
| "head_dim": 128, | |
| "hidden_activation": "gelu_pytorch_tanh", | |
| "hidden_size": 5376, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 21504, | |
| "layer_types": [ | |
| "sliding_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "full_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "full_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "full_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "full_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "full_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "full_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "full_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "full_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "full_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "full_attention", | |
| "sliding_attention", | |
| "sliding_attention" | |
| ], | |
| "max_position_embeddings": 131072, | |
| "model_type": "gemma3_text", | |
| "num_attention_heads": 32, | |
| "num_hidden_layers": 62, | |
| "num_key_value_heads": 16, | |
| "query_pre_attn_scalar": 168, | |
| "rms_norm_eps": 1e-06, | |
| "rope_local_base_freq": 10000.0, | |
| "rope_scaling": { | |
| "factor": 8.0, | |
| "rope_type": "linear" | |
| }, | |
| "rope_theta": 1000000.0, | |
| "sliding_window": 1024, | |
| "use_cache": true, | |
| "vocab_size": 262208 | |
| }, | |
| "transformers_version": "4.56.1", | |
| "vision_config": { | |
| "attention_dropout": 0.0, | |
| "dtype": "bfloat16", | |
| "hidden_act": "gelu_pytorch_tanh", | |
| "hidden_size": 1152, | |
| "image_size": 896, | |
| "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": 14, | |
| "vision_use_head": false | |
| } | |
| } | |