pspelsberg commited on
Commit
dc562ae
·
verified ·
1 Parent(s): e733003

Upload config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. config.json +186 -0
config.json ADDED
@@ -0,0 +1,186 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "Gemma4ForConditionalGeneration"
4
+ ],
5
+ "audio_config": {
6
+ "_name_or_path": "",
7
+ "architectures": null,
8
+ "attention_chunk_size": 12,
9
+ "attention_context_left": 13,
10
+ "attention_context_right": 0,
11
+ "attention_invalid_logits_value": -1000000000.0,
12
+ "attention_logit_cap": 50.0,
13
+ "chunk_size_feed_forward": 0,
14
+ "conv_kernel_size": 5,
15
+ "dtype": "bfloat16",
16
+ "gradient_clipping": 10000000000.0,
17
+ "hidden_act": "silu",
18
+ "hidden_size": 1024,
19
+ "id2label": {
20
+ "0": "LABEL_0",
21
+ "1": "LABEL_1"
22
+ },
23
+ "initializer_range": 0.02,
24
+ "is_encoder_decoder": false,
25
+ "label2id": {
26
+ "LABEL_0": 0,
27
+ "LABEL_1": 1
28
+ },
29
+ "model_type": "gemma4_audio",
30
+ "num_attention_heads": 8,
31
+ "num_hidden_layers": 12,
32
+ "output_attentions": false,
33
+ "output_hidden_states": false,
34
+ "output_proj_dims": 1536,
35
+ "problem_type": null,
36
+ "residual_weight": 0.5,
37
+ "return_dict": true,
38
+ "rms_norm_eps": 1e-06,
39
+ "subsampling_conv_channels": [
40
+ 128,
41
+ 32
42
+ ],
43
+ "use_clipped_linears": true
44
+ },
45
+ "audio_token_id": 258881,
46
+ "boa_token_id": 256000,
47
+ "boi_token_id": 255999,
48
+ "dtype": "bfloat16",
49
+ "eoa_token_id": 258883,
50
+ "eoa_token_index": 258883,
51
+ "eoi_token_id": 258882,
52
+ "image_token_id": 258880,
53
+ "initializer_range": 0.02,
54
+ "model_type": "gemma4",
55
+ "text_config": {
56
+ "attention_bias": false,
57
+ "attention_dropout": 0.0,
58
+ "attention_k_eq_v": false,
59
+ "bos_token_id": 2,
60
+ "dtype": "bfloat16",
61
+ "enable_moe_block": false,
62
+ "eos_token_id": 1,
63
+ "expert_intermediate_size": null,
64
+ "final_logit_softcapping": 30.0,
65
+ "global_head_dim": 512,
66
+ "head_dim": 256,
67
+ "hidden_activation": "gelu_pytorch_tanh",
68
+ "hidden_size": 1536,
69
+ "hidden_size_per_layer_input": 256,
70
+ "initializer_range": 0.02,
71
+ "intermediate_size": 6144,
72
+ "layer_types": [
73
+ "sliding_attention",
74
+ "sliding_attention",
75
+ "sliding_attention",
76
+ "sliding_attention",
77
+ "full_attention",
78
+ "sliding_attention",
79
+ "sliding_attention",
80
+ "sliding_attention",
81
+ "sliding_attention",
82
+ "full_attention",
83
+ "sliding_attention",
84
+ "sliding_attention",
85
+ "sliding_attention",
86
+ "sliding_attention",
87
+ "full_attention",
88
+ "sliding_attention",
89
+ "sliding_attention",
90
+ "sliding_attention",
91
+ "sliding_attention",
92
+ "full_attention",
93
+ "sliding_attention",
94
+ "sliding_attention",
95
+ "sliding_attention",
96
+ "sliding_attention",
97
+ "full_attention",
98
+ "sliding_attention",
99
+ "sliding_attention",
100
+ "sliding_attention",
101
+ "sliding_attention",
102
+ "full_attention",
103
+ "sliding_attention",
104
+ "sliding_attention",
105
+ "sliding_attention",
106
+ "sliding_attention",
107
+ "full_attention"
108
+ ],
109
+ "max_position_embeddings": 131072,
110
+ "model_type": "gemma4_text",
111
+ "num_attention_heads": 8,
112
+ "num_experts": null,
113
+ "num_global_key_value_heads": null,
114
+ "num_hidden_layers": 35,
115
+ "num_key_value_heads": 1,
116
+ "num_kv_shared_layers": 20,
117
+ "pad_token_id": 0,
118
+ "rms_norm_eps": 1e-06,
119
+ "rope_parameters": {
120
+ "full_attention": {
121
+ "partial_rotary_factor": 0.25,
122
+ "rope_theta": 1000000.0,
123
+ "rope_type": "proportional"
124
+ },
125
+ "sliding_attention": {
126
+ "rope_theta": 10000.0,
127
+ "rope_type": "default"
128
+ }
129
+ },
130
+ "sliding_window": 512,
131
+ "tie_word_embeddings": true,
132
+ "top_k_experts": null,
133
+ "use_bidirectional_attention": null,
134
+ "use_cache": true,
135
+ "use_double_wide_mlp": true,
136
+ "vocab_size": 262144,
137
+ "vocab_size_per_layer_input": 262144
138
+ },
139
+ "tie_word_embeddings": true,
140
+ "transformers_version": "5.5.0.dev0",
141
+ "video_token_id": 258884,
142
+ "vision_config": {
143
+ "_name_or_path": "",
144
+ "architectures": null,
145
+ "attention_bias": false,
146
+ "attention_dropout": 0.0,
147
+ "chunk_size_feed_forward": 0,
148
+ "default_output_length": 280,
149
+ "dtype": "bfloat16",
150
+ "global_head_dim": 64,
151
+ "head_dim": 64,
152
+ "hidden_activation": "gelu_pytorch_tanh",
153
+ "hidden_size": 768,
154
+ "id2label": {
155
+ "0": "LABEL_0",
156
+ "1": "LABEL_1"
157
+ },
158
+ "initializer_range": 0.02,
159
+ "intermediate_size": 3072,
160
+ "is_encoder_decoder": false,
161
+ "label2id": {
162
+ "LABEL_0": 0,
163
+ "LABEL_1": 1
164
+ },
165
+ "max_position_embeddings": 131072,
166
+ "model_type": "gemma4_vision",
167
+ "num_attention_heads": 12,
168
+ "num_hidden_layers": 16,
169
+ "num_key_value_heads": 12,
170
+ "output_attentions": false,
171
+ "output_hidden_states": false,
172
+ "patch_size": 16,
173
+ "pooling_kernel_size": 3,
174
+ "position_embedding_size": 10240,
175
+ "problem_type": null,
176
+ "return_dict": true,
177
+ "rms_norm_eps": 1e-06,
178
+ "rope_parameters": {
179
+ "rope_theta": 100.0,
180
+ "rope_type": "default"
181
+ },
182
+ "standardize": false,
183
+ "use_clipped_linears": true
184
+ },
185
+ "vision_soft_tokens_per_image": 280
186
+ }