Download model_config.json from BuboAI/gemma-4-e4b-vision-coreml: direct link, hf CLI and curl.
- Browser
- Download file 4.45 kB
-
https://huggingface.co/BuboAI/gemma-4-e4b-vision-coreml/resolve/main/model_config.json
- Command line
-
hf download hf://BuboAI/gemma-4-e4b-vision-coreml/model_config.json
-
curl -L -o model_config.json https://huggingface.co/BuboAI/gemma-4-e4b-vision-coreml/resolve/main/model_config.json
4.45 kB
| { | |
| "format": "bubo_coreml_v1", | |
| "kv_mode": "delta", | |
| "architecture_family": "gemma4", | |
| "source_model": "google/gemma-4-E4B-it", | |
| "model_type": "gemma4_text", | |
| "conversion_profile": "gemma4-e4b-vision-hq", | |
| "execution_mode": "multifunction", | |
| "quantization": "int6", | |
| "quant_method": "palettize", | |
| "lut_mode": "fast_kmeans", | |
| "group_size": 32, | |
| "per_channel_scale": false, | |
| "chunk_quantization": [ | |
| { | |
| "quant": "int6", | |
| "lut_mode": "fast_kmeans", | |
| "quant_method": "palettize", | |
| "group_size": 32, | |
| "per_channel_scale": false | |
| }, | |
| { | |
| "quant": "int6", | |
| "lut_mode": "fast_kmeans", | |
| "quant_method": "palettize", | |
| "group_size": 32, | |
| "per_channel_scale": false | |
| }, | |
| { | |
| "quant": "int6", | |
| "lut_mode": "fast_kmeans", | |
| "quant_method": "palettize", | |
| "group_size": 32, | |
| "per_channel_scale": false | |
| }, | |
| { | |
| "quant": "int6", | |
| "lut_mode": "fast_kmeans", | |
| "quant_method": "palettize", | |
| "group_size": 32, | |
| "per_channel_scale": false | |
| }, | |
| { | |
| "quant": "int6", | |
| "lut_mode": "fast_kmeans", | |
| "quant_method": "palettize", | |
| "group_size": 32, | |
| "per_channel_scale": false | |
| }, | |
| { | |
| "quant": "int6", | |
| "lut_mode": "fast_kmeans", | |
| "quant_method": "palettize", | |
| "group_size": 32, | |
| "per_channel_scale": false | |
| }, | |
| { | |
| "quant": "int6", | |
| "lut_mode": "kmeans", | |
| "quant_method": "palettize", | |
| "group_size": 32, | |
| "per_channel_scale": false | |
| } | |
| ], | |
| "lm_head_quantization": "int6", | |
| "lm_head_slices": 4, | |
| "lm_head_ranges": [ | |
| [ | |
| 0, | |
| 65536 | |
| ], | |
| [ | |
| 65536, | |
| 131072 | |
| ], | |
| [ | |
| 131072, | |
| 196608 | |
| ], | |
| [ | |
| 196608, | |
| 262144 | |
| ] | |
| ], | |
| "context_length": 2048, | |
| "prefill_batch_size": 64, | |
| "decode_batch_size": 1, | |
| "num_chunks": 7, | |
| "chunk_splits": [ | |
| [ | |
| 0, | |
| 6 | |
| ], | |
| [ | |
| 6, | |
| 12 | |
| ], | |
| [ | |
| 12, | |
| 18 | |
| ], | |
| [ | |
| 18, | |
| 24 | |
| ], | |
| [ | |
| 24, | |
| 30 | |
| ], | |
| [ | |
| 30, | |
| 36 | |
| ], | |
| [ | |
| 36, | |
| 42 | |
| ] | |
| ], | |
| "num_hidden_layers": 42, | |
| "hidden_size": 2560, | |
| "intermediate_size": 10240, | |
| "num_attention_heads": 8, | |
| "num_key_value_heads": 2, | |
| "head_dim": 256, | |
| "vocab_size": 262144, | |
| "rms_norm_eps": 1e-06, | |
| "rope_theta": 1000000.0, | |
| "bos_token_id": 2, | |
| "eos_token_ids": [ | |
| 1, | |
| 106, | |
| 50 | |
| ], | |
| "stateless": true, | |
| "global_head_dim": 512, | |
| "num_global_key_value_heads": 2, | |
| "rope_theta_local": 10000.0, | |
| "global_partial_rotary_factor": 0.25, | |
| "sliding_window": 512, | |
| "num_kv_shared_layers": 18, | |
| "ple_dim": 256, | |
| "vocab_size_ple": 262144, | |
| "kv_donor_sliding_chunk": 3, | |
| "kv_donor_sliding_local": 4, | |
| "kv_donor_full_chunk": 3, | |
| "kv_donor_full_local": 0, | |
| "chunk_meta": [ | |
| { | |
| "start": 0, | |
| "end": 6, | |
| "kv_shared": false, | |
| "sliding_indices": [ | |
| 0, | |
| 1, | |
| 2, | |
| 3, | |
| 4 | |
| ], | |
| "full_indices": [ | |
| 5 | |
| ] | |
| }, | |
| { | |
| "start": 6, | |
| "end": 12, | |
| "kv_shared": false, | |
| "sliding_indices": [ | |
| 6, | |
| 7, | |
| 8, | |
| 9, | |
| 10 | |
| ], | |
| "full_indices": [ | |
| 11 | |
| ] | |
| }, | |
| { | |
| "start": 12, | |
| "end": 18, | |
| "kv_shared": false, | |
| "sliding_indices": [ | |
| 12, | |
| 13, | |
| 14, | |
| 15, | |
| 16 | |
| ], | |
| "full_indices": [ | |
| 17 | |
| ] | |
| }, | |
| { | |
| "start": 18, | |
| "end": 24, | |
| "kv_shared": false, | |
| "sliding_indices": [ | |
| 18, | |
| 19, | |
| 20, | |
| 21, | |
| 22 | |
| ], | |
| "full_indices": [ | |
| 23 | |
| ] | |
| }, | |
| { | |
| "start": 24, | |
| "end": 30, | |
| "kv_shared": true, | |
| "sliding_indices": [ | |
| 24, | |
| 25, | |
| 26, | |
| 27, | |
| 28 | |
| ], | |
| "full_indices": [ | |
| 29 | |
| ] | |
| }, | |
| { | |
| "start": 30, | |
| "end": 36, | |
| "kv_shared": true, | |
| "sliding_indices": [ | |
| 30, | |
| 31, | |
| 32, | |
| 33, | |
| 34 | |
| ], | |
| "full_indices": [ | |
| 35 | |
| ] | |
| }, | |
| { | |
| "start": 36, | |
| "end": 42, | |
| "kv_shared": true, | |
| "sliding_indices": [ | |
| 36, | |
| 37, | |
| 38, | |
| 39, | |
| 40 | |
| ], | |
| "full_indices": [ | |
| 41 | |
| ] | |
| } | |
| ], | |
| "vision_enabled": true, | |
| "vision_image_size": 480, | |
| "vision_soft_tokens": 100, | |
| "boi_token_id": 255999, | |
| "image_token_id": 258880, | |
| "eoi_token_id": 258882 | |
| } | |