Text Generation
KerasNLP
File size: 779 Bytes
7f6f580
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
    "module": "keras_nlp.src.models.gemma.gemma_backbone",
    "class_name": "GemmaBackbone",
    "config": {
        "name": "gemma_backbone",
        "trainable": true,
        "vocabulary_size": 256000,
        "num_layers": 42,
        "num_query_heads": 16,
        "num_key_value_heads": 8,
        "hidden_dim": 3584,
        "intermediate_dim": 28672,
        "head_dim": 256,
        "layer_norm_epsilon": 1e-06,
        "dropout": 0,
        "query_head_dim_normalize": true,
        "use_post_ffw_norm": true,
        "use_post_attention_norm": true,
        "final_logit_soft_cap": 30,
        "attention_logit_soft_cap": 50,
        "sliding_window_size": 4096,
        "use_sliding_window_attention": true
    },
    "registered_name": "keras_nlp>GemmaBackbone"
}