File size: 1,222 Bytes
90fa2d9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
    "module": "keras_hub.src.models.gemma3.gemma3_backbone",
    "class_name": "Gemma3Backbone",
    "config": {
        "name": "gemma3_backbone",
        "trainable": true,
        "dtype": {
            "module": "keras",
            "class_name": "DTypePolicy",
            "config": {
                "name": "float32"
            },
            "registered_name": null
        },
        "vocabulary_size": 262144,
        "image_size": null,
        "num_layers": 18,
        "num_query_heads": 4,
        "num_key_value_heads": 1,
        "hidden_dim": 640,
        "intermediate_dim": 2048,
        "head_dim": 256,
        "query_head_dim_normalize": true,
        "use_query_key_norm": true,
        "use_post_ffw_norm": true,
        "use_post_attention_norm": true,
        "attention_logit_soft_cap": null,
        "final_logit_soft_cap": null,
        "use_sliding_window_attention": true,
        "sliding_window_size": 512,
        "local_rope_scaling_factor": 1.0,
        "global_rope_scaling_factor": 1.0,
        "vision_encoder": null,
        "use_bidirectional_attention": false,
        "layer_norm_epsilon": 1e-06,
        "dropout": 0
    },
    "registered_name": "keras_hub>Gemma3Backbone"
}