AlexKoff88 commited on
Commit
dba253f
·
verified ·
1 Parent(s): de40893

Upload config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. config.json +56 -0
config.json ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "Gemma4ForCausalLM"
4
+ ],
5
+ "attention_bias": false,
6
+ "attention_dropout": 0.0,
7
+ "attention_k_eq_v": false,
8
+ "bos_token_id": 2,
9
+ "dtype": "bfloat16",
10
+ "enable_moe_block": false,
11
+ "eos_token_id": 1,
12
+ "final_logit_softcapping": null,
13
+ "global_head_dim": 96,
14
+ "head_dim": 48,
15
+ "hidden_activation": "gelu_pytorch_tanh",
16
+ "hidden_size": 384,
17
+ "hidden_size_per_layer_input": 64,
18
+ "initializer_range": 0.02,
19
+ "intermediate_size": 1024,
20
+ "layer_types": [
21
+ "sliding_attention",
22
+ "sliding_attention",
23
+ "full_attention"
24
+ ],
25
+ "max_position_embeddings": 2048,
26
+ "model_type": "gemma4_text",
27
+ "moe_intermediate_size": null,
28
+ "num_attention_heads": 8,
29
+ "num_experts": null,
30
+ "num_global_key_value_heads": null,
31
+ "num_hidden_layers": 3,
32
+ "num_key_value_heads": 4,
33
+ "num_kv_shared_layers": 0,
34
+ "pad_token_id": 0,
35
+ "rms_norm_eps": 1e-06,
36
+ "rope_parameters": {
37
+ "full_attention": {
38
+ "partial_rotary_factor": 0.25,
39
+ "rope_theta": 1000000.0,
40
+ "rope_type": "proportional"
41
+ },
42
+ "sliding_attention": {
43
+ "rope_theta": 10000.0,
44
+ "rope_type": "default"
45
+ }
46
+ },
47
+ "sliding_window": 512,
48
+ "tie_word_embeddings": true,
49
+ "top_k_experts": null,
50
+ "transformers_version": "5.5.0",
51
+ "use_bidirectional_attention": null,
52
+ "use_cache": true,
53
+ "use_double_wide_mlp": false,
54
+ "vocab_size": 50257,
55
+ "vocab_size_per_layer_input": 50257
56
+ }